Gentoo Archives: gentoo-user

From: Jarry <jarry@×××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Redirect inbox to other mail (Sendmail)
Date: Tue, 02 May 2006 18:17:10
Message-Id: 44579E32.3050708@gmx.net
In Reply to: [gentoo-user] Redirect inbox to other mail (Sendmail) by Delca
1 Delca wrote:
2 > The problem is that i don't know how to send all mails that arrived to
3 > /var/spool/mail/username to other mail..
4 >
5 > i.e.: i want to send all mails at /var/spool/mail/john to
6 > john@××××××××.com.
7
8
9 cat /var/spool/mail/${USER} | formail +1 -ds sendmail -oem ${USER}
10
11 I don't know if it is working, it is not my idea. But you must have
12 alias defined before, otherwise it would be delivered probably to
13 the same mailbox (maybe infinite loop?)...
14
15 Jarry
16 --
17 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Redirect inbox to other mail (Sendmail) Delca <delcas@×××××.com>