| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| Email for fbloggs@here.com gets delivered to a sendmail server into file /var/mail/fbloggs. How could I send all mail in /var/mail/fbloggs to fbloggs@there.com subsequently? i.e. the mail has already arrived and its too late to set up any .forwards etc. TIA ian |
|
#2
| |||
| |||
| In article <9911bdd3-e2cb-4a9d-ac2d-08e06bcdbcea@d77g2000hsb.googlegroups.com>, didds <didds2@excite.com> wrote: >Email for fbloggs@here.com gets delivered to a sendmail server into >file /var/mail/fbloggs. > >How could I send all mail in /var/mail/fbloggs to fbloggs@there.com >subsequently? > >i.e. the mail has already arrived and its too late to set up >any .forwards etc. for example with mutt something like this: # Tag all messages: T. # bounce all messages to new mail-address: ;b fbloggs@there.com regards winfried -- Winfried Magerl - Internet Administration Siemens IT Solutions and Services, 81739 Munich, Germany Internet-Mail: winfried.magerl@siemens.com |
|
#3
| |||
| |||
| On 09/03/08 08:45, didds wrote: > Email for fbloggs@here.com gets delivered to a sendmail server into > file /var/mail/fbloggs. > > How could I send all mail in /var/mail/fbloggs to fbloggs@there.com > subsequently? > > i.e. the mail has already arrived and its too late to set up > any .forwards etc. 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)> fbloggs@there.com Grant. . . . |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.