Aaron Gadberry

Help - v. helped, help·ing, helps

Was this site helpful?
My Amazon.com Wishlist

How To: Have qmail send to an external smtp server

11th January 2006 - By Aaron

So you have qmail, but you want it to send your message from your isp’s smtp server instead of your own. Well it’s actually pretty simple…

First SSH to your server and create a file called /var/qmail/control/smtproutes.

Edit it to look like this

/var/qmail/control/smtproutes
:smtp.myisp.com

Restart qmail for good measure with /etc/rc.d/init.d/qmail reload

You’re done!

2 Responses to “How To: Have qmail send to an external smtp server”

  1. Shaun Adams Says:

    Thank you sooo much! I have been looking ALL over for this solution!

  2. Matt Says:

    Thankyou Stucco, this solved our problem of getting too many bounce messages with ‘we don’t accept mail from this SMTP’.

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>