From: oxy (no email)
Date: Tue Jul 01 2008 - 11:50:54 EDT
thank you, it seems like a good idea :)
can you tell me what parameters should i add to sendmail?
"/usr/sbin/sendmail -f "
was not enough
Wietse Venema írta:
> 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?
>>
>
> Wietse:
>
>> Specify the sender address on the command line with:
>> /usr/sbin/sendmail -f recipient...
>>
>
> oxy:
>
>> i think it's not possible..
>> the mails are going out from ~500 vhosts with different UID-s with php
>> mail(),
>> different CMS systems..
>> how can i use this command to override _every_ ?
>> (sorry if i misunderstand you)
>>
>
> Wietse:
>
>> To send email you MUST provide a valid sender email address.
>>
>
> oxy:
>
>> so is there any way to rewrite every ~500 uid-s to for example
>> ?
>>
>
> To specify the "/usr/sbin/sendmail -f ...",
> use php.ini, or use ini_set(parametername, parametervalue).
>
> Wietse
>
|
|
|