Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Mar 2004
    Posts
    815

    Default Remote MX, vs. locally delivered email: still broken!

    Here's the situation:

    1 - The hosted account uses their own email server, therefore the MX for the domain directs email to an off-server location.

    2 - They use a FormMail driven contact form on their web site.

    3 - They do not receive their FormMail sent email.

    4 - The following option in their DNS record setting (in WHM) is NOT checked:
    Always accept mail locally even if the primary mx does not point to this server.

    5 - I remove their domain from the list at /etc/localdomains

    6 - It works for them for a while, until the next major cPanel update.

    7 - We receive another complaint that their FormMail sent email is not being delivered again.

    8 - We check /etc/localdomains, and find that their domain has been re-inserted, thus causing the issue.

    And, on and on and on.

    Is there any resolution for this?

  2. #2
    Member
    Join Date
    Jul 2008
    Posts
    63

    Default

    I have a workaround.

    First, I have a file, /etc/remotemaildomains, which contains a list of all domains that handle their mail elsewhere.

    Then, in the exim configuration, I define:
    Code:
    domainlist remotemail_domains = lsearch;/etc/remotemaildomains
    And set up a router:
    Code:
    remotemail_domains:
      driver = manualroute
      routelist = +remotemail_domains mailrelay.freedombi.com
      transport = remote_smtp
    I assume your setup is a little different, so you'd have to adapt that to suit your needs.

Similar Threads & Tags
Similar threads

  1. Mail being delivered locally
    By 10101 in forum E-mail Discussions
    Replies: 2
    Last Post: 08-13-2010, 09:23 AM
  2. Save raw email files from server and load locally?
    By jmgamble in forum E-mail Discussions
    Replies: 1
    Last Post: 02-26-2007, 06:03 PM
  3. E-mails aren't being delivered locally
    By chrille112 in forum cPanel and WHM Discussions
    Replies: 10
    Last Post: 02-14-2007, 02:27 AM
  4. Email not getting delivered
    By wadearnold in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 03-27-2006, 07:34 AM
  5. Email Not Being Delivered
    By qball15j in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 11-19-2002, 04:34 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube