K Anand wrote:
Hi all,

I have a problem. In SA, I want to use the whitelist_from_rcvd.

However, I was not able to get it working. When I posted my rule on the SA list, someone else was able to get it working. So when I posted my headers on the SA list, this is the reply that came.


----------------------
> This is what I get ::::
[...]
> I think the problem has something to do with this line :
>
> Received: from unknown (HELO mail.apache.org) (140.211.11.2)


configure your smtp server to add DNS data to Received: line.
*list_from_rcvd doesn't work without list

(although it could be worth adding IP or CIDR check in such cases)


------------------



So how do I do this ?

In your /var/qmail/supervise/smtp/run file, change the -H to a -h to enable DNS lookups. For more switches see the man page for tcpserver. Just remember that you will be doing several DNS lookups on each message - one for RBL, one for reverse name (by changing the -H option), and one for spamassassin. This can slow you down some - I've personally been happy with just doing a "whitelist_from [EMAIL PROTECTED]" style check and have not had any issues that I have been able to find yet.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to