Use something like

formail <MAILBOX -s sendmail [EMAIL PROTECTED]

or something along this line...

Schlomo


On Wed, 16 Jan 2002, Tal Amir wrote:

> i am talking about forwarding to a remote pop3 mailbox, not local.
>
> On Wed, 16 Jan 2002, Tzafrir Cohen wrote:
>
> > Date: Wed, 16 Jan 2002 12:12:13 +0200 (IST)
> > From: Tzafrir Cohen <[EMAIL PROTECTED]>
> > To: Tal Amir <[EMAIL PROTECTED]>
> > Cc: the linux-il mailing list <[EMAIL PROTECTED]>
> > Subject: Re: forward on command line
> >
> > On Tue, 15 Jan 2002, Tal Amir wrote:
> >
> > > hi all,
> > >
> > > is there a way to forward all mail from a mailbox (mail-only user) to an
> > > email address on a single command line ?
> > >
> > > this is mandrake 8.1, sendmail-8.12.1-4mdk.
> >
> > What about 'cat old_mailbox >>new_mailbox' ?
> >
> > Should this work (assuming nobody tries to deliver there mail at that
> > moment)?
> >
> > Also, if the user has imap access, you can simply copy the old mailbox
> > as onother mailbox for the new user.
> >
> >
>
>

-- 
Schlomo Schapiro
Senior System Administrator
MobilEye Vision Technologies Ltd.

24 Mishol Hadkalim St.,97278 Jerusalem, Israel
Telephone:  + 972-2-586-6989 Ext. 131
Mobile:     + 972-55-767898
Fax:        + 972-2-586-7720

email: [EMAIL PROTECTED]
WWW:   http://www.mobileye.com


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to