Thomas wrote:

> Hi,

> I'm running postfix with amavis as a relay for our 
> exchange server. I setup the MYNETS policy bank to
> skip spam checks for mail from internal to external.
> For mail which originates from exchange to external
> recipients this is working perfectly. However, mail 
> which is beeing generated local is not recognised 
> as local mail and is still fully checked (i.e. just 
> doing a 'mail -s Test root < /dev/null).

> In amavisd.conf mynetworks is configured as followed:

> @mynetworks = qw( 127.0.0.0/8 ::1 192.168.x.x/24 + some 
>         other local networks );

> I don't understand, why mail from localhost is not 
> recognised as local by amavis.
> Any hints?

> Greetings,
> Tom

Locally generated mail uses the 'pickup' mechanism to send mail as
opposed to smtp (so '-o smtp_send_xforward_command' is not used here).
One thing you can do is bypass amavisd-new for locally generated mail
by using an override in the 'pickup' mechanism:

pickup    fifo  n       -       -       60      1       pickup
        -o content_filter=

Gary V



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
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/

Reply via email to