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 [EMAIL PROTECTED] I get the following error from my maillog
Jan 30 13:33:04 ns courierlocal: id=000C9B50.41FD528F.000005B9,from=<[EMAIL PROTECTED]>,addr=<[EMAIL PROTECTED]>: 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>[EMAIL PROTECTED] 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.




-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to