[exim] blocking an email address, and using fetchmail

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Brent Clark
Dátum:  
Címzett: exim-users
Tárgy: [exim] blocking an email address, and using fetchmail
Hi all

The setup I have is:
I use fetchmail to fetch my pop mail from a certain account, and then
that mail is handed over to exim to process.

The problem I am sitting with, is that in my exim4.conf file. I have a
block rcpt list, which is working beautifully, but I see that when
fetchmail tries to offer the mail from the banned rcpt, then fetchmail
rejects the mail, and then mail sits in the queue.

But I would like is that, Exim would reply back to the banned person,
with some message of some sort.

Would any be so kind as to share your thoughts, input on this one.

Kind Regards and thanks in advance
Brent Clark

My top of my fetchmail.conf file
==================================================================
mail:~# cat /root/fetchmailrc
set postmaster abc
set bouncemail


Section of blacklisted mail:
==================================================================
acl_check_rcpt:
accept hosts = :

   deny    domains       = +local_domains
           local_parts   = ^[.] : ^.*[@%!/|]
           message       = restricted characters in address


   deny    domains       = !+local_domains
           local_parts   = ^[./|] : ^.*[@%!] : ^.*/\\.\\./
           message       = restricted characters in address


   accept local_parts = postmaster
          domains = +local_domains


   deny message = This email is blacklisted
   !acl = acl_whitelist_local_deny
   senders = ${if exists{CONFDIR/local_sender_blacklist}\
                              {CONFDIR/local_sender_blacklist}\
                              {}}