This was working before and I didn't change my configuration but maybe
something has been wrong all along. As far as I understand, external mail
comes in with:

action "process_dkim" relay host smtp://127.0.0.1:10027
match from local for any action "process_dkim"

This sends the mail to a DKIM proxy on port 10027 which then sends it back
to 10028. This is tagged with:

listen on lo   port 10028 tag DKIM

And then this gets processed with:

action "process_outbound" relay host tls+auth://label@REDACTED auth
<secrets>
match tag DKIM for any action "process_outbound"

On Fri, Feb 10, 2023 at 8:12 AM Tobias Fiebig <
tob...@reads-this-mailinglist.com> wrote:

> Heho,
> might be missing this, but you do not have a relay rule for outbound,
> let alone anything for auth?
>
> With best regards,
> Tobias
>
> On Fri, 2023-02-10 at 07:58 -0600, Kevin G wrote:
> > # Accept incoming mail to local users from the local machine:
> > action "process_local_mail" lmtp "/run/dovecot/lmtp" rcpt-to alias
> > <aliases>
> > match from local for local action "process_local_mail"
> >
> > # Accept external mail tagged after processing by SPAMPD and put in
> > Dovecot. We don't bother with checking spam of
> > # authenticated users relaying mail, so we only worry about incoming
> > spam
> > into Dovecot, so we only configure anti-spam
> > # in Dovecot.
> > action "process_spampd" lmtp "/run/dovecot/lmtp" rcpt-to virtual
> > <users>
> > match tag SPAMPD for domain <domains> action "process_spampd"
> >
> > # Accept external mail and forward to spampd on port 10029 which will
> > relay
> > it back into us on port 10030
> > action "process_relay" relay host smtp://127.0.0.1:10029
> > match from any for domain <domains> action "process_relay"
> >
> > # Accept DKIM-processed mails for final relay:
> > action "process_outbound" relay host tls+auth://label@REDACTED auth
> > <secrets>
> > match tag DKIM for any action "process_outbound"
> >
> > # Accept incoming mail from authenticated users who want to send
> > email to
> > domains we don't manage, and send it to DKIM:
> > action "process_dkim" relay host smtp://127.0.0.1:10027
> > match from local for any action "process_dkim"
>
> --
> Dr.-Ing. Tobias Fiebig
> T +31 616 80 98 99
> M tob...@fiebig.nl
>
>
>

Reply via email to