On Thu, May 5, 2005 12:43 pm, Joseph Oaks said:
> David, the way the validrcptto patch for qmail works is this,
> you have a file in the /var/qmail/controls/ called validrcptto
> in that file you specify all your valid email address that
> your server accepts emails for. During the smtp handshake
> the smtp checks the rcptto filed and checks it against the
> validrcptto file if a match is made then it accepts the message,
> if not then it drops the connection right then without reading
> the rest (body) of the message. This patch had cut my qmail
> servers load down by about 80% and then thats not even taking
> a look at the network load that is saved.

if you have access to the validrcptto patch, then make a change to it to
first check in the validrcptto file if the user exists. if not then call
tmda-check-address with the rcpt address and see if it is a valid address
( you can generate the actual email address form the rcptto address by
taking the first portion before '-' and add to it @yourdomain.dom and
figure out the correct tmda config file. If the check passes, accept it
else reject it.

just an idea
R'twick
_____________________________________________
tmda-users mailing list ([email protected])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to