I now have a lookup that accepts emails only for addresses that are in
the database.
accept condition = ${lookup mysql{SELECT count(*) from addresses \
WHERE active AND domain='${quote_mysql:$domain}' \
AND local_part='${quote_mysql:$local_part}'}}
deny
It works great but I don't want to contribute to backscatter by
sending denial messages back to the sender everytime an address is
rejected. Right now it sends out and email like:
SMTP error from remote mail server after RCPT TO:<[EMAIL PROTECTED]>:
host duvals.ca [74.51.38.171]: 550 5.1.1 <[EMAIL PROTECTED]>:
Recipient address rejected: User unknown in virtual alias table
Can I turn that off and just not have it reply at all?
--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/