On Wed, Aug 23, 2023 at 01:36:29PM +1200, Peter via Postfix-users wrote:
> > "The problem" (i have given up and did not try it for long) is the
> > configuration directory. Does this work without configuration
> > directory? I had to try again.
The default Postfix directory (the one compiled into the executables)
must exist, and hold at a main.cf file for Postfix local submission to
work.
- postdrop(1) is setgid, and when invoked by a non-privileged user
only trusts MAIL_CONFIG if it is either the default configuration
directory, or that one of one of the configured secondary
instances.
- The spool directory must exist, and have a maildrop subdirectory
with the right ownership.
> > So last i tried. If you do not compile custom, but still want a
> > custom configuration (directory), you need command line options.
>
> Or you can set the MAIL_CONFIG environment variable, which should be
> easy enough to do system-wide.
With postdrop(1) this only works for root.
--
VIktor.
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]