[exim] Mail accepted for non-existent users

Top Page
Delete this message
Reply to this message
Author: DaJoob
Date:  
To: exim-users
Subject: [exim] Mail accepted for non-existent users
I have exim (4.40) set up to use mysql to get user information (see
configure at http://www.dajoob.com/configure). Whenever exim receives an
e-mail for a local user that is not in the mysql database, it is saved
to /var/mail/user anyways. Unfortunately, I receive many thousands of
spam e-mails per day sent to random addresses, which get saved to
/var/mail, eating up my disk space and server resources. How do I make
exim check if a user exists in the mysql database before saving e-mail
for him?

Sidenote:
Is there a way I can see how much mail each user is sending out? I think
I may have spammers using my server, and would like to find out who it is.