Pegasus Mail & Mercury

Welcome to the Community for Pegasus Mail and
The Mercury Mail Transport System, the Internet's longest-serving PC e-mail system!
Welcome to Pegasus Mail & Mercury Sign in | Join | Help
in
Home Blogs Forums Downloads Pegasus Mail Overview Mercury Overview

relay mail to another server for 1 domain only

Last post 06-06-2008, 18:40 by Thomas R. Stephenson. 5 replies.
Sort Posts: Previous Next
  •  06-06-2008, 17:37

    • airyt is not online. Last active: 01-06-2009, 23:10 airyt
    • Top 200 Contributor
    • Joined on 02-25-2008
    • Member
    • Points 125

    relay mail to another server for 1 domain only

    Howdy,
     
    Need a little ASAP action, here!
     
    We have 2 servers setup with mercury for one organization's email (ie. one domain). What we want is to have redundancy built-in such that if one mail server dies, the other one can pick-up where the first one left off.
    Server 2 is currently acting as the preference=0 mail server in the dns settings and server 1 is preference=30. So what we want is to have server 1 forward any mail it receives for the entire domain to server 2. and if something happens to server 2, then we can stop that quickly and have server 1 collect mail for the domian.
     
    the only other problem is that server 1 is collecting mail for several other domains at the same time.
     
    while the dns settings are correct, and most mta's will correctly first try to send mail to server 2, it has been my experience that this does not occur all the time and that some legitimate email is attempted to be delivered to a higher preference #. this is the reasoning behind this setup.
     
    thanks in advance!
    gw
  •  06-06-2008, 17:48

    Re: relay mail to another server for 1 domain only

    The common procedure would be to have a domain mailbox on the backup server, and use the Mercury POP3 client on the main server to collect mail from it.

    /Rolf 

  •  06-06-2008, 18:04

    Re: relay mail to another server for 1 domain only

    Rolf Lindby:

    The common procedure would be to have a domain mailbox on the backup server, and use the Mercury POP3 client on the main server to collect mail from it.

    /Rolf 

    And use the X-Envelope-To: header added by Mercury/32 core when delivering to the POP3 domain mailbox in the MercuryD setup.   In this case the original RCPT TO: address is being used for delivery.


    Thomas R. Stephenson
    San Jose, California
    Member of Pegasus Mail Support Team
  •  06-06-2008, 18:32

    • airyt is not online. Last active: 01-06-2009, 23:10 airyt
    • Top 200 Contributor
    • Joined on 02-25-2008
    • Member
    • Points 125

    Re: relay mail to another server for 1 domain only

    Rolf Lindby:

    The common procedure would be to have a domain mailbox on the backup server, and use the Mercury POP3 client on the main server to collect mail from it.

    /Rolf 

     
    but the backup server handles mail for some other domains ... would that not forward ALL incoming mail to the remote server?
    thanks, gw
  •  06-06-2008, 18:32

    • airyt is not online. Last active: 01-06-2009, 23:10 airyt
    • Top 200 Contributor
    • Joined on 02-25-2008
    • Member
    • Points 125

    Re: relay mail to another server for 1 domain only

    airyt:
    Rolf Lindby:

    The common procedure would be to have a domain mailbox on the backup server, and use the Mercury POP3 client on the main server to collect mail from it.

    /Rolf 

     
    but the backup server handles mail for some other domains ... would that not forward ALL incoming mail to the remote server?
    thanks, gw
     
    sorry, just re-reading your post. i understand it now. thanks, gw
     
  •  06-06-2008, 18:40

    Re: relay mail to another server for 1 domain only

    but the backup server handles mail for some other domains ... would that not forward ALL incoming mail to the remote server?
     
    Nope, a domain mailbox is exactly that, a mailbox hold all mail for a specific domain.  You create a domain pointing to a local username (DM=username : domain.name) and all mail for that domain goes to the users new mail directory.   Now when the other Mercury/32 system using MercuryD comes in to get the mail via POP3 it only gets mail for the specified domain.
     

    Thomas R. Stephenson
    San Jose, California
    Member of Pegasus Mail Support Team
View as RSS news feed in XML

Copyright © 2007 David Harris / Peter Strömblad. All Rights Reserved. | Terms of Use | Privacy Statement
Questions/Problems with community.pmail.com? | Visit our Hoster: PraktIT | Pegasus Mail Home Page