Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Mar 2005
    Posts
    317

    Default SecondaryMX - Checking Email Addresses Exist on Primary

    I've been running secondary "store and forward" mail servers for my clients quite successfully but have just one final issue to address.

    It's the old problem of the secondary mx accepting mail for addresses that don't exist on the primary mx.

    The solution is a script that reads all of the email addresses & forwarders from the primary servers and creates a list which exim can use on the secondary server to either accept or reject messages based on whether the recipient exists in the list.

    But before I spend a lot of time/money creating such a system, I wondered if anyone has already written such a script?

    I also wonder if cPanel themselves may add this feature in future releases.

    I read in this thread http://forums.cpanel.net/showthread.php?t=66077 that the groundwork for clustered mail servers was already built into cPanel 11 and it may be available in version 12.

    So I wonder if this new feature will handle the "checking address exists" issue?

    Any thoughts?

  2. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    A reliable way to do this would be to use the XML API in conjunction with API2 to grab lists of email addresses, forwarders etc.

    Documentation for the appropriate API2 functions can be found at:

    http://www.cpanel.net/plugins/api2/index.html

    Documentation on the XML API and how to call API2 functions from the XML API can be found at:

    http://www.cPanel.net/plugins/xmlapi

  3. #3
    Member
    Join Date
    Mar 2005
    Posts
    317

    Default

    Quote Originally Posted by cPanelDavidG View Post
    A reliable way to do this would be to use the XML API in conjunction with API2 to grab lists of email addresses, forwarders etc.

    Documentation for the appropriate API2 functions can be found at:

    http://www.cpanel.net/plugins/api2/index.html

    Documentation on the XML API and how to call API2 functions from the XML API can be found at:

    http://www.cPanel.net/plugins/xmlapi
    Thanks David

    That looks perfect. I'll code something when time permits

Similar Threads & Tags
Similar threads

  1. I'm getting mail that's sent to addresses that don't exist...
    By JPigford in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-09-2006, 08:58 PM
  2. email checking
    By txbassmaster75 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-11-2005, 02:38 AM
  3. Have a client getting this error when checking his email.
    By YukFoo in forum cPanel and WHM Discussions
    Replies: 14
    Last Post: 12-30-2004, 02:14 PM
  4. checking email from within cpanel
    By yeohbaby in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 11-28-2004, 11:46 PM
  5. Checking Email.
    By kenshin in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-18-2004, 06:02 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube