Change your  match for any action relay_dkim to match auth from any
for any action relay_dkim.

On Fri, Oct 26, 2018 at 7:10 PM Jesper Wallin wrote:
>
> Hi,
>
> You need to specify “from any” to your relay_dkim match rule. If not 
> specified, it defaults to “from local”, which now is different from “auth”.
>
>
> Regards,
> Jesper Wallin
>
> > On 27 Oct 2018, at 01:06, <[email protected]> <[email protected]> wrote:
> >
> > Hello,
> >
> > I recently upgraded my server to OpenBSD 6.4. But I have a problem with the
> > new
> > configuartion of OpenSMTPD:
> >
> > When I send a mail with Thunderbird from an external IP, my server always
> > returns
> > the error message "invalid recipient".
> >
> > When I connect to the server through SSH and send a mail via the local
> > client mutt,
> > everything works.
> >
> > This is my configuration:
> > ---
> > queue compression
> > queue encryption ad8004f927bd2b00a672c30704e3de11
> >
> > pki mx1.example.com.pki cert "/etc/ssl/mx1.example.com.crt"
> > pki mx1.example.com.pki key "/etc/ssl/private/mx1.example.com.key"
> >
> > table aliases file:/etc/mail/aliases
> > table vdomains file:/etc/mail/vdomains
> > table vusers file:/etc/mail/vusers
> >
> > listen on lo0
> > listen on lo0 port 10028 tag DKIM
> > listen on egress tls pki mx1.example.com.pki auth-optional
> > listen on egress smtps pki mx1.example.com.pki auth
> > listen on egress port submission tls-require pki mx1.example.com.pki auth
> >
> > action "local" mbox alias <aliases>
> > action "relay" relay
> > action "domain" lmtp "/var/dovecot/lmtp" virtual <vusers>
> > action relay_dkim relay host smtp://127.0.0.1:10027
> >
> > match from local for local action "local"
> > match tag DKIM for any action "relay"
> > match from any for domain <vdomains> action "domain"
> > match for any action relay_dkim
> > ---
> >
> > Is there something wrong in my current configuration?
> >
> > Thanks in advance!
> >
> > Cheers
> > Johannes
> >
> >
> > --
> > You received this mail because you are subscribed to [email protected]
> > To unsubscribe, send a mail to: [email protected]
> >
>
>
> --
> You received this mail because you are subscribed to [email protected]
> To unsubscribe, send a mail to: [email protected]
>

--
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]

Reply via email to