Gary V a écrit : > Adam wrote: > > >> Hello, >> > > >> I'm looking for the right way to enable amavis content filtering to >> local mails. >> In fact, I get some mails on remote pop accounts through fetchmail, and >> with my current setup, they are not filtered. >> > > >> Here is some informations : >> > > >> While looking at my postfix log [1], I saw : >> "May 4 16:32:38 rexxar amavis[9824]: (09824-03) Passed CLEAN, LOCAL" >> It shows the mail has been scanned by amavis, however the tag "LOCAL" >> looks supicious to me... >> > > >> There's no X-Spam-Status tag in the delivered mail [2] (tagging is >> enabled for all mail with scores above -999). >> > > >> Thanks in advance! >> > > >> Best regards, Adam. >> > > > >> May 4 16:32:38 rexxar amavis[9824]: (09824-03) Passed CLEAN, LOCAL >> [127.0.0.1] [81.56.128.63] <[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]>, >> Message-ID: <[EMAIL PROTECTED]>, mail_id: BvwtCB7CTKwM, Hits: >> -1.242, queued_as: D8E6743F2B9, 4171 ms >> > > It got scanned but it scored low. Make sure 'localhost' is included in > @local_domain_maps (or @local_domains_acl or whatever) so the X-Spam > headers are written. I think we need to see what rules hit. > > It appears you have configured fetchmail to send mail to 127.0.0.1, you > might try sending it to the real IP address of the interface Postfix > listens on instead. I have no idea if that will make a difference (but > maybe it will no longer say 'LOCAL'. > > Gary V > Hey,
I added localhost to @local_domains_acl and it works like a charm now. Thanks a lot, I really missed this point ;) Regards, Adam. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ 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/
