procmail
[Top] [All Lists]

Fwd: procmail on tcsh

2002-07-28 23:37:16
Any ideas on this one?


Date:         Fri, 26 Jul 2002 14:00:17 -0700
From: Mrityunjay Singh <singh>
Subject: procmail on tcsh
To: Cadence_procmail_users

I need some advice on any known issues with procmail.

I am trying to run procmail on an account which has default shell
as 'tcsh'. All the exact settings work fine on account with 'csh' as
it's shell.

On tcsh account, it simply ignores  forwarding command to procmail.
If I have redirection to an account as well as to procmail, then redirect
to another account works fine and procmail part doesn't show any 
response.

I have explicitly added first line in my .procmailrc as 
SHELL = /bin/sh

My .forward and .procmailrc permissions are 600

procmail log file, is 0 bytes.

.forward contains following line:
\cdsuser, "IFS=' ' && exec /usr/local/bin/procmail -f- || exit 75 #cadence"
or
"IFS=' ' && exec /usr/local/bin/procmail -f- || exit 75 #cadence"

Even with:
"IFS=' ' && exec /usr/local/bin/procmail -f- || exit 75 #cadence"
Mail gets delivered successfully and goes to /var/mail/cadence like
normal mail.

How do I track, what procmail is doing at this point.

Again, exact same setup works on another account with default shell
as 'csh'

On web, somewhere I found the following:
The first line is also important. Procmail's inability to interact with some 
csh:s and tcsh:s is probably the biggest source of frustrating and 
"inexplicable" Procmail problems. (It's still not clear to me why this 
happens, or why Procmail is not compiled by default to always use /bin/sh 
unless specifically instructed otherwise.) 

URL: http://www.ling.helsinki.fi/users/reriksso/mail/procmail-debug.html

I know, email is not well organized... Let me know, if any more data is needed
to make suggestions.

Thanks.
-jay

[ Mrityunjay Singh ]
_____________________________________________________________
Cadence Design Systems Inc.                       http://www.cadence.com

Email: singh(_at_)cadence(_dot_)com                          Phone:(408) 894 
2960
Pager: 8777272706(_at_)worldcom(_dot_)com               Pager: 877 72 72 706 

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>