On Fri, Dec 13, 2002 at 10:00:07PM -0500, Mike Leone wrote:
if ((/^X-Spam-Status:.*Yes/))
{
echo Your Email was Rejected by our SPAM filters. Sorry.
EXITCODE=100
exit
}
Maybe I need to rephrase that: It informs the *sender*. What I like
Actually, this *appeared* to work in testing, but once in production, it
became pretty clear that the exitcode wasn't doing what I had
thought/hoped; keeping bounce messages out of the queue.
The only other way I know of dealing with this at the MDA level is to
route rejected email to /dev/null,
On Sun, 29 Dec 2002, [EMAIL PROTECTED] wrote:
Actually, this *appeared* to work in testing, but once in production, it
became pretty clear that the exitcode wasn't doing what I had
thought/hoped; keeping bounce messages out of the queue.
The only other way I know of dealing with this at
Maxime Ritter ([EMAIL PROTECTED]) had this to say on 12/29/02 at 13:27:
On Fri, Dec 13, 2002 at 10:00:07PM -0500, Mike Leone wrote:
if ((/^X-Spam-Status:.*Yes/))
{
echo Your Email was Rejected by our SPAM filters. Sorry.
EXITCODE=100
exit
Does anyone know if there is a way that I can have SA send a
message that is detected as spam back to the spammer stating
you are not welcome and this message is blocked...??
Or is that asking for trouble.
Thanks
Jim
Get your own 800 number
At 10:55 AM 12/13/2002, you wrote:
Does anyone know if there is a way that I can have SA send a
message that is detected as spam back to the spammer stating
you are not welcome and this message is blocked...??
Or is that asking for trouble.
I think it's been brought up before - SA has no
Well, that's not really something SA itself can do at all.. SA is just a
filter, it can't deliver, delete, or do anything else but change the
content of an email. However the MUA/MTA that you are calling SA from could
be capable of such things. A good procmail recipe should be able to do it..
On Fri, 13 Dec 2002 the voices made James D. Stallings write:
Does anyone know if there is a way that I can have SA send a
message that is detected as spam back to the spammer stating
you are not welcome and this message is blocked...??
1. SA doesn't send nor delete e-mails, it just tags
If you want to bounce mail that you are sure is spam,
you'll want to integrate SA with a milter like
mimedefang. Then you can just do:
if ($hits = $req) {
return action_bounce(Message looks like SPAM, rejected);
}
You can also keep a copy of the message in quaranteen for a
few days in case
This varies depending on the MDA. With maildrop (used with Maildir), you
would have something like:
if ((/^X-Spam-Status:.*Yes/))
{
echo Your Email was Rejected by our SPAM filters. Sorry.
EXITCODE=100
exit
}
to ./Maildir/.
On Fri, 13 Dec 2002, James D. Stallings wrote:
Does
[EMAIL PROTECTED] ([EMAIL PROTECTED]) had this to say on 12/13/02 at 18:20:
This varies depending on the MDA. With maildrop (used with Maildir), you
would have something like:
if ((/^X-Spam-Status:.*Yes/))
{
echo Your Email was Rejected by our SPAM filters. Sorry.
EXITCODE=100
[EMAIL PROTECTED] ([EMAIL PROTECTED]) had this to say on 12/13/02 at 21:43:
Maybe I need to rephrase that: It informs the *sender*. What I like about
exit code 100 is that it doesn't queue the message and clog my queue.
Anyway, I've tested this. It definitely passes the echo back. Here is
12 matches
Mail list logo