nmh-workers
[Top] [All Lists]

Re: rcvpack or slocal as local mailer with sendmail

1992-08-19 19:10:51
In article <9208191809(_dot_)AA21334(_at_)alex(_dot_)lcs(_dot_)mit(_dot_)edu> 
gildea(_at_)expo(_dot_)lcs(_dot_)mit(_dot_)edu (Stephen Gildea) writes:

The new slocal manual page says that users on a system running
sendmail can run slocal from their .forward file.  Would it be
reasonable to run slocal from sendmail.cf?  Then every user would get
the advantages of mmdf.  And it appears slocal does the right thing if
the user has no .maildelivery file.

 You should be able to use something like:

Mlocal, P=/usr/local/lib/mh/slocal, F=SPDFMlns, R=20, S=10,
        A=slocal -sender $g -user $u

Check the P= operand.  Also check the R= and S=, which you should just
copy from your current local mailer definition.

Note that this assumes your sendmail runs suid root.  The S flag in the
F= string passes this suid privilege to slocal when called by sendmail,
which allows slocal to change its identity to the recipient.  I advise
against making slocal itself suid to root.


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