On 26-Sep-2003/14:57 -0500, christopher j bottaro <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED]>
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:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to