Re: [SAtalk] Spam Rejection Message

2002-12-29 Thread Mike Leone
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

Re: [SAtalk] Spam Rejection Message

2002-12-29 Thread Robert James Kaes
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

Re: [SAtalk] Spam Rejection Message

2002-12-29 Thread up
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,

Re: [SAtalk] Spam Rejection Message

2002-12-29 Thread Maxime Ritter
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 th

Re: [SAtalk] Spam Rejection Message

2002-12-13 Thread Mike Leone
[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 i

Re: [SAtalk] Spam Rejection Message

2002-12-13 Thread up
On Fri, 13 Dec 2002, Mike Leone wrote: > [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

Re: [SAtalk] Spam Rejection Message

2002-12-13 Thread Mike Leone
[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." > EXIT

Re: [SAtalk] Spam Rejection Message

2002-12-13 Thread up
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: > > Do

Re: [SAtalk] Spam Rejection Message

2002-12-13 Thread Michael Grau
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

Re: [SAtalk] Spam Rejection Message

2002-12-13 Thread Tony L. Svanstrom
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 '

Re: [SAtalk] Spam Rejection Message

2002-12-13 Thread Matt Kettler
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.. U

Re: [SAtalk] Spam Rejection Message

2002-12-13 Thread Evan Platt
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 sendi