On 09/15/2011 10:57 AM, Martin Waschbüsch IT-Dienstleistungen wrote:
Hi Eric,
---------------------------------------------------------------------------------
That sounds familiar to me too, but I don't recall what was going on. Something
TLS related perhaps.
I'd use spamdyke's detailed logging to see what's happening.
--
-Eric 'shubes'
Thanks for the quick reply, I think I isolated the issue (and to me, it looks
like a bug!)
I got to testing this thoroughly when I noticed that all amazon.de
notifications were dropped for some time now.
What I found is this:
Disabling spf-checking by setting /var/qmail/control/spfbehaviour to 0
all emails pass. When left on the default (3) I have the problem.
Now, amazon plays by the rules:
checking amazon.de (! important that this is the German one!) for SPF records
yields:
v=spf1 include:amazon.com ~all
spf2.0/pra include:amazon.com ~all
And this is where I think the problem lies.
The system is able to interpret the SPF policy, but does not seem to look up
the 'include' part...
For in amazon.com records, I found
The TXT records found for your domain are:
v=spf1 ip4:207.171.160.0/19 ip4:87.238.80.0/21 ip4:72.21.192.0/19
ip4:194.154.193.192/27 ip4:194.7.41.152/28 ip4:212.123.28.40/32
ip4:203.81.17.0/24 ip4:72.21.212.0/25 ip4:199.255.192.0/22 ~all
spf2.0/pra ip4:207.171.160.0/19 ip4:87.238.80.0/21 ip4:72.21.192.0/19
ip4:194.154.193.192/27 ip4:194.7.41.152/28 ip4:212.123.28.40/32
ip4:203.81.17.0/24 ip4:72.21.212.0/25 ip4:199.255.192.0/22 ~all
and the matching IP address is part of the ones listed above.
So, where would I look for the SPF-related code in qmail?
Or should I disable it and enable in spamassassin instead? (which could be an
interim work-around, I guess)..
What do you think?
Martin
---------------------------------------------------------------------------------
Nice going. I had a problem with SPF some time ago, and backed it off to
"1" at the time. Since then I'm back to "3" with no apparent problem
(meaning no one's complaining). I never dug into what the problem was.
SPF processing in QMT (qmail-toaster package) is handled by a patch:
Chris christo...@saout.de - qmail-spf.rc5
http://www.saout.de/misc/spf/
If you can track down the bug, that'd be great.
In the meantime, backing off spfbehavior should remedy your situation.
While I like the idea of SPF in theory, I'm not sure how often it
actually blocks anything, given the effetiveness of spamdyke. Of course,
at some point in time, spammers will likely figure out how to get
through spamdyke's filters, at which point SPF may become more relevant.
--
-Eric 'shubes'
---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com