running email on a different server

SoftDux

Well-Known Member
May 27, 2006
1,023
5
168
Johannesburg, South Africa
cPanel Access Level
Root Administrator
Hi all,

Has anyone been succesful in setting up a seperate server to handle incoming & outgoing emails? I'd like to setup a spare server to handle all incoming emails, and run them through the spam filters before delivering the mail to the users mailboxes. Has anyone been able todo something like this?

I know with DotNetPanel this is very easy to setup, so I'm hoping to achieve the same with cPanel as well
 

hartzcs

Member
Mar 12, 2005
16
0
151
I'd like some info on this as well. I'm tired of all the constant.. and I mean constant.. hassles with trying to stay off crappy RBL's like the CBL and Outblaze. There has to be a better way than this mess. I would like to be able to send all mail through another e-mail gateway like a dedicated e-mail server that's better setup for spam filtering or even a 3rd party service if I so choose. Godaddy does this with all their mail. Some people don't like it, but it keeps people honest I think.
 
Last edited:

nickp666

Well-Known Member
Jan 28, 2005
769
2
168
/dev/null
Hi all,

Has anyone been succesful in setting up a seperate server to handle incoming & outgoing emails? I'd like to setup a spare server to handle all incoming emails, and run them through the spam filters before delivering the mail to the users mailboxes. Has anyone been able todo something like this?

I know with DotNetPanel this is very easy to setup, so I'm hoping to achieve the same with cPanel as well
It's fairly simple to do with the static_route driver and some ACL's in exim if you can spare the extra load for the recipient verify callouts.

I havent gone into detail due to the sheer amount of available options with the configuration, there are several different ways the same result can be achieved dependant on how you need it to work.
 
Last edited:

rhenderson

Well-Known Member
Apr 21, 2005
784
2
168
Oklahoma
cPanel Access Level
Root Administrator
We setup a "mail only server" a couple of years ago, look at some old posts, maybe search for Postfix. We used Postfix then relayed the mail to our main server. We rsynced the domain files from the main server to the Postfix Server then changed the MX's to make the Postfix server the main mail server but left the main server as a backup, so we got a spam scanner email machine plus backup email. I remembered we had to whitelist the Postfix server IP;s on the main box. We also used a VPS for the Postfix server.

We abandoned the server when we migrated and got a beefier server.
 

stdout

Well-Known Member
Apr 10, 2003
189
7
168
Nelspruit, Mpumalanga, South Africa
cPanel Access Level
Root Administrator
Just a thought:
* Setup another cPanel box and have only exim/spamd running on it.
I say another cPanel box as it will preserve file structure and you get the neat /scripts.

Now constantly rsync all relevant user logins, email accounts, mail data over to the new box.
We're talking alot of bandwidth usage, but may be worth your while - depending on your goals.

Relevant directories and files which come to mind:
/etc/localdomains
/etc/remotedomains
/etc/valiases/*
/home/*/etc/$domain/passwd
/home/*/etc/$domain/shadow
/home/*/mail/$domain/