Top Nav

Whitelist host on qmail install

To whitelist a host on a qmail install (qmailrocks in this case) do the following:

Edit /etc/tcp.smtp and add this line:

Replacing XXX.XXX.XXX. with the ip of the host to be whitelisted.

Next rebuild the cdb file with:

This first procedure prevents RBL checks on the host.

To whitelist a host or domain in spam assassin, edit vi /etc/mail/spamassassin/local.cf and add a line like this:

Email
Print