Wietse Venema:
> Nick:
> > On 2020-08-30 21:30 BST, Wietse Venema wrote:
> > > Nick:
> > > > I would like to have a postconf(5) parameter such as
> > > > "local_via_submission = yes" which changes that path to something like
> > > > 
> > > >   sendmail(1) -> postdrop(1) -> maildrop -> pickup(8) -> smtpd(8) ->
> > > >   cleanup(8) -> incoming
> > > 
> > > And HOW THE HELL is that supposed to work when Postfix is not up
> > > (not yet started, down for maintenance, or whatever).
> > 
> > I'm sensing a slight reluctance but will plough on...
> > 
> > In that case pickup is also not running, so the mail stays in maildrop.
> > Isn't that what happens now?
> 
> An SMTP client in the pickup daemon? How shall the pickup daemon
> send a non-delivery notification to the sender?

Answer: don't change the pickup daemon, but do this instead:

/etc/postfix/master.cf:
    pickup unix .. .. .. .. .. pickup
        -o content_filter=smtp:[localhost]:25

- Wietse

Reply via email to