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!

internal users spoofing

Discussion in 'E-mail Discussion' 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:
    43,699
    Likes Received:
    1,790
    Trophy Points:
    363
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  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:
    43,699
    Likes Received:
    1,790
    Trophy Points:
    363
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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