DaJoob <DaJoob@???> wrote:
> 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?
It sounds like you have a router defined for handling delivery to traditional
local users. If you don't need this function at all, you can just comment it
out of your configure file.
> 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.
IIRC, eximstats can show per user information. I believe '-byemail' may
be what you're looking for.
thanks,
mikeS
--
Michael Sprague | mfs@???
Partner | System and Network Engineering (SaNE), LLC
use STD::disclaimer;