Tóth wrote:
> Hy All,
> I have worked with amavis and and postfix on the same computer working
> fine! But now I want to get them work on two different machines. I
> made the changes that should work - I think - but not enough. I have
> not found any tutor in connection with this. Could You describe me
> changes that need to be done?
> Thanks
> Szaniszló Tibor
This is rather basic, and may be incomplete, but it should give you
an idea where to start.
example amavisd-new box on 192.168.1.222
example postfix box on 192.168.1.31
This is in amavisd.conf on the amavisd-new machine at 192.168.1.222:
$forward_method = 'smtp:192.168.1.31:10025'; # where we send mail after
# processing (the Postfix box)
$notify_method = $forward_method; # notifications go to the same place
$inet_socket_bind = '192.168.1.222'; # we listen on this ethernet interface
@inet_acl = qw( 192.168.1.31 ); # we only allow this IP address to connect
This is on the Postfix machine at 192.168.1.31:
instead of this in master.cf:
127.0.0.1:10025 inet n - n - - smtpd
-o content_filter=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o mynetworks=127.0.0.0/8
<other stuff>
it would be more like this:
192.168.1.31:10025 inet n - n - - smtpd
-o content_filter=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o mynetworks=127.0.0.0/8,192.168.1.222
<other stuff>
and instead of:
content_filter=smtp-amavis:[127.0.0.1]:10024
it would be:
content_filter=smtp-amavis:[192.168.1.222]:10024 # where we send mail for
# processing
Then make sure there is not a firewall of some type blocking
communication between the two machines.
There will be additional settings if any policy banks have been configured.
Gary V
_______________________________________________
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/