[exim] Dropping Mail

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Q Beukes
Dátum:  
Címzett: exim-users
Tárgy: [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