On 2005-08-21 18:06:01 -0400, Matt Sergeant wrote:
> On 21 Aug 2005, at 05:22, Peter J. Holzer wrote:
> >On 2005-08-20 20:59:10 -0700, Devin Carraway wrote:
> >>On Sat, Aug 20, 2005 at 07:38:24PM +0200, Peter J. Holzer wrote:
> >>>* My patch for a configurable plugin_dir (needed for the RPMs 
> >>>  directory structure).
> >
> >>I ship a similar patch with Debian's qpsmtpd, for FHS compliance.
> >>It varies from Peter's original in allowing multiple values in
> >>plugin_dirs and checking for plugins in each -- this helps provide
> >>sysadmins with a safe spot to drop their own plugins or override the
> >>distributed ones without worrying about interfering with the package
> >>management.
> >
> >Ah, that's even better, of course.
> 
> Note this is why I implemented $Include.

Maybe my cold is addling my brain, but I don't see how $Include can be
used to load plugins from different locations. 

In my RPM, qpsmtpd and qpsmtpd-forkserver are in /usr/bin (they probably
should be in /usr/sbin instead). By default, qpsmtpd would now look in
/usr/bin/plugins for the plugins, but they are in
/usr/share/qpsmtpd/plugins instead. So a config option is needed to tell
qpsmtpd where they are. In addition, a sysadmin might want to install
his own plugins into /usr/local/qpsmtpd/plugins - this is what Devin's
patch allows.

        hp

-- 
   _  | Peter J. Holzer    | Ich sehe nun ein, dass Computer wenig
|_|_) | Sysadmin WSR       | geeignet sind, um sich was zu merken.
| |   | [EMAIL PROTECTED]         |
__/   | http://www.hjp.at/ |    -- Holger Lembke in dan-am

Attachment: pgpuAndW5cdjP.pgp
Description: PGP signature

Reply via email to