Hi,
I'm an Austrian Linux user living and working in South France.
I've just setup a basic - and working - mail server on Debian Squeeze,
using Postfix and Dovecot.
I've installed policyd-weight for basic spam filtering. Since the
defaults are quite restrictive, I thought I'd try with a bit of
additional whitelisting.
I tried a first rejected mail, read the logs and edited
/etc/postfix/whitelist accordingly:
# /etc/postfix/whitelist
smtp-152-tuesday.nerim.net OK
194.79.134.152 OK
And then:
# postmap whitelist
The relevant stanza in main.cf looks like this:
smtpd_recipient_restrictions = permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_destination,
check_client_access hash:/etc/postfix/whitelist,
check_policy_service inet:127.0.0.1:12525
smtpd_helo_required = yes
This first problem resolved fine, and the initially refused mail can go
through now.
But I'm facing another problem with a message from Hotmail, which gets
rejected over and over.
Here's what the log looks like:
# grep policyd /var/log/mail.log
...
Mar 20 17:09:27 sd-25854 postfix/policyd-weight[4905]: weighted check:
NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5
IN_IPv6_RBL=4.25 CL_IP_NE_HELO=5.75 RESOLVED_IP_IS_NOT_HELO=1.5 (check
from: .hotmail. - helo: .dub0-omc2-s26.dub0.hotmail. - helo-domain:
.hotmail.) MAIL_SEEMS_FORGED=2.5; <client=157.55.1.165>
<helo=dub0-omc2-s26.dub0.hotmail.com> <from=kikino...@hotmail.com>
<to=kikino...@radionovak.com>; rate: 9.5
Mar 20 17:09:27 sd-25854 postfix/policyd-weight[4905]: decided
action=550 Mail appeared to be SPAM or forged. Ask your
Mail/DNS-Administrator to correct HELO and DNS MX settings or to get
removed from DNSBLs; MTA helo: dub0-omc2-s26.dub0.hotmail.com, MTA
hostname: unknown[157.55.1.165] (helo/hostname mismatch);
<client=157.55.1.165> <helo=dub0-omc2-s26.dub0.hotmail.com>
<from=kikino...@hotmail.com> <to=kikino...@radionovak.com>; delay: 1s
...
Now I tried to add this to /etc/postfix/whitelist:
# /etc/postfix/whitelist
smtp-152-tuesday.nerim.net OK
194.79.134.152 OK
hotmail.com OK
... but messages from Hotmail still get rejected.
Which leaves me clueless. Any suggestions?
Cheers from South France,
Niki Kovacs
--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32