[exim] Dropping Mail

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Q Beukes
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: [exim] Dropping Mail
Hey,

I want to be able to drop mail to certain e-mail accounts. How would I
do this?

Basically I want to have a mysql table with a list of e-mail addresses,
then if exim receives an email with for of these e-mail addresses, it
should ignore/bounce it.

What I have at the moment is a dump email address where I simply forward
the mail, but it would be much more preferable bounce it.

mysql_spam_addr:
  driver = redirect
  allow_fail
  allow_defer
  data = ${lookup mysql \
               { SELECT 'drop@???' FROM spam_addr WHERE
email='${local_part}@${domain}' } \
       }


Thx Alot
Quintin