Re: Refuse mail from hosts with closed port 25

2019-09-18 Thread Matus UHLAR - fantomas
On 16 Sep 2019, at 13:47, Paul van der Vlis wrote: How can I refuse mail from hosts who don't have an open port 25? On 16 Sep 2019, at 9:17, Kevin A. McGrail wrote: Paul, I wrote a module which I need to update on Perl's CPAN called Net::validMX that we use to reject IPv4 domains that aren'

Re: 4xx when host not found

2019-09-18 Thread Matus UHLAR - fantomas
On Mon, Sep 16, 2019 at 01:44:38PM +0200, Helmut Schneider wrote: > Where can I change the DSN to 4xx and ensure that mails are > delivered when the tunnel is up again? Viktor Dukhovni wrote: Normally, if a tunnel goes down, DNS lookups that require access to a server on the far side of the t

Re: Unexpected queue file write error

2019-09-18 Thread Matus UHLAR - fantomas
> Jesper Dybdal: >> Can "Error: queue file write error" mean anything other than a problem >> with the queue file? On 2019-09-17 13:02, Wietse Venema wrote: > Yes. LOOK IN THE LOGS. Postfix will not reveal internal error details > in its responses to random SMTP clients. Jesper Dybdal: You'

Re: 4xx when host not found

2019-09-18 Thread Helmut Schneider
Matus UHLAR - fantomas wrote: > > But I also have other (public) DNS servers in /etc/resolv.conf. > > And when the internal ones are not available there is no tempfail > > because the public servers reply with NXDOMAIN. > > And this is another part of the problem. Using nameservers that > clearly

Re: Unexpected queue file write error

2019-09-18 Thread Wietse Venema
Matus UHLAR - fantomas: > another option is to use amavisd-milter instead of SMTP proxy. > It also allows using other milters, while you can't use multiple proxies. SMTP-based content filters can be combined: postfix -smtp-> filter -smtp-> filter -smtp-> postfix As with Milters, the running time

Re: 4xx when host not found

2019-09-18 Thread Jan Ceuleers
On 18/09/2019 10:15, Helmut Schneider wrote: > I'm open for improvements. It's for my home usage, a relay in the > internet with a static ip forwarding mails to my server at home with an > ip changing every 24h connected via OpenVPN. What's you suggestions? > > Fetchmail?

Re: 4xx when host not found

2019-09-18 Thread Erwan David
Le 18/09/2019 à 14:10, Jan Ceuleers a écrit : > On 18/09/2019 10:15, Helmut Schneider wrote: >> I'm open for improvements. It's for my home usage, a relay in the >> internet with a static ip forwarding mails to my server at home with an >> ip changing every 24h connected via OpenVPN. What's you sug

Re: 4xx when host not found

2019-09-18 Thread Matus UHLAR - fantomas
On 18/09/2019 10:15, Helmut Schneider wrote: I'm open for improvements. It's for my home usage, a relay in the internet with a static ip forwarding mails to my server at home with an ip changing every 24h connected via OpenVPN. What's you suggestions? Le 18/09/2019 à 14:10, Jan Ceuleers a écri

Re: 4xx when host not found

2019-09-18 Thread Erwan David
Le 18/09/2019 à 14:44, Matus UHLAR - fantomas a écrit : >>> On 18/09/2019 10:15, Helmut Schneider wrote: I'm open for improvements. It's for my home usage, a relay in the internet with a static ip forwarding mails to my server at home with an ip changing every 24h connected via

Re: 4xx when host not found

2019-09-18 Thread Arjen Van Drie
On 9/18/19 2:10 PM, Jan Ceuleers wrote: On 18/09/2019 10:15, Helmut Schneider wrote: I'm open for improvements. It's for my home usage, a relay in the internet with a static ip forwarding mails to my server at home with an ip changing every 24h connected via OpenVPN. What's you suggestions?

Re: Unexpected queue file write error

2019-09-18 Thread Matus UHLAR - fantomas
Matus UHLAR - fantomas: another option is to use amavisd-milter instead of SMTP proxy. It also allows using other milters, while you can't use multiple proxies. On 18.09.19 07:05, Wietse Venema wrote: SMTP-based content filters can be combined: as I understand, OP wants pre-queue filtering.

Re: 4xx when host not found

2019-09-18 Thread Matus UHLAR - fantomas
On 18/09/2019 10:15, Helmut Schneider wrote: I'm open for improvements. It's for my home usage, a relay in the internet with a static ip forwarding mails to my server at home with an ip changing every 24h connected via OpenVPN. What's you suggestions? Le 18/09/2019 à 14:10, Jan Ceuleers a écri

Re: Unexpected queue file write error

2019-09-18 Thread Wietse Venema
Matus UHLAR - fantomas: > >Matus UHLAR - fantomas: > >> another option is to use amavisd-milter instead of SMTP proxy. > >> It also allows using other milters, while you can't use multiple proxies. > > On 18.09.19 07:05, Wietse Venema wrote: > >SMTP-based content filters can be combined: > > as I

Re: 4xx when host not found

2019-09-18 Thread Viktor Dukhovni
On Wed, Sep 18, 2019 at 08:15:28AM -, Helmut Schneider wrote: > > > smtp_delivery_status_filter does what I need. > > > > yes, smtp_delivery_status_filter is a workaround to the defective > > design you use. > > I'm open for improvements. It's for my home usage, a relay in the > internet wit