procmail
[Top] [All Lists]

Re: sendmail 8.9.3 and $HOME/.forward calling procmail

1999-12-14 08:47:44
lombardi emanuele <lele(_at_)casaccia(_dot_)enea(_dot_)it> writes:
I've just replaced my default sendmail 8.8.x on my True64 unix alpha
machine with the newer 8.9.3 version.

I tried to compile sendmail.cf using 
      FEATURE(`local_procmail')
      define(`LOCAL_SHELL_PATH', `/usr/libexec/smrsh')
      FEATURE(smrsh) 
in my relay.mc

But I found that if I use smrsh I can't call procmail from my
$HOME/.forward . It happens that, given my .forward as follow:

"|IFS=' '&&p=/usr/local/bin/procmail&&test -f $p&&exec $p -Yf-||exit 75 lele"

when it is parsed my smrsh it is rejected before beeing passed to
procmail since it contains ampersands (&).

I would like my users to individually use procmail from their .forward,
but I would like to use smrsh as well. Is there any solution?

Back up a step: since you put FEATURE(`local_procmail') in the .mc file,
procmail will be used to deliver messages whenever the recipient _doesn't_
have a .forward file.  So the solution is, don't use a .forward file!


Philip Guenther

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