On 16/04/12 23:14, Wietse Venema wrote:
>> 12.34.56.78:smtp inet n - - - - smtpd
>>  -o myhostname=domain1.com
> 
> This change all SMTP server responses that depend on the
> myhostname settings.
> 
>> Any thoughts or suggestions on how to improve this strategy?
> 
> Use separate MTA instances.

FWIW Courier just introduced a solution to provide vhosts without
requiring such a heavy weight implementation. Simply adding these
3 config files provides the virtual hostname, outgoing interface
and SSL certificate for a full virtual mailserver domain that
shows nothing about the primary server in the recipients headers.

eth0   = 12.34.56.1  = primarydomain.com
eth0:0 = 12.34.56.78 = mydomain.com

me.12.34.56.78 = "mydomain.com"
ipout.12.34.56.78 = "12.34.56.78"
esmtpd.pem.12.34.56.78 = key + crt + ca for mydomain.com

https://gist.github.com/2470290

Reply via email to