At 12:05 PM 11/2/2005, Adi Linden wrote:
Can I run multiple amavisd configurations on the same
host? I am running
two postfix instance on two different ports. Right
now both submit to the
same amavisd which means all messages originate from
the postfix instance
that amivsd submits to.
Can I simply make a copy of my original amavisd
config and run a second
amavisd instance with just the ports changed?
While it's certainly possible to run two instances of
amavisd-new, if the only purpose is to serve two
postfix instances one instance of amavisd-new can
handle that already. The settings of $forward_method
and $notify_method can be adjusted to tell amavisd-new
to keep track of where the mail came from, and send it
back to the originating IP, at the [incoming port
number plus one]. You may also need to adjust
$inet_socket_port and $inet_socket_bind to listen on
multiple IPs and/or ports.
When all this is on one server you might use:
$inet_socket_port = [10024, 10026];
$forward_method = 'smtp:*:*';
$notify_method = $forward_method;
Then postfix-1 would send to 10024 and receive on
10025 (the default), postfix-2 would send to 10026 and
receive on 10027.
See the comments included in amavisd-conf.sample for
details.
--
Noel Jones
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/