Re: Postfix + rspamd will not rewrite sender

2022-04-08 Thread Matus UHLAR - fantomas
On 07.04.22 09:16, Horst Simon wrote: I used to have working correctly postfix + amavisd-new + dovecot working correctly with re-writing the sender address when forwarding email to my ISP using sender_canonical, I am using postfix 3.7.0. After changing from amavisd-new to rspamd it will not rew

Re: Postfix + rspamd will not rewrite sender

2022-04-08 Thread Wietse Venema
Matus UHLAR - fantomas: > >> On 07.04.22 09:16, Horst Simon wrote: > >>> I used to have working correctly postfix + amavisd-new + dovecot working > >>> correctly with re-writing the sender address when forwarding email to my > >>> ISP using sender_canonical, I am using postfix 3.7.0. > >>> After

Re: mailer-daemon sent by invalid host

2022-04-08 Thread Wietse Venema
Alex: > Hi, > I'm having trouble figuring out why this header check doesn't reject a > mailer-daemon bounce email with ".lan" in the From address: > > /^From:.*\.lan>$/ REJECT Invalid domain > > It works if I use postmap directly, but not when the bounce message is > received. Does it have someth

smtpd_milter_maps and XFORWARD

2022-04-08 Thread Jesper Dybdal
I run Amavis as a before-queue filter, and opendmarc in the after-Amavis smtpd instance. I would like to use smtpd_milter_maps to exclude some networks from the DMARC check. But it does not seem to work.  My guess is that this is because the smtpd instance that should do this comes after Ama

Re: smtpd_milter_maps and XFORWARD

2022-04-08 Thread Wietse Venema
Jesper Dybdal: > I run Amavis as a before-queue filter, and opendmarc in the after-Amavis > smtpd instance. Why not use Amavis as a before-queue MILTER? Then there is no need to propagate remote SMTP client info through non-Postfix programs. Postfix supports XFORWARD for logging which requires a

Re: smtpd_milter_maps and XFORWARD

2022-04-08 Thread Benny Pedersen
On 2022-04-08 15:53, Jesper Dybdal wrote: I run Amavis as a before-queue filter, and opendmarc in the after-Amavis smtpd instance. I would like to use smtpd_milter_maps to exclude some networks from the DMARC check. But it does not seem to work.  My guess is that this is because the smtpd insta

Re: smtpd_milter_maps and XFORWARD

2022-04-08 Thread Jesper Dybdal
On 2022-04-08 16:22, Wietse Venema wrote: Jesper Dybdal: I run Amavis as a before-queue filter, and opendmarc in the after-Amavis smtpd instance. Why not use Amavis as a before-queue MILTER? Then there is no need to propagate remote SMTP client info through non-Postfix programs. That might we

Re: smtpd_milter_maps and XFORWARD

2022-04-08 Thread David Bürgin
Jesper Dybdal: > Are smtpd_recipient_restrictions, particularly policy services, evaluated > before milters, so that I could use policyd_spf to check SPF, and have > amavis and opendmarc milters in that same smtpd instance - so the milters > could use the Authentication-Results header from policyd_

Re: smtpd_milter_maps and XFORWARD

2022-04-08 Thread Wietse Venema
Jesper Dybdal: > Are smtpd_recipient_restrictions, particularly policy services, > evaluated before milters, so that I could use policyd_spf to check SPF, > and have amavis and opendmarc milters in that same smtpd instance - so > the milters could use the Authentication-Results header from polic

Re: Postfix + rspamd will not rewrite sender

2022-04-08 Thread Horst Simon
> On 8 Apr 2022, at 9:43 pm, Wietse Venema wrote: > > Matus UHLAR - fantomas: On 07.04.22 09:16, Horst Simon wrote: > I used to have working correctly postfix + amavisd-new + dovecot working > correctly with re-writing the sender address when forwarding email to my > ISP usin

Postfix 3.5.9 SSL accept error Microsoft Exchange

2022-04-08 Thread Admin Beckspaced
Dear Postfix users, a client told me they don't receive emails from a specific client. A look in the mail server logs reveals the following: Apr  8 09:53:07 cx20 postfix/smtpd[5402]: connect from mail.euronet-ag.de[195.14.239.4] Apr  8 09:53:07 cx20 postfix/smtpd[5402]: SSL_accept error from