filtering locally submitted emails / tidying up the config

2020-05-01 Thread Patrick Proniewski
Hello, I've been using postfix with great success and delight for many years now, but my config has become quite messy over time, with additions like dkim/spf/dmarc and various filtering options. I'm currently having a problem with some locally generated emails (eg. sendmail command). I would l

Re: filtering locally submitted emails / tidying up the config

2020-05-01 Thread Wietse Venema
Patrick Proniewski: > I really feel like my setup needs some cleanup and I'm not sure were to > start. Some of you have suggested to me, in the past, that I could move to > amavisd-milter instead of smtpd_proxy_filter for antispam/antivirus > filtering. It might be the way but I don't know if it

Re: filtering locally submitted emails / tidying up the config

2020-05-01 Thread Patrick Proniewski
Thanks Wietse, > On 01 mai 2020, at 15:37, Wietse Venema wrote: > > Patrick Proniewski: >> I really feel like my setup needs some cleanup and I'm not sure were to >> start. Some of you have suggested to me, in the past, that I could move to >> amavisd-milter instead of smtpd_proxy_filter for a

Re: filtering locally submitted emails / tidying up the config

2020-05-01 Thread Wietse Venema
Patrick Proniewski: > Thanks Wietse, > > > On 01 mai 2020, at 15:37, Wietse Venema wrote: > > > > Patrick Proniewski: > >> I really feel like my setup needs some cleanup and I'm not sure were to > >> start. Some of you have suggested to me, in the past, that I could move to > >> amavisd-milter

RE: AUTH Messages in log

2020-05-01 Thread Keith
On 30 Apr 2020, at 10:52, Keith wrote: Have enabled postscreen as per docs, one thing as this machine does not have TLS or any type of auth enabled, so I did not enable tlsproxy in master.cf. Doesn't seem to have affected things and I had to manually null a .eu IP that would not stop auth af

Re: AUTH Messages in log

2020-05-01 Thread Wietse Venema
Keith: > >1) Stop allowing auth connections on port 25 at all > > This is controlled via master.cf using -o options under smtp? It would go under the smtpd that serves port 25, as smtp pass ... ... ... ... ... smtpd -o smtpd_sasl_auth_enable=no > >2) use postscreen > > One last, is pflogsu

RE: AUTH Messages in log

2020-05-01 Thread Keith
Keith: > >1) Stop allowing auth connections on port 25 at all > > This is controlled via master.cf using -o options under smtp? >>It would go under the smtpd that serves port 25, as >>smtp pass ... ... ... ... ... smtpd >> -o smtpd_sasl_auth_enable=no That's what I thought. > >2) use post

Re: Replace null sender addresses?

2020-05-01 Thread Bob Proulx
Wietse Venema wrote: > Jason Bailey: > > I've got notification emails from a legacy system passing through a > > Postfix install I'm using to relay messages to the proper outbound Are the notification mails coming from an internal system? That's okay. But why are the recipients undeliverable? I

Re: Replace null sender addresses?

2020-05-01 Thread Jason Bailey
On May 1, 2020 8:13 PM, Bob Proulx wrote: Wietse Venema wrote: > Jason Bailey: > > I've got notification emails from a legacy system passing through a > > Postfix install I'm using to relay messages to the proper outbound Are the notification mails coming from an internal system? That's okay. B

Re: Replace null sender addresses?

2020-05-01 Thread Bob Proulx
Hello Jason, I do not know why but you sent out three copies of my email message in full unquoted as a reply. And then in between the 2nd and 3rd copies you wrote your own response. That made the message rather unreadable. Please in the future double check the message before hitting send. Jason