This is a discussion on Re: [AMaViS-user] Separated working within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; T=F3th wrote: > Hy All, > I have worked with amavis and and postfix on the same computer working &...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
T=F3th 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=F3 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 =3D 'smtp:192.168.1.31:10025'; # where we send mail after # processing (the Postfix box) $notify_method =3D $forward_method; # notifications go to the same place $inet_socket_bind =3D '192.168.1.222'; # we listen on this ethernet interf= ace @inet_acl =3D 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=3D -o smtpd_recipient_restrictions=3Dpermit_mynetworks,r eject -o mynetworks=3D127.0.0.0/8 <other stuff> it would be more like this: 192.168.1.31:10025 inet n - n - - smt= pd -o content_filter=3D -o smtpd_recipient_restrictions=3Dpermit_mynetworks,r eject -o mynetworks=3D127.0.0.0/8,192.168.1.222 <other stuff> and instead of: content_filter=3Dsmtp-amavis:[127.0.0.1]:10024 it would be: content_filter=3Dsmtp-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 AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/...fo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/ |