procmail
[Top] [All Lists]

sh: procmail not available for sendmail programs

1998-01-09 19:53:27
Hi,

I have problems with the above too:

/home/renders/.forward: line 1: forwarding to "|/usr/local/bin/procmail -f-"
"|/usr/local/bin/procmail -f-"... Connecting to prog...
sh: procmail not available for sendmail programs
mailer prog died with signal 214
"|/usr/local/bin/procmail -f-"... Deferred

Output of `strings /usr/libexec/smrsh | grep / | grep -v /bin/sh`:


8/u     
/usr/libexec/ld.so
/bin:/usr/bin:/usr/ucb
/usr/adm/sm.bin
@(#)smrsh.c     8.5 (Berkeley) 10/19/97

I copied procmail to all directories /usr/libexec;/bin;/usr/bin;/usr/ucb;
/usr/adm/sm.bin without any success.

If I can't get this working I have another question. I have the same problem
when I try to use procmail in sendmail. I put in my local.mc file:

OSTYPE(bsd4.4)dnl
DOMAIN(generic)dnl
FEATURE(local_procmail)
FEATURE(nouucp)dnl
define(`ALIAS_FILE', ``/etc/aliases'')dnl
define(`confCOPY_ERRORS_TO', Postmaster)dnl
define(`confME_TOO', True)dnl
define(`confMAX_HOP', 29)dnl
MASQUERADE_AS(erilab.com)
FEATURE(masquerade_envelope)
define(`_MASQUERADE_ENTIRE_DOMAIN_', 1)
EXPOSED_USER(\Qroot postmaster')
MAILER(smtp)dnl
MAILER(procmail)dnl
Cwerilab.com

and the sendmail.cf looks like:


######################*****##############
###   PROCMAIL Mailer specification   ###
##################*****##################

#####  @(#)procmail.m4  8.6 (Berkeley) 4/30/97  #####

Mprocmail,      P=/usr/local/bin/procmail, F=DFMSPhnu9, S=11/31, R=21/31, 
T=DNS/RFC822/X-Unix,
                A=procmail -Y -m $h $f $u


##################################################
###   Local and Program Mailer specification   ###
##################################################

#####  @(#)local.m4     8.23 (Berkeley) 5/31/96  #####

Mlocal,         P=/usr/local/bin/procmail, F=lsDFMAw5:/|@qSPfhn9, S=10/30, 
R=20/40,
                T=DNS/RFC822/X-Unix,
                A=procmail -Y -a $h -d $u
Mprog,          P=/bin/sh, F=lsDFMoqeu9, S=10/30, R=20/40, D=$z:/,
                T=X-Unix,
                A=sh -c $u


I suppose the Mprog must be somehow procmail as well? Or why is procmail still
not working:

/home/renders/.forward: line 1: forwarding to "|/usr/local/bin/procmail -f-"
"|/usr/local/bin/procmail -f-"... Connecting to prog...
sh: procmail not available for sendmail programs
mailer prog died with signal 214
"|/usr/local/bin/procmail -f-"... Deferred

Best regards,
Rainer Enders.

<Prev in Thread] Current Thread [Next in Thread>
  • sh: procmail not available for sendmail programs, Rainer Enders <=