Hi ppl,

I have DKIM up and running with amavisd and spamassassin. Validation
works fine for my own domain (e.g. mydomain.com) and other domains
like gmail.com. In order to minimize the "UNSOLICITED BULK EMAIL,
apparently from you" messages, I would like to reject message that are
sent with a from address of mydomain.com with no or no valid DKIM
result.

I followed the documentation and added to local.cf:

header   __AUTH_MYDOMAINCOM   From:addr =~ m...@mydomain\.com$}mi
describe __AUTH_MYDOMAINCOM   Author claims to be from mydomain.com

meta      NOTVALID_MYDOMAINCOM (!DKIM_VERIFIED || !DKIM_SIGNED) &&
__AUTH_MYDOMAINCOM
priority   NOTVALID_MYDOMAINCOM 500
describe NOTVALID_MYDOMAINCOM Claims to be from mydomain.com but is not

score    NOTVALID_MYDOMAINCOM    6.0

Is this the way to go? A problem I foresee is that emails sent from
[email protected] to [email protected] doesn't get DKIM signed. So
in the above method, these emails will be marked as spam. Which I
obviously don't want.

Regards,
Alrik

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