Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

"late" forwarding of email

0 views
Skip to first unread message

didds

unread,
Sep 3, 2008, 9:45:48 AM9/3/08
to
Email for fbl...@here.com gets delivered to a sendmail server into
file /var/mail/fbloggs.

How could I send all mail in /var/mail/fbloggs to fbl...@there.com
subsequently?

i.e. the mail has already arrived and its too late to set up
any .forwards etc.

TIA

ian

Winfried Magerl

unread,
Sep 3, 2008, 12:35:59 PM9/3/08
to
In article <9911bdd3-e2cb-4a9d...@d77g2000hsb.googlegroups.com>,

for example with mutt something like this:

# Tag all messages:
T.
# bounce all messages to new mail-address:
;b fbl...@there.com

regards

winfried

--
Winfried Magerl - Internet Administration
Siemens IT Solutions and Services, 81739 Munich, Germany
Internet-Mail: winfrie...@siemens.com

Grant Taylor

unread,
Sep 3, 2008, 1:16:58 PM9/3/08
to

Use formail to read each message out of the file individually and
re-send them (via mail or Sendmail) to the new address.

Literally the command will be something like (I'm running on 2 hours
sleep so read the man page(s) to be sure.)

formail <some flag(s)> /var/mail/fbloggs | mail <optional flag(s)>
fbl...@there.com

Grant. . . .

0 new messages