I guess you could, by changing/setting #$inet_socket_port = 10024; to port 25 in the amavis.conf and the forward target #$forward_method = 'smtp:[127.0.0.1]:10025'; # where to forward checked mail to whereever your target SMTP server runs
BUT BE WARNED !!!! I WOULD NOT EXPECT AMAVIS TO BE AS ROBUST AS A SMTP SERVER AND WOULD THEREFORE NOT EXPOSE IT ON PORT 25 ON THE PUBLIC INTERNET.... AND YOU RUN THE RISK OF TURNING YOUR SMTP SERVER INTO AN OPEN-RELAY. To keep resource consumption down it does also make sense to have an STMP server check some basic conditions before Amavis check an email. I guess that's why most people use the SMTP --> AMAVIS --> SMTP approach. HTH Jochen On So, 25.09.2005, 03:10, Bartosz Wegrzyn - asterisk sagte: > Hello, > > Is it possible to set amavisd in that way that it listens on port 25, > filters traffic, and later forwards it back to original smtp server. > > Thank You > > > > ------------------------------------------------------- > 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/ > ------------------------------------------------------- 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/
