procmail
[Top] [All Lists]

Re: AIX 4.3 Problem.

2000-01-22 19:45:11
Vijay Gadad <vijay(_at_)gadad(_dot_)net> writes:
On Fri, 21 Jan 2000, Stan Ryckman wrote:

Next, procmail tries to read /l_home/vgadad/$HOME/.procmailrc.  ??

But then, doesn't 
     /l_home/vgadad/$HOME/.procmailrc
expand to:
     /l_home/vgadad/l_home/vgadad/.procmailrc

No, it appears procmail is literally looking for a directory named
"$HOME".  I even created that second path you mention just to test this
out, and it still couldn't find the file.

I'm really stumped.

Ah yes, this one.  This is a bug in IBM's compiler wherein it fails to
correctly initialize a variable (I checked the assembly output and it's
*wrong*).  For all I know, there may be an official patch (APAR?) from
IBM for this, but lacking that you can workaround the problem by editing
src/procmail.c and at line 94 or so, insert the line

  rcfile=pmrc;

Right after the line "newid();" would be about right.

The original person to report this said that it worked fine if you
compiled with gcc 2.95.0 but that gcc 2.8.1 didn't work.  If you have gcc,
trying compiling procmail with it and send me the result of whether it
worked, along with the version of gcc you tried.


Philip Guenther

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