procmail
[Top] [All Lists]

Re: msgs get stored twice

2000-11-06 02:45:06
* Boz <Bozinsky(_at_)mac(_dot_)com> [20001106 11:17]:
=>Hi,
=>
=>I got a problem with my procmail (v3.15) config.
=>I use the maildir format and want to sort all messages from 'someone'
=>under $HOME/Maildir/.someones/
=>
=>My .procmailrc file looks like this:
=>
=>VERBOSE=ON
=>
=>MAILDIR=$HOME/Maildir
=>PMGDIR=$HOME/.procmail
=>LOGFILE=$PMGDIR/log
=>DEFAULT=$MAILDIR/
=>
=>:0:
=>* ^From.*someone
=>$MAILDIR/.someones/
=>
=>It worked pretty good as long as I used mbox format, but now procmail
=>stores all mails that match the above filter in $MAILDIR/.someones/new
=>_AND_ in $MAILDIR/new. I reviewed faqs and mailings lists, but still
=>wasn't able to find a solution to my problem.

Pls let me know what the solution you'll be given looks like...I have a
user who has the same issue...

For the time being, why not try this?

:0:
* ^From.*someone
{
 :0 c
 $MAILDIR/.someones/
 :0
 /dev/null
}

I think that the first condition will save it and the next one will then
delete it - so no copy for .someones/new 

HTH

-Wash

--
Odhiambo Washington  Inter-Connect Ltd.,
wash(_at_)iconnect(_dot_)co(_dot_)ke  5th Flr Furaha Plaza
Tel: 254 11 222604   Nkrumah Rd.,
Fax: 254 11 222636   PO Box 83613 MOMBASA, KE.

Outside of the killings, Washington has one of the lowest crime rates in the 
country. -Mayor Marion Barry, Washington, DC 
(contributed by Chris Johnston) 
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>