Qmail relay to smarthost

Qmail: routing all mails to a smarthost

# echo ":smtp.qmail.com" > /var/qmail/control/smtproutes

(or manually add “:smtp.qmail.com” line (without qutoes) to the file.) this command will set qmail that all your mails will be routed to smtp.qmail.com (will remove other existing lines, so be careful)

Qmail: routing all mails for a specific domain to a smarthost

# echo "domain.com:smtp.qmail.com" >> /var/qmail/control/smtproutes

this command will append a line to your smtproutes instructing qmail to send all mails @domain.com to smtp.qmail.com (rest of the lines will be kept).

FacebookTechnotiziePlaxo PulseLinkedInTwitterWordPressGoogle BookmarksGoogle ReaderStumbleUponTechnorati FavoritesShare

You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

If you found this page useful, consider linking to it.
Simply copy and paste the code below into your web site (Ctrl+C to copy)
It will look like this: Qmail relay to smarthost

2 Comments »

 
 

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

 
WordPress SEO fine-tune by Meta SEO Pack from Poradnik Webmastera