procmail
[Top] [All Lists]

Procmail forking question

1995-10-18 10:04:45

Hi everyone,
        I just installed SmartList to go with our procmail v3.10.  I am
having some trouble with the rc.submit recipe.  Specifically at this point:

:0 A c
  * ? test -f accept.txt
  {
    :0 fh
    | formail -i"From: $listreq" -kbrtA"X-Loop: $listaddr" ; cat accept.txt
 
    :0
    ! $sendmailOPT -t
  }
 
} }

The 'test -f' works find, and it comes up with a match for my test list as
it should.  Now when procmail goes to fork itself, it seems to use the
wrong path name for the rcfile and gives the "Lost x" error.  Here x
is /usr/local/mail/smartlist/./rc.submit.  I noticed that when flist starts
the rc.submit rcfile, it does it with a relative path of ./rc.submit.  So for
some reason, the fork attempts to use the full path to the smartlist user's
home directory, then the ./rc.submit, so it fails.  My question, is there any
way to give arguments to the forking procmail when the f flag is used?  Or does
flist have to hacked to use full paths instead of relative paths?  I thank
you all in advance for any help you may be able to give me.  If I should direct
this to the smartlist mailing list instead, please let me know. 

thanks,
Mike Sprague
Shore.Net

-- 
Mike Sprague  |       North Shore Access       | BOFH wannabe & UNIX SysAdmin 
mfs(_at_)shore(_dot_)net |  require 'std_disclaimer.pl'   |

"Can you still have fun?" - E. Anastasio

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