Re: i hate procmail
From: Anthony E. Greene (agreene_at_pobox.com)
Date: 09/28/03
- Previous message: Rhugga: "Re: samba now works"
- In reply to: christopher j bottaro: "Re: i hate procmail"
- Next in thread: Cameron Simpson: "Re: i hate procmail"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: redhat-list@redhat.com Date: Sat, 27 Sep 2003 22:35:24 -0400
On 26-Sep-2003/14:57 -0500, christopher j bottaro <cjb@cs.utexas.edu> wrote:
>
>well when i do it like that, the commands are "typed" so fast that it
>basically ends up messing up and sending the wrong messages to the wrong
>mailboxes.
>
>any other ideas? =(
Use formail to split the spool into the one-by-one messages that procmail
expects:
cat /var/spool/username | formail -s procmail
After you're sure it worked you can empty the mail spool:
cat /dev/null > /var/spool/username
or copy it somewhere for safe keeping then empty it:
cat /var/spool/username | gzip - >> ~/mail_archive.gz
cat /dev/null > /var/spool/username
Tony
-- Anthony E. Greene <mailto:Anthony%20E.%20Greene%20%3Cagreene@pobox.com%3E> OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26 C484 A42A 60DD 6C94 239D AOL/Yahoo Messenger: TonyG05 HomePage: <http://www.pobox.com/~agreene/> Linux. The choice of a GNU generation <http://www.linux.org/> -- redhat-list mailing list unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list
- Previous message: Rhugga: "Re: samba now works"
- In reply to: christopher j bottaro: "Re: i hate procmail"
- Next in thread: Cameron Simpson: "Re: i hate procmail"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]