Jordi Moles wrote: > hi, > > i've got 2 debian servers, one with postfix and the other one with > amavisd-new running. > > I've read a lot of examples about how to set up amavisd-new to filter > emails that come from postfix. > > The thing is that in amavisd.conf i have to put something like this: > > $forward_method = 'smtp:[*]:10025'; > > i mean... > if i write: > > $forward_method = 'smtp:[192.168.1.10]:10025'; > > where 192.168.1.10 is the postfix's ip address... it works fine. > But the idea is to have an amavis server that filters from many > different servers. > > How can i tell amavis to send the filtered mail to the ip address it > came from? >
look at the amavisd.conf-sample: $forward_method = 'smtp:*:*'; should do if all postfixers listen on $port+1 (in your case, $port=10024 and $port+1=10025). ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ 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/
