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 |