Page 1 of 1

Postfix to relay to another server

Posted: Wed Mar 17, 2010 5:01 pm
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

Re: Postfix to relay to another server

Posted: Wed Mar 17, 2010 5:49 pm
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

Re: Postfix to relay to another server

Posted: Thu Mar 18, 2010 8:27 am
by faris
I didn't know Gamera was able to deal with outgoing as well as incoming. Interesting.

Faris.