Skip to main content

Email Forwarder to Remote Mail Server Not Working

Comments

7 comments

  • jodamo5
    I found the solution, and it seems to be a small bug in cPanel. For the externalmail.com domain I had set the MX setting to "remote mail exchanger". However there was a single MX record in the table - with priority 0. This record shouldn't do anything, because the email routing is set to "remote mail exchanger". But this record is doing something. Because when the record was there, the problem behaviour specified above occurred. But once I deleted this MX record, the email forwarding starting working correctly - forwarding to the external mail server. Proposed fix: If email routing is set to "Remote Mail Exchanger" cPanel should ignore all MX records and always treat the email routing as remote.
    0
  • cPanelMichael
    This record shouldn't do anything, because the email routing is set to "remote mail exchanger". But this record is doing something. Because when the record was there, the problem behaviour specified above occurred. But once I deleted this MX record, the email forwarding starting working correctly - forwarding to the external mail server.

    Hello :) Were you able to manually review the /etc/localdomains and /etc/remotedomains files when this happened to determine which file the domain name existed in? Thank you.
    0
  • jodamo5
    Hello :) Were you able to manually review the /etc/localdomains and /etc/remotedomains files when this happened to determine which file the domain name existed in? Thank you.

    Yes, I checked and the domain was in the /etc/remotedomains file.
    0
  • cPanelMichael
    Yes, I checked and the domain was in the /etc/remotedomains file.

    To clarify, does it function correctly when the domain name is handled locally through it's addition to the /etc/localdomains file? Thus, the issue is not with the domain name's placement in these files but rather with the configured MX record? Thank you.
    0
  • vinnie6669
    Hi All, I faced the same issue and I managed to fix it by changing routing for remote domain from automatic to remote. Hope this will help someone.
    0
  • JoseDieguez
    Hi All, I faced the same issue and I managed to fix it by changing routing for remote domain from automatic to remote. Hope this will help someone.

    Got the same issue for a client today, with Cpanel ver 110, latest 2023 version as of date. MX corrects. Routing as automatic (wich said remote), same error The system could not add the forwarder: (Warning does not refer to a valid local email account or alias. The system will not create a forwarder, because it already sends that email to the default address.)..." Solution: in Routing, manually select Remote.
    0
  • vinnie6669
    Got the same issue for a client today, with Cpanel ver 110, latest 2023 version as of date. MX corrects. Routing as automatic (wich said remote), same error The system could not add the forwarder: (Warning does not refer to a valid local email account or alias. The system will not create a forwarder, because it already sends that email to the default address.)..." Solution: in Routing, manually select Remote.

    Glad if that helps
    0

Please sign in to leave a comment.