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.

Send mail as another user

Discussion in 'E-mail Discussions' started by John Schmerold, Aug 30, 2017.

  1. John Schmerold

    John Schmerold Well-Known Member

    Joined:
    Apr 21, 2004
    Messages:
    57
    Likes Received:
    3
    Trophy Points:
    158
    Location:
    st. louis
    cPanel Access Level:
    Root Administrator
    I can't remember where to change the setting that affects these two situations - would someone help clear the cob webs:
    1. Joe gets emails addressed to sales@example.com, he wants to reply from sales@example.com, Outlook lets him do this, but we have a setting on the server that says Joe's email address must be "joe@example.com"

    2. Joe's assistant, Jack sends email on Joe's behalf. So we need jack@example.com to be able to send email from joe@example.com
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    I believe you are referring to the following option under the "Mail" tab in "WHM >> Exim Configuration Manager >> Basic Editor":

    Set SMTP Sender: headers

    Per it's description:

    (-f flag passed to sendmail) This will create “On behalf of” notices in Microsoft® Outlook, but it may also help track abuse of the mail system since recipients will see the SMTP login used to send each message.

    Another option worth reviewing is:

    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.


    That's not possible unless Jack has the password to "joe@example.com" for SMTP authentication. Otherwise, the "FROM" header would be spoofed by the email client and may lead to the message getting marked as SPAM by the receiving server.

    Thank you.
     
    John Schmerold likes this.
  3. John Schmerold

    John Schmerold Well-Known Member

    Joined:
    Apr 21, 2004
    Messages:
    57
    Likes Received:
    3
    Trophy Points:
    158
    Location:
    st. louis
    cPanel Access Level:
    Root Administrator
    Thanks Michael, when I searched for "Rewrite" in the Exim configuration screen I found the setting:

    Trusted mail users
    Users on the system that may set the From: header to anything they like when "Rewrite From: header to match actual sender" is enabled
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,220
    Likes Received:
    1,376
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    This option will allow you to keep the "EXPERIMENTAL: Rewrite From: header to match actual sender" option enabled and to exclude a user on the system from it's behavior.

    Thank you.
     
Loading...

Share This Page