Re: One Domain, Two Email Systems



OZ writes:

This is re-posted from Comp.Mail.Sendmail at the suggestion of another
poster:

(Non Delivery Receipt). Is there a way to set up Sendmail (I have some
Linux experience) or another SMTP server as our main SMTP/MX to query
the two systems' SMTP (or LDAP, etc.) and route email to the
appropriate SMTP (either Exch or GW)? I would even consider creating
static SMTP routing tables with email addresses if that's possible.

Is there another solution I'm not seeing?

I know this is possible with third party proprietary software like
Postini, etc. so I'm hoping there is a similar Linux/GPL software
solution that exists.

I'm surprised that sendmail can't do this, I was pretty sure that it could. Sendmail definitely has an alias feature. Perhaps nobody was thinking about this from the right perspective.

What needs to be done is to reconfigure both of your mail servers so that they recognize another domain as an alias for its local domain. So, for example, your mail servers recognize exch.domain.com and gw.domain.com, for example, as their corresponding domains, rather than domain.com. So that each one accepts mail for user@xxxxxxxxxxxxxxx (or user@xxxxxxxxxxxxx) and puts it into the correct mailbox. I'll be surprised if any one of your existing servers can't be reconfigured in such a trivial manner.

Then, it's simply a matter of configuring sendmail, or something else, with an alias list mapping each user@xxxxxxxxxx to user@xxxxxxxxxxxxxxx (or user@xxxxxxxxxxxxx), plus any other necessary changes (such as recognizing exch.domain.com and gw.domain.com as domains that it accepts and forwards mail for). Although I am not familiar with sendmail enough to know what needs to be done, I'm fairly certain that this would be trivial. I know that something like this is trivial with Courier, and probably with Postfix too.

Of course, you'll also need to make the necessary arrangements so that exch.domain.com and gw.domain.com resolve to the correct addresses where those mail servers live, but that part should be self-evident.


Attachment: pgpQ4TB3H0DmI.pgp
Description: PGP signature



Relevant Pages

  • Re: One Domain, Two Email Systems
    ... Linux experience) or another SMTP server as our main SMTP/MX to query ... I'm surprised that sendmail can't do this, I was pretty sure that it could. ... What needs to be done is to reconfigure both of your mail servers so that ...
    (comp.mail.misc)
  • RE: sendmail help?
    ... not one let sendmail have direct access to their smtp email servers. ...
    (freebsd-questions)
  • Re: recipient validation with smtplib
    ... quite happily to send emails using the locahost's sendmail, ... I know some smtp setups do enforce recipient ... the address is valid at sending time to those servers. ... The only way we could satisfactorily do so was to process the mailbox that received the bounces and detect a GUID in the bounce message to identify the potentially bogus accounts. ...
    (comp.lang.python)
  • Re: Email Delivery Problems
    ... The Comcast residential TOS prohibits servers at all so even if you can use ... their mail servers as a Smart Host you'd be violating the TOS. ... SBS using Comcast Residential service on a double NIC, smtp, dns. ...
    (microsoft.public.windows.server.sbs)
  • Re: Bell Sympatico
    ... Bell Sympatico. ... As long as the ISP's servers ... pine relays to sendmail. ... direct smtp. ...
    (comp.os.linux.misc)