Postfix to relay to another server

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
hostingguy
Forum Regular
Forum Regular
Posts: 661
Joined: Mon Oct 29, 2007 6:51 pm

Postfix to relay to another server

Unread post by hostingguy »

Is it possible to configure postfix/qmail to send all email that it would normally send out itself to another server, and then have that server send the emails after applying spam scores and throttling?

if so, are there any guides or advice on how to set this up?

Thanks
User avatar
mikeshinn
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 4155
Joined: Thu Feb 07, 2008 7:49 pm
Location: Chantilly, VA

Re: Postfix to relay to another server

Unread post by mikeshinn »

Yes you can do that. If you want to setup a spam frontend (sounds like you do), then I recommend you use Scotts gamera project - that will set everything up to do what you want.

As to how to do it specifically, in qmail just change your smtproutes.

In postfix, basically you need to change /etc/postfix/main.cf:

relayhost = server.name.tld
faris
Long Time Forum Regular
Long Time Forum Regular
Posts: 2321
Joined: Thu Dec 09, 2004 11:19 am

Re: Postfix to relay to another server

Unread post by faris »

I didn't know Gamera was able to deal with outgoing as well as incoming. Interesting.

Faris.
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>
Post Reply