On Mon, 27 Jul 2009 23:44:15 +0200, Stefan Förster <cite+amavis-us...@incertum.net> wrote: > * Jeff Grossman <j...@stikman.com> wrote: >> I am running Postfix 2.6.2 and Amavis 2.6.4 together. Everything is >> running smoothly except for one problem. When a user connects remotely >> and >> sends a message, I get the following line in my amavis-logwatch output: >> >> 1 *Warning: Security risk >> ----------------------------------------------------------------- >> 1 Open relay? Nonlocal recips but not originating: recip1 > > The mail passed to amavisd-new doesn't have it's "originating" flag > set to true. This happens e.g. if you don't separate mail submission > (users sending mail through your server) and the receiving of mail > (read: MX functionality). > > Define a second port in amavisd-new and tie it to a policy bank which > sets the "originating" flag. Have your users submit mail to ports 587 > or 465, and in Postfix's master.cf, have those two services use the > newly defined port to inject mail to amavisd-new. > > > Ciao > Stefan
Thanks. My external users submit all mail via port 587. I will need to figure out how to do the policy bank as you describe. I guess that is my project for this evening. Thanks again for the help with this. Jeff ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/