Great Christian! When I rambled earlier in this thread about a mail wrapper script I never thought of just sending the mail directly to procmail. I just followed your directions and it works wonderfully. Now I can do lots of things like save to multiple folders based on recipient, change sigs based on recipient (group or single recipient, which group, what day it is, etc).
In fact I can filter outbound mail as fine grained as inbound. Thanks for figuring that out. DAve On Fri, Oct 19, 2001 at 03:04:05PM +0200, Christian Hammers wrote: > Hello > > On Wed, Oct 10, 2001 at 10:01:53AM -0400, David T-G wrote: > > % I want to save to more than one mailbox e.g. one "month.2001-10" and one > > % "customer.xy" mailbox to archive my mail and find it quickly. How can I > > % do this, saving with FCC is according to manual limited to one mailbox. > > Just for your interest, here is how I did it. Works fine. > > bye, > > -christian- > > ~/.procmailrc > ... > :0 c: > OLD/today <- rotatet every day to yesterday and then removed > :0 c: > OLD/ch <- rotatet every month to ch.2001-10 etc > ... > > ~/.muttrc > ... > set sendmail="/usr/local/bin/procmail /export/home/usr/ch/.procmailrc-out" > ... > > ~/.procmailrc-out > PATH=/bin:/usr/bin:/export/home/usr/ch/bin > LOGFILE=/export/home/usr/ch/Mail/.procmail-out.log > MAILDIR=/export/home/usr/ch/Mail # You'd better make sure it exists > > # mein monatlich rotiertes Gesamtarchiv > :0 c > |formail >> $MAILDIR/OLD/ch > > # alle Mails von diesem Tag werden hier gespeichert > :0 c > |formail >> $MAILDIR/OLD/today > > # $DEFAULT > :0 > |/usr/lib/sendmail -t > > > -- > Christian Hammers WESTEND GmbH - Aachen und Dueren Tel 0241/701333-0 > [EMAIL PROTECTED] Internet & Security for Professionals Fax 0241/911879 > WESTEND ist CISCO Systems Partner - Premium Certified > -- My other computer is your Windows machine...
