Skip site navigation (1)Skip section navigation (2)
Date:      06 Dec 2001 21:54:48 +0000
From:      Wayne Pascoe <freebsd@molemanarmy.com>
To:        freebsd-questions@freebsd.org
Subject:   reprocessing mail with procmail
Message-ID:  <86lmggui8n.fsf@pan.home.penguinpowered.org.uk>

next in thread | raw e-mail | index | archive | help
Hi all,

I have a batch of mail in /var/mail/user that I want to process
into multiple mail boxes based on the To field.

I have a .procmailrc that looks like this

:0:
* ^To.*1.*
/home/user/mail/1

:0:
* ^To.*2.*
/home/user/mail/2

:0:
* ^To.*3.*
/home/user/mail/3

Running 
procmail -d user < /var/mail/user

just doubles the size of the file /var/mail/user

Any ideas what I'm doing wrong and how to fix it ?

Thanks,

-- 
- Wayne Pascoe
                                 | If there's anything more important than
freebsd@molemanarmy.com          | my ego around, I want it caught and shot 
http://www.molemanarmy.com       | now!
                                 | 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86lmggui8n.fsf>