Date: Wed, 29 Mar 2006 07:39:48 -0600 From: Derek Ragona <derek@computinginnovations.com> To: Mikhail Teterin <mi+mx@aldan.algebra.com> Cc: questions@freebsd.org Subject: Re: virtusertable blocking seems to have no effect Message-ID: <6.0.0.22.2.20060329073708.028e75e0@mail.computinginnovations.com> In-Reply-To: <200603282154.40174.mi%2Bmx@aldan.algebra.com> References: <200603281422.57389.mi%2Bmx@aldan.algebra.com> <6.0.0.22.2.20060328175342.028dbf20@mail.computinginnovations.com> <200603282154.40174.mi%2Bmx@aldan.algebra.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Did you compile the access database? Typically done with: /usr/sbin/makemap hash /etc/mail/access < /etc/mail/access -Derek At 08:54 PM 3/28/2006, Mikhail Teterin wrote: >=D7=A6=D7=D4=CF=D2=CF=CB 28 =C2=C5=D2=C5=DA=C5=CE=D8 2006 18:55, Derek= Ragona =CE=C1=D0=C9=D3=C1=D7: > > 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"... > >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: > > > > > > stol@example.com foo > > > hq@example.com 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=3D550= 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: > > ><xgfytxswpcpc@blackalpinist.com>... No spam,thanks > > >Mar 28 13:45:58 corbulon sendmail[40026]: k2SIjvvb040026: > > >from=3D<example@example.net>, size=3D3305, class=3D0, nrcpts=3D0,= proto=3DESMTP, > > >daemon=3DMTA, relay=3Dexample.example.net [xx.x.xx.xxx] > > > > > >Despite the "No spam,thanks" the message was accepted. > > > > > >What am I doing wrong? Thanks! > > > > > > -mi > > >_______________________________________________ > > >freebsd-questions@freebsd.org mailing list > > >http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > >To unsubscribe, send any mail to > > > "freebsd-questions-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.0.0.22.2.20060329073708.028e75e0>