getting old mail from ro

Kevin Stevens Kevin_Stevens at pursued-with.net
Mon Jul 14 13:22:00 PDT 2003



On Mon, 14 Jul 2003, Kevin Stevens wrote:

> On Mon, 14 Jul 2003, RYAN vAN GINNEKEN wrote:
>
> > anyone know how to send the mail in root's Maildir to another user i
> > have forwarded the the root address already but need the mail that is
> > already sitting in that account.
>
> If you install procmail there's an appropriate incantation to accomplish
> this.  If no one else posts it by this evening I can find it.
>
> KeS

Here, I found the message.  formail is part of the procmail port.  This
worked for me when I had the same question a few months ago:

> > The question is: is there a way to take the messages he has
> > accumulated in the local account mbox, and resubmit them to sendmail
> > so that my server, recognizing that it is no longer authorized to
> > receive mail for that domain, will go out and deliver them to his server?
> >
>
>formail -Y -s /usr/sbin/sendmail user at new.address < /var/spool/mail/user.
>
>Leif

Hope it helps.

KeS


More information about the freebsd-questions mailing list