The qmail-remote function will allow us to do this. Replace domain.com
with the domain you would like to use for outbound Spirus filtering.
[root@plesklinux root]# cd /var/qmail/control/
[root@plesklinux control]# echo domain.com:outbound.filter.theplanet.com >> smtproutes
[root@plesklinux control]#
Restart qmail:
[root@plesklinux control]# /etc/init.d/qmail restart
Starting
qmail:
[ OK ]
[root@plesklinux control]#
And check with qmail’s showctl binary:
[root@plesklinux control]# ../bin/qmail-showctl | grep domain.com
SMTP route: domain.com:outbound.filter.theplanet.com
[root@plesklinux control]#
You can find more information on qmail-remote here:
http://www.qmail.org/man/man8/qmail-remote.html
