From: Wietse Venema (no email)
Date: Tue Jul 01 2008 - 11:27:40 EDT
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
|
|
|