[exim] Block all emails from a domain EXCEPT to certain user…

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Will Smith
Data:  
Para: Exim-users List
Asunto: [exim] Block all emails from a domain EXCEPT to certain users
I thought this would be easier than it is, but I am nervous to pull the
trigger.

I want to block one entire domain from sending my domain emails, except to
certain users. For instance, I want to black @senderdomain.net, except when
the recipient email is will@??? and william@???.

I found a post in the old mailing lists, that said I would need to do
something like this:

echo 'senderdomain.net: !will : !william : *' >
/etc/exim4/reject_senderdomain

And then add in my rcpt acl:
deny recipients = @@lsearch;/etc/exim4/reject_senderdomain
message = Please redirect all emails to will or william.

So, my question. Will that work for what I want to do?

Thanks,

Will Smith--
openbydesign
801-755-7778