On 12/10/2009 10:51 PM, Sebastien Roy wrote:
> Hi folks,
>
> We are having an email server here running postfix/dovecot using mysql
> as a backend (virtual user of course).   The problem, or the question
> we have is, how I can change the @something by default.
>
> For example, if a batch job running on the server using userid
> "daemon" send an email, it send as dae...@servername.domainname , but
> I would like to have dae...@domainname

myorigin = domainname
or
myorigin = $mydomain

Reference for more reading: http://www.postfix.org/postconf.5.html#myorigin

Reply via email to