Charlie reminded me that the below requires the rejectmsg script. Whoops on my part. This would have been explained in the mindwell archive (dead).
If the auto-reply uses a particular subject you can just:
4.8: How to bounce messages with a certain word in the subject? If the string you're filtering agains is "foobar", then put something like this in rc.local.s00
:0 * ^Subject:[ ]*.*foobar.* | formail -rtk -I "Subject: Posting of
followup rejected (was: $MATCH)"
Or, (I can't seem to find the reject_garbage.txt anywhere so here is a copy of mine):
# This file contains several examples of how you can customise SmartList # through the RC_LOCAL_SUBMIT_00 hook. # # to kill messages that ask for a "Return Receipt". Lotus Notes # will reply dutifully but in a misconfigured way, to the addresses # in the "To:" header
:0 Hhw
- ^Disposition-Notification-To: { :0 c | formail -i "Subject: ***asking
for Return Receipt"|$SENDMAIL -oi $maintainer :0 | rejectmsg -receipt }
# from a suggestion by Tim Pierce twpierce@rootsweb.com # below was "* ^begin [0-7][0-7][0-7] .*"
:0 hBHw
- ^begin [0-7][0-7][0-7] [a-zA-Z0-9_.-]+ { :0 c | formail -i "Subject: ***uuencode or
winmail.dat***warning"|$SENDMAIL -oi $maintainer
:0 | rejectmsg -attach }
There is a member of our list who has his mail client set to include a read receipt on every message. He refuses to remove the read receipt when posting to our list. Since this hasn't previously been a rule on the list, I'm reluctant to take action against him. I'd like to know if it's possible to simply remove the receipt request before the post goes out to the list.
Thanks! -Judy
Smartlist mailing list Smartlist@lists.RWTH-Aachen.DE http://MailMan.RWTH-Aachen.DE/mailman/listinfo/smartlist