procmail
[Top] [All Lists]

Solaris 2.4/sendmail/procmail glitch?

1996-09-03 16:27:51
Under Solaris 2.4, sendmail says that procmail is returning exit 9
(actually, error 137, but this is 128+9, which is the way Bourne shell
returns non-zero exit statuses).  Somebody, I suppose sendmail,
announces "Killed."

This does not happen under Solaris 2.5.  This also does not happen with
procmail 3.10, either Solaris 2.4 or 2.5.  I'm testing procmail 3.11. 
There is nothing in my procmail log file (yes, VERBOSE=yes).  There're
some SIGTERMs in the procmail sources; but no SIGKILLs.

There is a slight difference between the sendmail.cf "prog" macros
(defining the way that sendmail sets up a shell environment when it
pipes to a program) on our 2.4 and 2.5 machines: 

Under 2.5:
Mprog,          P=/bin/sh, F=lsDFMoeu, S=10/30, R=20/40, D=$z:/, 

Under 2.4:
Mprog,          P=/bin/sh, F=lsDFMeuE, S=10, R=20/40, D=$z:/, M=1000000, 

My .forward file (fixed so sendmail doesn't keep re-queueing):
"| IFS=' ' && /home/hapritch/bin/procmail -f- || echo Procmail error $?" 
The following is some verbose output:
        % mailx -v Hugh
        Subject:  Test

        EOT 
        Hugh... aliased to hapritch 
        /home/hapritch/.forward: line 1: forwarding to "| IFS=' ' &&
        /home/hapritch/bin/ procmail -f- || echo Procmail error $?" 
        Killed
        Procmail error 137 
        "| IFS=' ' && /home/hapritch/bin/procmail -f- || echo Procmail
        error $?"... Sent 

Then the bounce gets delivered to me; but procmail 3.10 doesn't deliver
it to the right place--3.11 does. 

Any help in understanding what's going on is appreciated.

--
                Hugh Pritchard, Smoke N' Mirrors, 703/318-1440, 
Hugh(_at_)snm(_dot_)com





<Prev in Thread] Current Thread [Next in Thread>
  • Solaris 2.4/sendmail/procmail glitch?, Hugh A. Pritchard <=