Koozali.org: home of the SME Server

Relaying outgoing e-mail through ISP's SMTP server

Raffi

Relaying outgoing e-mail through ISP's SMTP server
« on: December 03, 2003, 03:13:01 AM »
Hi Folks,

I run many Postfix e-mail servers where you can set up transport maps to relay e-mail addressed to certain domains (like aol) to be relayed through the ISP's SMTP server. Is there a way to do this with e-smith (q-mail)?

Any help would be greatly appreciated.

Raffi

Raffi

Re: Relaying outgoing e-mail through ISP's SMTP server
« Reply #1 on: December 03, 2003, 06:33:35 AM »
I dug a little deeper into the web and usenet and found an answer. I haven't tried this yet but many claim that it works.

Using Qmail, relying all mail destined for aol.com for example can be done by adding the following line to /var/qmail/control/smtproutes file:

aol.com:"your isp's smtp server"

Raffi

Michiel

Re: Relaying outgoing e-mail through ISP's SMTP server
« Reply #2 on: December 03, 2003, 11:06:50 AM »
Thanks for answering your own question! I've been looking for te same thing.
Michiel

stewart midwinter

Re: Relaying outgoing e-mail through ISP's SMTP server
« Reply #3 on: December 23, 2003, 01:48:19 AM »
when I check the /var/qmail/smtproutes files, it says it is automatically generated, and instead to edit the file in /etc/templates/.  but I don't see which file to edit.  Can anyone help with that?

Thanks