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.

Send email from different IP based on recipient domain

Discussion in 'E-mail Discussions' started by kdean, May 30, 2017.

Tags:
  1. kdean

    kdean Well-Known Member

    Joined:
    Oct 19, 2012
    Messages:
    269
    Likes Received:
    14
    Trophy Points:
    18
    Location:
    Orlando, FL
    cPanel Access Level:
    Root Administrator
    I recently changed a few accounts to send from their dedicated IP and everything is set up and valid, but AT&T and Verizon were already blocking those IPs even though they've never sent any emails before and definitely not spam. AT&T and Verizon are proving to be elusive and down right impossible to get the IPs unblocked. They're just professional and not replying (other that auto-responses) to any inquiries via the emails they provide and the usual postmaster and abuse addresses. Anyway that's led me to investigating other possibilities.

    I have them sending from their own IPs to build their own separate reputations so I don't really want to have to revert, so...

    Is there a way with EXIM to filter/route outgoing emails addressed to specific recipient domains causing them to use the hostname mail server which is not blocked.

    So basically:

    Dedicated client - sends all mail normally via it's dedicated IP, but when sending to att.net it sends from hostname/IP instead, all with the correct Mail Banner, etc.

    I've done a lot of googling and I'm just not finding the right hint of possibility, so maybe it can't be done.
     
  2. NixTree

    NixTree Well-Known Member

    Joined:
    Aug 19, 2010
    Messages:
    404
    Likes Received:
    2
    Trophy Points:
    143
    Location:
    Gods Own Country
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hi

    I dont think there is such a setup. One thing you can get is get Spamexperts outgoing Filtering and with that you can beat this sending issue and can reduce the Outgoing Spamming as well.

    I will still love to hear from Cpanel team as well about your excat query.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,287
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    There's no native support for multiple entries in the /etc/mailhelo and /etc/mailips file based on the recipient domain name. Generally, the best way to address this issue is to request removal of the sending IP address from the remote mail provider's blacklist (I see you are in the process of doing this already). You may want to see if you can have the IP address whitelisted. Verizon provides a form for this at:

    Verizon Online - Whitelist Request Form

    Additionally, the following document is useful if you want to make sure your server is following the guidelines to keep email out of the SPAM folder, as sometimes the issue is as simple as a lack of a RDNS record:

    How to Keep your Email out of the Spam Folder - cPanel Knowledge Base - cPanel Documentation

    Thank you.
     
  4. kdean

    kdean Well-Known Member

    Joined:
    Oct 19, 2012
    Messages:
    269
    Likes Received:
    14
    Trophy Points:
    18
    Location:
    Orlando, FL
    cPanel Access Level:
    Root Administrator
    Yeah, I've already used that Verizon form and AT&T's email, but just get form letter auto-responses that are inaccurate to the situation. My mail servers/domains are all fully configured with SPF, DKIM, DMARC, PTR records and pass the mxtoolbox.com tests. The problem here is the IPs were blocked before they ever sent emails. Basically guilty until proven innocent except no one is paying any attention when you plead you case.
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,287
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Another solution I sometimes see utilized for this situation is to request new IP addresses from your provider (letting them know the existing IP addresses were on SPAM lists) and assign them to the accounts.

    Thank you.
     
  6. kdean

    kdean Well-Known Member

    Joined:
    Oct 19, 2012
    Messages:
    269
    Likes Received:
    14
    Trophy Points:
    18
    Location:
    Orlando, FL
    cPanel Access Level:
    Root Administrator
    That's just it. The IPs are not actually on any spam or blacklists that are public. I've had the IPs for years, they just weren't used to send mail. So basically they're pre-penalizing cold IPs which is just wrong. My provider is also contacting them, so we'll see if they have any better luck. The problem with these big "internet" companies is they actually suck at postmaster type stuff and it most likely goes unmonitored. Plus if you're not one of their paying customers, they have no interest it talking further as I've found. May have to start asking the recipients to open support cases with their provider to complain, but I shouldn't have to put them in that position.
     
Loading...

Share This Page