* 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
-- 
Stefan Förster     http://www.incertum.net/     Public Key: 0xBBE2A9E9
Wer leben will, muss wissen, dass er sterben kann.

------------------------------------------------------------------------------
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/ 

Reply via email to