Re: Warning about non-existent MX for destination domain

2020-03-14 Thread Catalin Bucur
On 10/03/2020 19:47, Gerald Galster wrote: what happens if you set delay_warning_time=1h or delay_warning_time=300  (as in 300 seconds)? In the template file it says hours, so everything below one hour might evaluate to zero? Best regards Gerald /"Time units: s (seconds), m (minutes), h

Re: Warning about non-existent MX for destination domain

2020-03-11 Thread Matus UHLAR - fantomas
On 10/03/2020 19:49, Dominic Raferd wrote: My responses seem like OP's: # host -t mx imake.ro 8.8.8.8 Using domain server: Name: 8.8.8.8 Address: 8.8.8.8#53 Aliases: Host imake.ro not found: 2(SERVFAIL) # host -t mx sometotallyINVENTEDdomainTHATdoesNOTexist.com 8.8.8.8 Using domain server:

Re: Warning about non-existent MX for destination domain

2020-03-10 Thread Viktor Dukhovni
On Tue, Mar 10, 2020 at 12:18:28PM -0700, Fred Morris wrote: > NOERROR doesn't necessarily mean that there was an answer. The number of > answers to the question asked can be 0, even if the FQDN (fully qualified > domain name) exists, if some other type of information is associated with > it.

Re: Warning about non-existent MX for destination domain

2020-03-10 Thread Fred Morris
Let's try to clear up DNS even though that's not what the original querant is asking. On Tue, 10 Mar 2020, Wietse Venema wrote: Catalin Bucur: On 10/03/2020 17:16, Wietse Venema wrote: This is a problem with your DNS resolver WHICH IS NOT PART OF POSTFIX. You need to use a better DNS

Re: Warning about non-existent MX for destination domain

2020-03-10 Thread Catalin Bucur
On 10/03/2020 19:49, Dominic Raferd wrote: My responses seem like OP's: # host -t mx imake.ro 8.8.8.8 Using domain server: Name: 8.8.8.8 Address: 8.8.8.8#53 Aliases: Host imake.ro not found: 2(SERVFAIL) # host -t mx

Re: Warning about non-existent MX for destination domain

2020-03-10 Thread Dominic Raferd
On Tue, 10 Mar 2020 at 17:37, Jaroslaw Rafa wrote: > Dnia 10.03.2020 o godz. 19:33:14 Catalin Bucur pisze: > > Google dns says: > > # host -t mx imake.ro 8.8.8.8 > > Using domain server: > > Name: 8.8.8.8 > > Address: 8.8.8.8#53 > > Aliases: > > Host imake.ro not found: 2(SERVFAIL) > >

Re: Warning about non-existent MX for destination domain

2020-03-10 Thread Gerald Galster
> Gerald and Bill, you have both of you right, delay_warning_time it's the > parameter I was looking for. > Anyway, after setting up delay_warning_time=5m I noticed some warnings in > logs: > > Mar 10 17:52:02 mail postfix/bounce[7326]: warning: [built-in]: zero result > in delay template

Re: Warning about non-existent MX for destination domain

2020-03-10 Thread Catalin Bucur
On 10/03/2020 19:33, Jaroslaw Rafa wrote: If you get reply 2(SERVFAIL) it means DNS server for the domain failed and did not return any usable reply, so we actually don't know if the domain exists or not. In that case Postfix SHOULD keep trying to deliver mail (maybe the DNS server for the

Re: Warning about non-existent MX for destination domain

2020-03-10 Thread Jaroslaw Rafa
Dnia 10.03.2020 o godz. 19:33:14 Catalin Bucur pisze: > Google dns says: > # host -t mx imake.ro 8.8.8.8 > Using domain server: > Name: 8.8.8.8 > Address: 8.8.8.8#53 > Aliases: > Host imake.ro not found: 2(SERVFAIL) Something's wrong with resolver library on your machine. Mine says: raj@rafa:~$

Re: Warning about non-existent MX for destination domain

2020-03-10 Thread Jaroslaw Rafa
Dnia 10.03.2020 o godz. 19:11:33 Catalin Bucur pisze: > You mean that I should modify standard configuration for my dns > server (resolver) to force reply that MX record does not exist, > instead of "Host doman.com not found: 2(SERVFAIL)" ? If you get reply 2(SERVFAIL) it means DNS server for the

Re: Warning about non-existent MX for destination domain

2020-03-10 Thread Catalin Bucur
On 10/03/2020 19:26, Wietse Venema wrote: SERVFAIL (for a domain without MX record) means that something is broken. If the fault is not with your local resolver, then you need make sure that you point your resolver at a proper implementation. I have seen nonsense results from cheap routers that

Re: Warning about non-existent MX for destination domain

2020-03-10 Thread Wietse Venema
SERVFAIL (for a domain without MX record) means that something is broken. If the fault is not with your local resolver, then you need make sure that you point your resolver at a proper implementation. I have seen nonsense results from cheap routers that expect queries from web clients that never

Re: Warning about non-existent MX for destination domain

2020-03-10 Thread Catalin Bucur
On 10/03/2020 17:55, Wietse Venema wrote: THAT is a DNS resolver issue. If a domain has no MX record the resolver should say sa IMMEDIATELY, instead of forever returning NO RESPONSE. Again, with proper resolver will IMMEDIATELY reply that the MX record does not exist, allowing Postfix to

Re: Warning about non-existent MX for destination domain

2020-03-10 Thread Catalin Bucur
On 10/03/2020 17:57, Gerald Galster wrote: In case there is no MX record the mail is delivered to the domain's ip (a/ record). It's up to the domain's administrator to set a NULL MX to prevent that, but it's quite new: https://tools.ietf.org/html/rfc7505 What postfix can do:

Re: Warning about non-existent MX for destination domain

2020-03-10 Thread Gerald Galster
> On 10/03/2020 17:16, Wietse Venema wrote: >> This is a problem with your DNS resolver WHICH IS NOT PART OF >> POSTFIX. You need to use a better DNS resolver. >> >> With a properly functioning resolver: >> >> $ host -t mx www.postfix.org >> www.postfix.org

Re: Warning about non-existent MX for destination domain

2020-03-10 Thread Wietse Venema
Catalin Bucur: > On 10/03/2020 17:16, Wietse Venema wrote: > > This is a problem with your DNS resolver WHICH IS NOT PART OF > > POSTFIX. You need to use a better DNS resolver. > > > > With a properly functioning resolver: > > > > $ host -t mxwww.postfix.org > > www.postfix.org has no MX record >

Re: Warning about non-existent MX for destination domain

2020-03-10 Thread Catalin Bucur
On 10/03/2020 17:16, Wietse Venema wrote: This is a problem with your DNS resolver WHICH IS NOT PART OF POSTFIX. You need to use a better DNS resolver. With a properly functioning resolver: $ host -t mxwww.postfix.org www.postfix.org has no MX record Wietse You didn't understood my

Re: Warning about non-existent MX for destination domain

2020-03-10 Thread Bill Cole
On 10 Mar 2020, at 10:26, Catalin Bucur wrote: Hello, I have a question about how Postfix generate warning messages about non-existent domains, non-existent MX domain names or for timeout connecting to a destination mail server. In fact, my real problem is that postfix does not warn me

Re: Warning about non-existent MX for destination domain

2020-03-10 Thread Wietse Venema
Catalin Bucur: > For an existing domain but without MX, I receive the error /"Host or > domain name not found. Name service error for name=onedomain.com > type=MX: Host not found, try again)"/, but AFTER > /maximal_queue_lifetime/, which is very annoying. In this case the > sender finds out

Warning about non-existent MX for destination domain

2020-03-10 Thread Catalin Bucur
Hello, I have a question about how Postfix generate warning messages about non-existent domains, non-existent MX domain names or for timeout connecting to a destination mail server. In fact, my real problem is that postfix does not warn me about nothing when I incorrectly write the domain