Send mail as another user
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
-
Hello John, . Joe gets emails addressed to sales@example.com[/EMAIL], he wants to reply from sales@example.com[/EMAIL], Outlook lets him do this, but we have a setting on the server that says Joe's email address must be "joe@example.com[/EMAIL]"
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.. Joe's assistant, Jack sends email on Joe's behalf. So we need jack@example.com[/EMAIL] to be able to send email from joe@example.com[/EMAIL]
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.0 -
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 0 -
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
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.0
Please sign in to leave a comment.
Comments
3 comments