Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

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.

Email From field being changed incorrectly

Discussion in 'E-mail Discussions' started by bananaphone, Oct 12, 2017 at 6:05 AM.

  1. bananaphone

    bananaphone Registered

    Joined:
    Thursday
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    London
    cPanel Access Level:
    Website Owner
    Hello all,
    I believe my problem may be similar but not identical to the one in this thread Rewrite Sender: header to match From: header

    For many years we have been using a domain host (who uses cpanel) to forward emails from multiple clients through to their clients. However we authenticate to the SMTP server as one user. This has been working without problem until the last couple of months.

    For example we own the domain smtpsending.co.uk

    We send:

    (in) 235 Authentication succeeded
    (out) MAIL FROM:info@example.co.ukCRLF
    (in) 250 OK
    (out) RCPT TO: <User@domain.co.uk>CRLF
    (in) 250 Accepted

    We authenticate to mail.smtpsending.co.uk as client@smtpsending.co.uk

    This then should get to User@domain.co.uk with a From (and reply) field of info@example.co.uk and has done for many years.

    However now it gets there as being sent from client@smtpsending.co.uk.

    I noticed on the received headers that it shows:
    X-From-Rewrite: rewritten was: [User@domain.co.uk] which I guess is the crucial line.

    How can I either change this myself or advise the domain host to change it back so it doesn't "correct" the from field, which I realise is spoofed?

    I have no access to WHM.

    many thanks!

    (Note, email addresses changed to protect the innocent)
     
    #1 bananaphone, Oct 12, 2017 at 6:05 AM
    Last edited by a moderator: Oct 12, 2017 at 6:22 AM
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,424
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    The following option is available under the "Mail" tab in "WHM >> Exim Configuration Manager >> Basic Editor":

    EXPERIMENTAL: Rewrite From: header to match actual sender

    Per it's description:

    If you enabled this option, the From: header will be rewritten to be the email address of the actual message sender. If you choose the "remote" option, only messages that are being sent to remote destinations will be affected.

    You won't be able to change this behavior without root access to the server. You can check with your hosting provider to see if it's an option they are willing to modify.

    Thank you.
     
  3. bananaphone

    bananaphone Registered

    Joined:
    Thursday
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    London
    cPanel Access Level:
    Website Owner
    Thanks.
    They aren't willing to change it back.

    I guess my next question is can someone recommend a cheap and cheerful UK domain host who will allow me WHM access including this function?

    cheers
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    15,745
    Likes Received:
    312
    Trophy Points:
    433
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
  5. bananaphone

    bananaphone Registered

    Joined:
    Thursday
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    London
    cPanel Access Level:
    Website Owner
    Hi infopro - thanks for that. Indeed that's the issue - there are hundreds all over the world. I was really after a forum member from the UK who actually had experience with a particular flexible host, who knew I would be able to access the WHM and enable/disable this particular function

    regards
     
  6. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    15,745
    Likes Received:
    312
    Trophy Points:
    433
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    There are no Hosting Providers that'll give a Website Owner access to WebHost Manager. You're going to have to step up your game and get your own server which will give you full access to everything.

    Or, find another way to send email that's not, basically, spoofing.
     
Loading...

Share This Page