OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: fatal: no login name found for user ID

From: Wietse Venema (wietseporcupine.org)
Date: Tue Jul 01 2008 - 09:41:13 CDT


oxy:
> hi!
>
> i have the following problem:
> my apache vhost users are virtual and only got UID (10000...10500)
> when a vhost tries to send a mail via php mail() postfix says:
> fatal: no login name found for user ID
> is there any solution?

Specify the sender address on the command line with:

/usr/sbin/sendmail -f userexample.com recipient...

        Wietse

> it's ok for me to disable that check in postfix
> and every non existent user could send message from localhost..
> or should is rewrite the sender (i prefer the first one, if it's possible)
> if the rewrite is the only solution how can i do that?
>
> thanks for your help, all!
> Csaba Banhalmi
>
>