Re: OT - How to test procmail on existing mailbox

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

 



Mike Burger wrote:
> Instead of running it in the method noted above, I usually run:
> 
> cp /path/to/mailbox ~ (copy my mailbox to my homedir)
> cat /dev/null> /path/to/mailbox (clear out the contents of my main inbox)
> formail -s procmail < ~/mailbox (process the copy)
> rm ~/mailbox (once satisfied with the results)
> 
> The reasoning behind this is that, if you use the originally posted
> method, anything that would normally wind up in your inbox, and not
> be filtered into other folders, would wind up being duplicated in
> your inbox.

Indeed, and this is more what's outlined in the promail man page.  I
didn't have time to go into the details and I figured that anyone
using procmail would be wise enough to check the man page (or at least
make some backups before feeding their precious mailboxes to it. :)

That may or may not be a valid assumption on my part, so thanks for
filling in the details for the benefit of the archives.

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I figure that if God actually does exist, He's big enough to
understand an honest difference of opinion.
    -- Isaac Asimov

Attachment: pgpcRVF4S7NlX.pgp
Description: PGP signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux