==================================================================
Please DO NOT REPLY to this mail or send email to the developers
about this bug. Please follow-up to Bugzilla using this
link:http://bugs.contribs.org/show_bug.cgi?id=8321
Have you checked the Frequently Asked Questions (FAQ)?
http://wiki.contribs.org/SME_Server:Documentation:FAQ
Please also take the time to read the following useful guide:
http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
==================================================================
--- Comment #17 from John Crisp <[email protected]> ---
(In reply to Charlie Brady from comment #16)
> (In reply to John Crisp from comment #4)
> Can you clearly specify exactly what you expect to happen, so that I can go
> through the code and see if what you expect to happen matches what I see in
> the documentation and the code. Probably better still if you can point to
> documentation which supports what you think should happen.
Sorry for my non clarity :-)
Expectation : any items listed in whitelisthosts, whitelisthelo or whitelist
senders to be delivered and not blocked by dnsbl etc.
This post refers :
http://www.nntp.perl.org/group/perl.qpsmtpd/2007/05/msg6624.html
When mail is checked by the whitelist_soft plugin it should return 'OK' for any
matches that it finds.
Testing :
--------------------------------------
Add IP addresses of senders SMTP IP address to whitelistshosts (I think they
have 4 from what I can tell). I did this with the WBL contrib but could easily
have been done by hand.
Send email from known dnsbl blocked address
Result (see log qpsmtpd-IPAddresses-17156.txt)
IP is recognised and given OK by plugin:
"whitelist_soft plugin (connect): host 213.171.216.28 is a whitelisted host
Plugin whitelist_soft, hook connect returned OK,"
Mail is delivered.
In the log you can see :
@40000000534c3fc920db5aa4 17156 in config(dnsbl_zones)
@40000000534c3fc920db5e8c 17156 config(dnsbl_zones): hook returned (0, )
@40000000534c3fc920db5e8c 17156 trying to get config for dnsbl_zones
Remove IP addresses.
--------------------------------------
Add in domain names for the above IPs :
exch-2010-smtp-out-01.livemail.co.uk
exch-2010-smtp-out-02.livemail.co.uk
exch-2010-smtp-out-03.livemail.co.uk
exch-2010-smtp-out-04.livemail.co.uk
Send email from known dnsbl blocked address
Result (see log qpsmtpd-HELO-17283.txt)
HELO is recognised and given OK from plugin :
"whitelist_soft plugin (ehlo): helo host exch-2010-smtp-out-03.livemail.co.uk
in whitelisthelo
Plugin whitelist_soft, hook ehlo returned OK,"
But at the same point in log as above it then seems to run dnsbl :
@40000000534c402e07a60bc4 17283 in config(dnsbl_zones)
@40000000534c402e07a60fac 17283 config(dnsbl_zones) returning (bl.spamcop.net
dnsbl.ahbl.org dnsbl-1.uceprotect.net dnsbl-2.uceprotect.net psbl.surriel.com
zen.spamhaus.org) from cache
@40000000534c402e07a61394 17283 dnsbl plugin (rcpt): waiting for dnsbl dns
@40000000534c402e07a61f4c 17283 dnsbl plugin (rcpt): DONE waiting for dnsbl
dns, got 4 answers ...
dnsbl gets DENYHARD
Mail is bounced.
Remove domain names.
--------------------------------------
Add entry to whitelist_senders :
davidbibby.net (also works with [email protected] format)
Send email from known dnsbl blocked address
Result (see log qpsmtpd-Senders-17513.txt)
Sender is recognised and given OK from plugin :
"whitelist_soft plugin (mail): envelope sender [email protected] in
whitelistsenders
Plugin whitelist_soft, hook mail returned OK,"
At the same point in log as above it then seems to run dnsbl again
Mail is bounced
--------------------------------------
It appears that if the host is found in the IP address list, the dnsbl check is
either bypassed or ignored, which is what I would expect to see.
If it appears in HELO or Senders the plugin returns OK, but the dnsbl check
runs and blocks the mail.
I *hope* that clarifies it :-)
Ask if you want more details etc. Logs to follow as attachments.
Sorry about the awful email address - my friend has a dark sense of humour but
was kind enough to loan me an account at Fasthosts.
--
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at http://lists.contribs.org/mailman/public/contribteam/