Hi all,
I don't want users to use their domain or my directadmin server for sending email (outgoing mailserver in their client)
Therefor i did the following :
In exim.conf
\
So if there is a file called smtp_disabled then he can't send mail trough my server.
The problem i have now is they also can't send mail trough webmail. How can i work around this?
I am using this construction because if a client desides to pay some extra i can remove the smtp_disabled file and he can use his domain as smtp outgoing server.
Hope someone has a solution.
I don't want users to use their domain or my directadmin server for sending email (outgoing mailserver in their client)
Therefor i did the following :
Code:
touch /etc/virtual/domain.com/smtp_disabled
In exim.conf
Code:
deny condition = ${if exists{/etc/virtual/${sender_address_domain}/smtp_disabled} {yes}{no}}
message = $sender_address_domain not allowed to use smtp.
authenticated = *
So if there is a file called smtp_disabled then he can't send mail trough my server.
The problem i have now is they also can't send mail trough webmail. How can i work around this?
I am using this construction because if a client desides to pay some extra i can remove the smtp_disabled file and he can use his domain as smtp outgoing server.
Hope someone has a solution.