Configuring Qmail to use a smarthost
The file where Qmail relay to a smarthost is named smtproutes and is usually found in:
We use the hostname ‘mailout.serverpronto.com” as outgoing server.
SSH to your server and run the following:
- #echo “:mailout.serverpronto.com” > /var/qmail/control/smtproutes
This command will set qmail to route all your outgoing mail to mailout.serverpronto.com (will remove other existing lines).
Information originally posted at http://help.comodo.com/topic-157-1-288-4539-.html