Skip to main content

Sending as different users [Postfix works, Exchange works, how can I do this in Exim]

Comments

4 comments

  • Steini Petur
    @cPanelMichael Would you know how this can be accomplished?
    0
  • cPanelLauren
    I believe you can do this by setting up an identity to send from in Webmail. From Roundcube go to Settings (the gear on the left-hand side) -> Identities -> Create Here's how I created mine: (You should be able to click the thumbnail to make it readable) Now I will note that you will continue to see two headers that cPanel & WHM adds which reference the original sender: X-Get-Message-Sender-Via: server.mydomain.com: authenticated_id: lauren@mydomain.com X-Authenticated-Sender: server.mydomain.com: lauren@mydomain.com
    These are added into /etc/exim.pl: [root@server /]# grep -ir "X-Authenticated-Sender" /etc/exim* /etc/exim.pl.local: return "X-Get-Message-Sender-Via: " . ( $primary_hostname ||= Exim::expand_string('$primary_hostname') ) . ": " . get_sender_lookup_method() . "\n" . "X-Authenticated-Sender: " . ( $primary_hostname ||= Exim::expand_string('$primary_hostname') ) . ": " . get_sender_lookup();
    And you *could* remove those but the customization to do so would be unsupported. There's an old thread that appears to still be relevant on this here:
    0
  • Steini Petur
    Thank you so much @cPanelLauren for this solution, I believe this might work, this should hide the header and even if unsupported, it's at least one way to do it, really wish though that it was a part of the Tweak Settings :)
    0
  • cPanelLauren
    Thank you so much @cPanelLauren for this solution, I believe this might work, this should hide the header and even if unsupported, it's at least one way to do it, really wish though that it was a part of the Tweak Settings :)

    Yea even I got fooled and thought the tweak setting that is present would do it, thankfully I tested it before I responded to you. I'm really glad to have helped you find a solution to this!! Thanks!
    0

Please sign in to leave a comment.