Results 1 to 4 of 4
  1. #1

    Mail is rejected using remote mail exchanger

    We recently setup a cPanel/WHM server.
    Most of our domains use a remote mail exchanger which checks incoming mail for spam and then delivers valid mail to the cPanel server.

    I set the domains to use remote mailexchanger in DNS and make sure the the MX record points to the remote exchanger.

    However mail from the remote exchanger is rejected by the cPanel server but if I change the MX record to use local mail exchanger - mail is deliver directly to the server bypassing the remote exchanger - then it works.

    Does anyone have any ideas of what I'm missing?
    Any ideas are greatly appriciated.

    //jonas

  2. #2
    Join Date
    Jun 2006
    Location
    Europe
    Posts
    632
    You have to set domains mail settings to "Local" instead of "Remote Mail Exchanger" in order to accept mails on cPanel server. When "Remote Mail Exchanger" is set, cPanel will reject mail locally of an domain.

    If you have set MX records to remote mail filtering server, any internet host will send mail to this filtering server based on your DNS MX records.

    Then you have to configure your remote filtering server to relay mail directly to your cPanel server ip address / hostname, instead of doing DNS MX lookups of your domain.


    if I change the MX record to use local mail exchanger - mail is deliver directly to the server bypassing the remote exchanger - then it works.
    If everything is configured as explained above, internet mail should NOT be bypassed, and should go through remote filtering.
    Only local email (the mail the is sent from cPanel server itself) will be bypassed and will be delivered locally.

    So, when you are doing some testings, send email from some remote mail server/domain instead from your cPanel server.
    Last edited by xtrac568; 04-04-2011 at 09:57 AM.

  3. #3
    Thanks for your reply.

    So basically all domains should be set to use local mail exchanger but for those that use external gateway for spam filtering, all I need to do is to change the MX record in the DNS?

    //jonas

  4. #4
    Join Date
    Jun 2006
    Location
    Europe
    Posts
    632
    that's right.

Similar Threads

  1. Rejected mail puzzle
    By JediKnight2 in forum Hosting Security and Technology
    Replies: 4
    Last Post: 01-21-2010, 04:39 AM
  2. mail rejected
    By rblproblem in forum Hosting Security and Technology
    Replies: 13
    Last Post: 07-03-2009, 06:39 AM
  3. Mail Being Rejected
    By cfaice in forum Dedicated Server
    Replies: 10
    Last Post: 10-07-2005, 03:30 AM
  4. mail exchanger for a domain with ms exchange
    By nightduke in forum Hosting Security and Technology
    Replies: 0
    Last Post: 06-20-2004, 05:14 PM
  5. mail being rejected.
    By Dim8Webhost in forum Dedicated Server
    Replies: 0
    Last Post: 11-19-2002, 01:12 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •