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 set acl_check_data for Exim in WHM?

Discussion in 'E-mail Discussion' started by deep-thought, Feb 18, 2013.

  1. deep-thought

    deep-thought Registered

    Feb 18, 2013
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator

    In order to prevent other users to forge email addresses being created on my server. So I got the idea that user authentication (requiring authenticaton to send mail "from" my domains on the server) and a lookup list of allowed email addresses for each account would "secure" it.

    Therefore I want to set acl_check_data for Exim as follows:
    deny set acl_m_sender_address = ${address:$h_from}
    set acl_m_sender_domain = ${domain:$h_from}
    condition = ${if match_domain
    message = Only authenticated users can send mail from our domain
    ! authenticated = *

    deny set acl_m_allowed_addrs = ${lookup {$authenticated_id}
    lsearch {/etc/exim/user_allowed_addresses}}
    message = $authenticated_id is not allowed to call themselves \
    condition = ${if !match_address

    And then put allowed addresses in /etc/exim/user_allowed_addresses?

    Does someone know, how to set both in WHM? I cannot find acl_check_data or user_allowed_addresses...


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