Hosting multiple domains on a MailScanner box?
ecasarero at gmail.com
Tue Jun 10 20:57:01 IST 2008
2008/6/10 Henry Kwan <lists at designmedia.com>:
> 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.
in your /etc/mail/mailertable should se this for each domain:
and in your /etc/mail/access this:
> 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?
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> Before posting, read http://wiki.mailscanner.info/posting
> Support MailScanner development - buy the book off the website!
More information about the MailScanner