At 09:22 2007-06-03 +0800, DR. Lee - NS1 wrote:
now, bobx is a valid userid at all the hosted domains (which is VERY
undesireable as dictionary spamfloods hammer that one user)
-- unless you
have virtusertable entries for each valid userid, and a catchall like:
@host.domain.tld ERROR:nouser User unknown
@ns1.penit.com ERROR:No such user
I tested your suggestion and it works fine. But the error message
returned to the sender when sending mail with wrong domain is not "No such
user" as I expected, but "User Unknown".
FTR, the text immediatley after ERROR: is actually an error code - the text
AFTER that is error text. Alternatley, it can be a numeric code:
nospam(_at_)domain(_dot_)tld ERROR:5.5.0:550 SPAM is not accepted here
(but of course, all of this is MTA specific, and has little to do with
What exactly do you mean by "wrong domain" ? If the host isn't configured
to accept mail for the domain (in Sendmail parlance, local-host-names),
then it shouldn't be necessary to reject mail for that domain anyway.
Sean B. Straw / Professional Software Engineering
Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
Please DO NOT carbon me on list replies. I'll get my copy from the list.
procmail mailing list Procmail homepage: http://www.procmail.org/