|
| <prev next> |
helperscript to support missing function: msg#00062mail.maildrop
Hi, formail has the option -rD Which is like the -D option with the difference that the email-address of the sender is used instead of a message ID. This -r option is not supported by reformail as far as I know. I wrote the following script: http://www.xs4all.nl/~hanb/software/reformail-rD Which can be used in auto-replies for example: So I will only ask people once not to CC me on mailinglists. Vacation/out of office autoreplies is another example where this feature comes in handy. # fluxbox-devel mailing-list if (/^Sender.*fluxbox-devel-admin@xxxxxxxxxxxxxxxxxxxxx$/) to $DEFAULT/fluxbox-devel # Automatic single reply to people who cc me on mailinglist to which I # am subscribed. if (! /^X-Loop: han@xxxxxxxxxxxxxxx/ && \ /^Subject: Re:/ && \ /^(Cc|To).*(fluxbox-devel|morelists...)@/) { `reformail-rD 8192 $DEFAULT/auto_cc_dbase` if ( $RETURNCODE == 0 ) { log '====> Cc: detected, replied and deleted.' `$HOME/.mutt/auto_cc_reply` to $TRASHCAN } else { log '====> Cc: detected, already replied before so just deleted.' to $TRASHCAN } } Yes, this is a feature request. I just had the code in my mind so I wrote it down. :) # Han -- Linux, the choice .~. People will buy anything that's one to a of a GNU generation / V \ customer. Kernel 2.6.2-rc2 /( . )\ on a i686 ^-^ ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | keeping two email servers in sync: 00062, Joaquim Laureano |
|---|---|
| Next by Date: | Re: keeping two email servers in sync: 00062, Roland |
| Previous by Thread: | keeping two email servers in synci: 00062, Joaquim Laureano |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |