On Freitag, 25. Oktober 1996 18:26, Guy
Geens[SMTP:ggeens(_at_)elis(_dot_)rug(_dot_)ac(_dot_)be] wrote:
On Fri, 25 Oct 1996, Alexander Bergolth wrote:
Is it possibe to copy any incoming mail into a folder in my
home-directory but also leave it in "/var/spool/mail/..." using procmail
in .forward?
Put this in your .procmailrc:
MAILDIR=$HOME
:0c:
my_mailfile
:0:
$ORGMAIL
How can I start procmail via .forward and which entries in .procmailrc
are necessary?
The .forward file is mentioned in the man page. It should read:
"|IFS=' '&&exec /usr/local/bin/procmail -f-||exit 75 #YOUR_USERNAME"
(Replace YOUR_USERNAME by your login.)
I have tried it, but it doesn't work. I don't receive anything, each mail is
sent back with the following message:
From: MAILER-DAEMON(_at_)zechine(_dot_)wu-wien(_dot_)ac(_dot_)at (Mail Delivery
Subsystem)
Subject: Returned mail: Deferred
----- Transcript of session follows -----
procmail: [34870] Mon Oct 28 10:49:31 1996
procmail: Opening "/dev/null"
procmail: Opening "/dev/console"
554 mailer sh died with signal 11
----- Unsent message follows -----
...
The entry in .forward should be correct, procmail is started, but why is it
waiting for console input?
------------------------------------------------------------------------
Alexander (Leo) Bergolth E-Mail:
h9226470(_at_)zechine(_dot_)wu-wien(_dot_)ac(_dot_)at
Vienna University of Technology
(e9226470(_at_)student(_dot_)tuwien(_dot_)ac(_dot_)at)
I sog's glei, i woas net ! Phone, Fax: +43/2243/33470