Andres wrote:

> I did what you told me, and it seems that the emails are ok now, how
> can I confirm this is not temporary working well?
> This is a header from an email now:

> X-Virus-Scanned: Debian amavisd-new at domain.com.ar
> X-Spam-Status: No, score=3.157 tagged_above=2 required=6.31 tests=[AWL=-0.946,
>         BAYES_00=-2.599, HTML_IMAGE_ONLY_24=1.841, HTML_MESSAGE=0.001,
>         HTML_TITLE_EMPTY=0.214, RCVD_IN_DSBL=2.6, RCVD_IN_SORBS_DUL=2.046]
> X-Spam-Score: 3.157
> X-Spam-Level: ***

> Thanks!

Well, this shows that this message was scanned and some rules hit. The
question is, is this sent from a SASL AUTH user? If mail is sent from
a SASL AUTH user, and you have the rule in local.cf:

header __NO_SMTP_AUTH X-SMTP-Auth =~ /^no$/
meta SMTP_AUTH !__NO_SMTP_AUTH
describe SMTP_AUTH Message sent using SMTP Authentication
tflags SMTP_AUTH nice
score SMTP_AUTH -15

Then it should have lowered the score by 15 more points.

Also, if this mail is from a client using SASL AUTH, there should be no
"X-SMTP-Auth: no" header. Is this a SASL client and does the headers
exist?

If this IS from a SASL AUTH user, I would say this is not working, and
honestly at this point I'm not sure how the "X-SMTP-Auth: no" header
could be written when the client is using SASL AUTH. Not when we told
it to bypass adding the header when the client is a SASL client:

smtpd_data_restrictions =
    reject_unauth_pipelining,
    permit_sasl_authenticated,
    check_client_access pcre:/etc/postfix/add_auth_header.pcre

I noticed you have no content_filter in main.cf Let me see your
master.cf. If this is not working maybe it's related to how
amavis is called.
    
Gary V


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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