Hi!

I am trying to set up a procmail filter for one of my users (kleist).
I put the following in his .forward file:
"|IFS=' ' && p=/usr/bin/procmail && test -f $p && exec $p -Y || exit 75 #kleist"

Now when I send a test mail to him, it shows up in the queue, but doesn't
get delivered.  It sits there for quite a while.  Then - 15 to 25 minutes
later - all of a sudden sendmail decides to pipe it to procmail.

I guess I am doing something wrong, but I couldn't find anything in the
sendmail and procmail docs.

BTW, here are (parts of) what I found in /var/log/mail.log:
 Jan 11 14:54:37 localhost sendmail[3124]: OAA03124: to="|IFS=' ' && 
p=/usr/bin/procmail && test -f $p && exec $p -Y || exit 75 #kleist", 
delay=00:00:00, mailer=prog, stat=queued
 Jan 11 15:16:31 localhost sendmail[3236]: OAA03124: to="|IFS=' ' && 
p=/usr/bin/procmail && test -f $p && exec $p -Y || exit 75 #kleist", 
ctladdr=kleist (1005/100), delay=00:21:54, xdelay=00:00:00, mailer=prog, 
stat=Sent


I also tried a simpler .forward ("|/bin/cat > /tmp/abc"), but same thing 
happened:

 Jan 11 15:34:33 localhost sendmail[3448]: PAA03448: to="|/bin/cat > /tmp/abc", 
delay=00:00:00, mailer=prog, stat=queued
 Jan 11 15:46:31 localhost sendmail[3488]: PAA03448: to="|/bin/cat > /tmp/abc", 
ctladdr=kleist (1005/100), delay=00:11:58, xdelay=00:00:00, mailer=prog, 
stat=Sent

Thanks a lot in advance for any help,
 Andy.

PS: Sorry for the long lines.
____________________________________________________________________
 Andy Spiegl, University of Technology, Muenchen, Germany
 E-Mail: [EMAIL PROTECTED] OR: [EMAIL PROTECTED]
 URL:    http://www.appl-math.tu-muenchen.de/~spiegl
 PGP fingerprint: B8 48 24 7B DB 96 6F 1C  D9 6D 8E 6C DB C2 E7 E9
                                o      _     _         _
  --------- __o       __o      /\_   _ \\o  (_)\__/o  (_)
  ------- _`\<,_    _`\<,_    _>(_) (_)/<_    \_| \   _|/' \/
  ------ (_)/ (_)  (_)/ (_)  (_)        (_)   (_)    (_)'  _\o_
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .

Reply via email to