Hello,
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
{$acl_m_sender_domain}{$local_domains}}
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 \
$acl_m_sender_address
condition = ${if !match_address
{$acl_m_sender_address}{$acl_m_allowed_addrs}}
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...
Regards,
Sandra
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
{$acl_m_sender_domain}{$local_domains}}
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 \
$acl_m_sender_address
condition = ${if !match_address
{$acl_m_sender_address}{$acl_m_allowed_addrs}}
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...
Regards,
Sandra