The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SMTP Relay Server

Discussion in 'E-mail Discussions' started by Aaron Hatton, Aug 10, 2015.

  1. Aaron Hatton

    Aaron Hatton Active Member

    Joined:
    Jun 19, 2012
    Messages:
    26
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    London, United Kingdom
    cPanel Access Level:
    Root Administrator
    The Issue

    We use a third party server for our email filtering service before it hits our newly installed WHM/cPanel servers. We have noticed that when using it, any sender receives the following NDR:

    Setup/Issue Summary

    domain.com has an MX record pointing to relayserver.serverhost.com

    The relay server then filters and forwards the email on to our WHM server

    WHM server replies back denying the relay

    Attempted Resolutions

    - I added the IP range (e.g 192.168.1.0/24) to the /etc/alwaysrelay file and rebooted exim, no luck
    - I added the IP range (e.g 192.168.1.0/24) to the exim ACL for the following: "Sender verification bypass IP addresses", "Only-verify-recipient", "Trusted SMTP IP addresses"
    - I added the IP range (e.g 192.168.1.0/24) to the CSF whitelist



    I am lost as to how to fix this issue and the only posts found are out of date, any advice would be appreciated.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    650
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    What entry do you see in /var/log/exim_mainlog when this happens? Also, is the domain name stored in the /etc/localdomains file?

    Thank you.
     
  3. Aaron Hatton

    Aaron Hatton Active Member

    Joined:
    Jun 19, 2012
    Messages:
    26
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    London, United Kingdom
    cPanel Access Level:
    Root Administrator
    When sending an email, nothing is noted within the /var/log/exim_mainlog

    The domain is stored in the /etc/localdomains
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    650
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Try searching for the domain name in this log file. EX:

    Code:
    exigrep user@domain /var/log/exim_mainlog
    Thank you.
     
Loading...

Share This Page