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.

internal users spoofing

Discussion in 'E-mail Discussions' started by landm, May 23, 2013.

  1. landm

    landm Registered

    Joined:
    May 23, 2013
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi,

    I would like to forbid my users send mails with different from than the authenticated user. Yes, it is not RFC, but some users "forget" their passwords and spammers use them.
    I think the piece of code is:
    deny
    authenticated = *
    condition = ${if eq {$authenticated_id}{${lc:$sender_address}}\
    {no}{yes}}
    message = rejected: You must send as the ID you authenticate with.

    But I don't know where should be or whether I would use system filter.

    Thank you in advanced,
    LandM
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Custom changes to the /etc/exim.conf file can be configured using:

    "WHM Home » Service Configuration » Exim Configuration Manager >> Advanced Editor"

    Thank you.
     
  3. landm

    landm Registered

    Joined:
    May 23, 2013
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi Michael,

    Thanks, but what I need is to know where to put this piece of code. I try custom_begin_pre_recipient, but include incoming mails, and I need to apply only in auth messages.

    Regards,
    Lucas
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    You could try in the following section:

    Section: ROUTERSTART

    However, you may want to review the Exim documentation to determine a specific are where it should be used:

    Exim Custom ACL

    Thank you.
     
Loading...

Share This Page