procmail
[Top] [All Lists]

Re: help: sendmail w/ procmail as LDA

1998-03-25 04:46:50
On Tue, 24 Mar 1998, Philip Guenther wrote:

First off, it is _wrong_ to use the -m flag when invoking procmail as
the local delivery agent.  You want -d instead.  The -m flag is for the
procmail mailer.

That said, I would rewrite the above as:

      FEATURE(local_procmail)dnl
      define(`LOCAL_MAILER_FLAGS', LOCAL_MAILER_FLAGS`'u)dnl
      MAILER(procmail)dnl

The second line adds the 'u' flag to whatever flags the local_procmail feature
sets.  A quick checks shows that the local_procmail feature sets L_M_F to
include SPhn9, so all you need to add is the 'u' (do you really have login
names that contain uppercase letters?).

  All looks good with the above recommendations other than the 'define's
are required to be before the 'FEATURE', according to the 'bat' book. I
guess I've always done it that way but maybe it works either way...
 
--
Mike Hall <mhall(_at_)rockisland(_dot_)com>    *nix, Perl, CGI hacker...
P.O. Box 1065                       Certified OS/2 Specialist
Friday Harbor, WA 98250             Sorry, no Win* :-)
***---***---***---***---***---***---***---***---***---***
To get my PGP key send email with Subject: Request PGP key

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