[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: thunderbird: how to backup mailbox and restore quickly



> The expected file /tmp/November didn't create.

Maybe Procmail won't deliver in /tmp because everybody
can read and write there.
Maybe ^Received: .*;.*Nov 2006
doesn't match anything in the mail.
Test that with egrep.

Now I change the rcfile as:
yuwen@latitude:~$ cat rcfile
:0:
* ^Received: .* Dec 2006
/home/yuwen/December

:0:
/dev/null

and the command
$ egrep "^Received: .* Dec 2006" Inbox

have output.

Now I move both Inbox and the expected result to my home dir. But command

$ formail -s < Inbox |procmail /home/yuwen/rcfile

still didn't create /home/yuwen/December.

> A very large file in
> /var/mail was created instead. Any idea?

That would be the default delivery.
Your procmail file should end with this

:0
/dev/null

to prevent that.

yes, there's no big /var/maile/$LOGNAME now.

Best regards,
Yuwen
 

Cameron



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: