34 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Quick question ab...
FromSent OnAttachments
Julian MehnleJan 18, 2005 12:03 pm 
ScottJan 18, 2005 6:57 pm 
Frederik DannemareJan 18, 2005 7:54 pm 
Julian MehnleJan 19, 2005 4:00 am 
Alexander LazicJan 19, 2005 5:01 am 
Julian MehnleJan 19, 2005 7:50 am 
Alexander LazicJan 19, 2005 2:07 pm 
Jay LeeJan 19, 2005 2:23 pm 
Gordon MessmerJan 19, 2005 3:18 pm 
Sam VarshavchikJan 19, 2005 3:35 pm 
Julian MehnleJan 19, 2005 3:42 pm 
Gordon MessmerJan 19, 2005 3:56 pm 
Sam VarshavchikJan 19, 2005 4:07 pm 
Mitch (WebCob)Jan 19, 2005 4:42 pm 
Mitch (WebCob)Jan 19, 2005 4:46 pm 
Sam VarshavchikJan 19, 2005 5:13 pm 
Gordon MessmerJan 19, 2005 6:11 pm 
Sam VarshavchikJan 19, 2005 6:17 pm 
Gordon MessmerJan 19, 2005 10:38 pm 
Alexander LazicJan 20, 2005 2:29 am 
Alessandro VeselyJan 20, 2005 4:56 am 
Mark BucciarelliJan 21, 2005 1:02 pm 
Julian MehnleJan 21, 2005 3:03 pm 
Julian MehnleJan 24, 2005 8:15 am 
Gordon MessmerJan 26, 2005 10:51 am 
Gordon MessmerJan 26, 2005 12:53 pm.patch
Sam VarshavchikJan 26, 2005 4:22 pm 
Gordon MessmerJan 26, 2005 10:46 pm 
Alessandro VeselyJan 28, 2005 1:49 am 
Gordon MessmerJan 28, 2005 10:37 am 
Bill LongJan 29, 2005 3:42 pm 
Sam VarshavchikJan 29, 2005 4:51 pm 
Bill LongJan 29, 2005 5:29 pm 
Bill LongJan 30, 2005 1:23 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Quick question about couriermlm & spamActions...
From:Bill Long (bill@longboys.net)
Date:Jan 30, 2005 1:23:50 pm
List:net.sourceforge.lists.courier-users

Hmm..strange.

If I just copy the mail user "research"'s .courier-default file to .courier-subscribe (contents of .courier-default = | /usr/lib/courier/bin/couriermlm ctlmsg /vol2/courier/lists/CCN-Research ) and try to send to rese@mydomain.com I get the following error from my maillog Jan 30 13:33:04 ns courierlocal: id=000C9B50.41FD528F.000005B9,from=<sen@otherdomain.net>,addr=<rese@mydomain.com>: Invalid address.

But just having the regular .courier-default works okay for the same message.

The only thing I'm doing that's not ordinary is that for this mail user, it's only used for the list, so i haven't implemented(well I have, but it's not using it) the .courier-<listname>-default to invoke the couriermlm. I'm doing it straight from my .courier-default, so that sending messages to research-subscribe@, research-help@ and research@ all invoke the couriermlm stuff. This has been working just fine, so I don't think this is the problem.

Did I miss something?

(sorry for the personal post to you Sam, I geeked the reply)

Sam Varshavchik wrote:

Bill Long writes:

Hi all:

Is there a way to have couriermlm require "subscribe" or some such thing in the subject or body of a subscription email? What I'm seeing is ton's of spammer's email going to my <maillist>-subs@foo.bar.com. For the non-moderated lists, this is fine, but for the lists that require approval before the subscription is accepted, it's a real pain. Fully 99% of the subscription-requests I'm getting are from spammers. I'm thinking if it checked for the word "subscribe" or some other such word in the body or subject line, it would filter all that crap out.

I don't have a problem going in and hacking away as the couiermlm code, but wanted to check to see if somebody had done it already before I jump into it.

Copy .courier-{listname}-default to .courier-{listname}-subscribe, and have .courier-{listname}-subscribe invoke a script first that checks for the required content. An exit code of 99 drops the message. An exit code of 0 proceeds with the next delivery instruction which invokes couriermlm, and it's back to business as usual.