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!

How to require email "From" and authenticator to be the same?

Discussion in 'E-mail Discussion' started by M | Tracy, May 15, 2007.

  1. M | Tracy

    M | Tracy Registered

    Joined:
    Oct 8, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    151
    Hi,

    How can I configure exim to require the email "From" address to be the same as the authenticating email address?

    What I am trying to prevent is joe.user@domain.com from sending out an email as ceo.user@domain.com.

    I know when I used to use qmail this could be configured, and I would like to do the same within exim.

    Thanks in advance for the help/ideas?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. nisse

    nisse Well-Known Member

    Joined:
    Nov 11, 2003
    Messages:
    87
    Likes Received:
    0
    Trophy Points:
    156
    Try this:

    deny
    authenticated = *
    !condition = ${if match{$sender_address}{$authenticated_id}}
    message = Addresses do not match
     
  3. M | Tracy

    M | Tracy Registered

    Joined:
    Oct 8, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    151
    Nisse,

    Would it matter if it is at the beginning or the end of the ACL's?

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. nisse

    nisse Well-Known Member

    Joined:
    Nov 11, 2003
    Messages:
    87
    Likes Received:
    0
    Trophy Points:
    156
    Putting it right at the top of ACL_RCPT_TO works fine. Wherever you put it, make sure it goes before any "accept authenticated = *" line in the ACL concerned. :)
     
  5. M | Tracy

    M | Tracy Registered

    Joined:
    Oct 8, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    151
    Nisee,

    Sorry for the delay in responding to this thread.

    I looked at the conf file and did a search for the strings ACL_RCPT_TO and accept authenticated = * and could not find them.

    If you could spell it out in big handwriting, I would sure appreciate it :D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. bucketshop

    bucketshop Registered

    Joined:
    Sep 24, 2006
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    151
    Hi,

    Can someone help me with this ACL.

    When I put it in at the top of the ACL list, and save, I get an error about the syntax being wrong.

    When I take it back out, everything works fine.

    Any ideas?
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice