procmail
[Top] [All Lists]

Re: smartlist and smrsh

1996-10-17 03:53:00
    > I'm using sendmail8.8.0 with smrsh and procmail/smartlist-3.11pre4.
    > 
    > Problem: smrsh is unable (not allowed) to execute the flist script
    > that resides in the .bin dir of the dedicated smartlist account even
    > if I add a link in the smrsh dir.

    > What I should be able to do is having procmail to look for flist in
    > the smrsh bin dir. What is the easiest way to do that? Or are there
    > any other solutions?

Two questions:

1. Are you sure the link is correct?  Both the path to the link and the
   path to the linked file?  Also, is it a symbolic link?  We've always
   used symlinks with "smrsh".

    /usr/adm/smbin/flist -> /usr/lists/.bin/flist

2. Procmail doesn't "look" for flist; the configured Mprog (usually
   "sh", but with the recent sendmail release, "smrsh") will execute
   "flist" if it can find it.   Since alias redirection occurs within
   sendmail, the Mprog invocation occurs long before Mlocal is ever
   invoked, which is how procmail gets executed (unless by .forward).
   
   The default "uid" and its permissions of your mailer may not be
   sufficient to scan the directory in which flist resides, or execute
   flist itself.  For example, if Smartlist were installed under the
   user "lists", and if /usr/lists/.bin is "rwx------", then if
   sendmail is configured to run Mprog as "daemon.mail", then "daemon"
   must also have execute permission on "/usr/lists/.bin"; ie:
   "rwx--x--x"

Hope this helps.
___________________________________________________________
Alan Stebbens <aks(_at_)sgi(_dot_)com>      http://reality.sgi.com/aks

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