At 06:54 PM 3/28/2006, Mikhail Teterin wrote:
צ×ÔÏÒÏË 28 ÂÅÒÅÚÅÎØ 2006 18:55, Derek Ragona ÎÁÐÉÓÁ×:
> Block that in /etc/mail/access instead, use this syntax:
> @example.com ERROR:550 " No spam, thanks"
>
> Note the leading space and use of double quotes.
Nope, that went back to saying "User unknown" instead of "No spam"...
I use this in my virtusertable:
[EMAIL PROTECTED] error:nouser 550 No such user here
but you should be able to change the message half of that with no trouble.
That generates the following in my sendmail logs:
Mar 28 18:43:08 foo sendmail[11056]:
k2T2g3Le011056: <[EMAIL PROTECTED]>... No such user here
Mar 28 18:43:11 foo sendmail[11056]:
k2T2g3Le011056: lost input channel from
200-100-163-150.dial-up.telesp.net.br [200.100.163.150] to MTA after rcpt
Mar 28 18:43:11 foo sendmail[11056]:
k2T2g3Le011056: from=<[EMAIL PROTECTED]>, size=0,
class=0, nrcpts=0, proto=SMTP, daemon=MTA,
relay=200-100-163-150.dial-up.telesp.net.br [200.100.163.150]
-Glenn
Thanks!
-mi
> At 01:22 PM 3/28/2006, Mikhail Teterin wrote:
> >Hi!
> >
> >I host a domain with a handful of "real" addresses. I noticed, that
> >spammers are using a variety of random-generated names @mydomain and wish
> >to block such addresses with "No spam" responses instead of "User
> > unknown".
> >
> >Here is (almost) what I have in the virtusertable:
> >
> > [EMAIL PROTECTED] foo
> > [EMAIL PROTECTED] bar
> > @example.com error:5.7.0:550 No spam, thanks
> >
> >I can see the "No spam,thanks" messages logged in the maillog (without the
> >space after coma, for some reason), but there is no reject=550 message
> >logged (which interferes with my other software) and some of these
> >messages seem to pass through (although others are intercepted by other
> >anti-spam defenses).
> >
> >For example, here are the only two log entries, that a spam message
> > generates:
> >
> >Mar 28 13:45:58 corbulon sendmail[40026]: k2SIjvvb040026:
> ><[EMAIL PROTECTED]>... No spam,thanks
> >Mar 28 13:45:58 corbulon sendmail[40026]: k2SIjvvb040026:
> >from=<[EMAIL PROTECTED]>, size=3305, class=0, nrcpts=0, proto=ESMTP,
> >daemon=MTA, relay=example.example.net [xx.x.xx.xxx]
> >
> >Despite the "No spam,thanks" the message was accepted.
> >
> >What am I doing wrong? Thanks!
> >
> > -mi
> >_______________________________________________
> >[email protected] mailing list
> >http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >To unsubscribe, send any mail to
> > "[EMAIL PROTECTED]"
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"