Brent Gardner wrote:
I'm seeing rejected messages from a specific source daily in my logs.The messages are probably spam so I don't care too much, but I can't figure out why they are being rejected.Actually, I think I know why they are being rejected but I'm not sure that the reason is valid.The messages have sender addresses that look like this:itbe_4DBC2127B60A4E7F619C5A7E70B5076DEB24383DB858D7B7 <at> a--habeas.response.itbe.comMy SMTP logs at /var/log/qmail/smtp show that chkuser is rejecting the messages for invalid sender address format.I've done some testing and determined that chkuser doesn't like the double hyphen in the hostname of the sender, but I can't find any RFCs that specifically outlaw this.From what I've read, hyphens are allowed in hostnames, except that they can't be at the beginning or end of the hostname, and double hyphens are not allowed if they are at the 3rd and 4th position in the name.Can anyone verify that it is proper for chkuser to reject this address?
chuser in Toaster is a little strict and does block those. There was a discussion about this a while back due to Blackberry using a spam engine that put a / in the return path which chkuser also bounced. You can either recompile chkuser to allow these characters (since most are not really illegal, just bad etiquette anyway) or disable this check for incoming messages:
:allow,BADMIMETYPE="",SENDER_NOCHECK="1"
smime.p7s
Description: S/MIME Cryptographic Signature
