Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jul 1998 12:05:39 -0700
From:      Josef Grosch <jgrosch@superior.mooseriver.com>
To:        obrien@NUXI.com, hackers@FreeBSD.ORG
Subject:   Re: manually using procmail
Message-ID:  <19980708120539.A15241@mooseriver.com>
In-Reply-To: <19980708113034.B8731@nuxi.com>; from David O'Brien on Wed, Jul 08, 1998 at 11:30:34AM -0700
References:  <19980708113034.B8731@nuxi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jul 08, 1998 at 11:30:34AM -0700, David O'Brien wrote:
> Does anybody know if a way to take a Berkeley mailbox-formated file and
> "pipe" it thru procmail so that it would be processed as if you received
> the mail the usual way?
> 
> As long as Hub isn't allowing POPing, getting FreeBSD mail is painful;
> but would be if I could just copy hub:/var/mail/obrien to my local
> machine and have it procmail processed.
> 
> I've tried ``cat obrien | procmail -Yf-'', but it treats the mbox as a
> single giant message.
> 

Yes, this is how I get my mail from Best. The magic incantation is 

     formail -s procmail < mail_file

If interested I can provide the Perl script I use to grab my mail.


Josef

-- 
Josef Grosch           | Another day closer to a |    FreeBSD 2.2.7
jgrosch@MooseRiver.com |   Micro$oft free world  | UNIX for the masses


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



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