Title: Mail gateway to reject mail to invalid users

I'm having a problem and was wondering if any of you had ideas on what I could do.

I have one primary mail server and one spam filtering server. My mail server runs vpopmail/mysql/chkuser. It all works very well.

Right now the filtering server is accepting all mail for domains that reside on the mail server...then the mail server is rejecting the message if it is bound for an invalid account. This is causing a huge backlog of messages that can't be bounced and just sit in the queue on the filtering server until they time out.

What I need to do is to find a way to set up a mail gateway that will reject messages (chkuser style) and put it in front of my spam filtering server. Since my filter is proprietary, it doesn't tie into vpopmail/mysql. The problem that I'm having right now is that chkuser accesses the domain directory directly to check for catchall accounts. Is there a way that I can set up a simple gateway that will make sure that account is valid _only using mysql calls_ before accepting the message…then forward it on to the filtering server? I do set a pw_catchall filed in the database when a catchall is set. I just haven't seen anything that will make a decision based on the contents of that field.

Thanks in advance for any ideas,

-jw-

<<attachment: winmail.dat>>

Reply via email to