Mark Martinec wrote:
I have just setup a multi-instance postfix setup.
Submission only (outgoing)
Incoming mail
I want all email to be run through amavis and returned to the postfix
instance that sent it there.
I added a second port to amavisd.conf
$inet_socket_port = [10024,10026];
This works fine, I verified it's listening on both ports.
What do I need to do to get the return path set correctly for each
instance? The ports specified in master.cf is 10025 and 10027 in each
respective master.cf.
amavisd.conf-sample:
# To make it possible for several hosts to share one content checking daemon,
# the IP address and/or the port number in $forward_method and $notify_method
# may be spacified as an asterisk. An asterisk in the colon-separated
# second field (host) will be replaced by the SMTP client peer address,
# An asterisk in the third field (tcp port) will be replaced by the incoming
# SMTP/LMTP session port number plus one. This obsoletes the previously used
# less flexible configuration parameter $relayhost_is_client. An example:
# $forward_method = 'smtp:*:*'; $notify_method = 'smtp:*:10587';
So you probably want:
$forward_method = 'smtp:*:*';
$notify_method = $forward_method;
This worked for me. I just had to experiment until I found this
section. Thanks
john
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/