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