Hosting multiple domains on a MailScanner box?

Henry Kwan lists at designmedia.com
Tue Jun 10 20:05:08 IST 2008


Hi,

I almost have my MailScanner/Exchange setup complete but then I realized that I
had a couple of secondary domains that I wanted to host the MX for as well.  I
thought I could setup a virtusertable entry to create a catchall that forwards
to a mailbox on the Exchange box but it doesn't seem to be working.  Whenever I
send email to the secondary domains, I get a "dsn=5.1.1, stat=User unknown" and
then a "savemail: cannot save rejected email anywhere" in maillog.

Perhaps my Mailscanner/Exchange setup is incorrect?  Right now, I'm running
MailScanner/Sendmail/SpamAssassin/ClamAV on the frontend.  The Mailscanner box
is part of the designmedia.com domain.  There is a mailertable entry that
forwards the "designmedia.com" to the IP of the Exchange box.  The domain
"designmedia.com" is also in relay-domains.  I enter all the valid mailboxes as
"RELAY" in access and everything else is rejected.

I thought that entering them in virtusertable as "@domain2.com
catchall at designmedia.com" would remap the emails as they came in but evidently
this isn't the case.  Where is the proper place to stick all the information
about the secondary domains?

Thanks.




More information about the MailScanner mailing list