Mail relay/scanner server set up question....

Rob rob at THEHOSTMASTERS.COM
Wed May 11 15:51:31 IST 2005


    [ The following text is in the "Windows-1252" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Hello all, I was on this list, but went away for a while and now I am
back....
 
 
I have a set up doing this but not sure if it is the correct way, if
anyone has any comments please send them my way....
 
I host a 100 or so domains for email and we hosting... to take a load off
of my mail server(SMTP & pop) I set up a server just to be the MX  for
these domains and once scanned by mailscanner relay it to the server that
users pop off....
 
here is how I did it, but not sure if it is the most efficient way...
 
Server-2:  The SMTP & pop server, is a postfix(on Debian Sarge) server
running with VHCS2 control panel, it was doing all the scanning but I
turned it off via mailscanner conf file, so it does not scan for viruses
or spam.. This is where users pop their mail, they do not use it for
sending outgoing email.
 
Server-1: the  MX server is a Fedora core 2 running sendmail(8.12) and
mailscanner....
So email comes in gets scanned and sends it over to Server-2
The config for this in sendmail is...
 
/etc/mail/access file has entries like this
 
domain.com    RELAY
domain2.com   RELAY
and so on....
 
/etc/mail/mailertable file has entries liek this...
 
domain.com               smtp:[Server-2.com]
domain2.com             smtp:[Server-2.com]
and so on...
 
dns zone file entries for each domain are like so....
 
$TTL 3600
@       IN      SOA     domain.com. root.domain.com. (
; dmn [domain.com] timestamp entry BEGIN.
                         1111763982
; dmn [domain.com] timestamp entry END.
                         8H
                         2H
                         4W
                         1D )
                 IN      NS      dns1.thednsguys.com.
                 IN      NS      dns2.thednsguys.com.
                 IN      NS      dns3.thednsguys.com.
                 IN      MX      5 mx.server-1.com.
                 IN      MX      10 mx2.thehostmasters.com.
                
domain.com.  A       xxx.xxx.xxx.2
;ns             IN      A       xxx.xxx.xxx.2
mail            IN      A       xxx.xxx.xxx.2
www             CNAME   domain.com.
ftp             CNAME   domain.com.
 
 
 
Is this set up ok?
 
Thanks and any help greatly appreciated...
 
Have a great day!
     
Rob...
------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/)
and the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!



More information about the MailScanner mailing list