When sending a mail to some @helpdesk.inria.fr address, postfix tries
to connect to helpdesk.inria.fr (which does not have a MX):

Nov 21 15:43:26 joooj postfix/smtp[748304]: D1A104A9: 
to=<[...]@helpdesk.inria.fr>, relay=none, delay=76462, delays=76431/0.1/30/0, 
dsn=4.4.1, status=deferred (connect to helpdesk.inria.fr[128.93.128.88]:25: 
Connection timed out)

Some admin at Inria tells me that this is incorrect and that postfix
should connect to the MX of the parent domain (inria.fr) in such a
case.

Note that I haven't changed anything concerning the choice of the
next hop of outgoing mail (no relayhost).

This is a Debian 12 (bookworm) machine. Is this issue specific to
Debian?

FYI:

joooj:~> dig -t mx helpdesk.inria.fr

; <<>> DiG 9.18.19-1~deb12u1-Debian <<>> -t mx helpdesk.inria.fr
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4551
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;helpdesk.inria.fr.             IN      MX

;; ANSWER SECTION:
helpdesk.inria.fr.      2260    IN      CNAME   prod-symfonyu20-app.inria.fr.

;; AUTHORITY SECTION:
inria.fr.               644     IN      SOA     dns.inria.fr. 
hostmaster.inria.fr. 2023112008 7200 1800 3600000 900

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1) (UDP)
;; WHEN: Tue Nov 21 15:53:12 CET 2023
;; MSG SIZE  rcvd: 131

joooj:~> dig -t mx prod-symfonyu20-app.inria.fr

; <<>> DiG 9.18.19-1~deb12u1-Debian <<>> -t mx prod-symfonyu20-app.inria.fr
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 30346
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;prod-symfonyu20-app.inria.fr.  IN      MX

;; AUTHORITY SECTION:
inria.fr.               586     IN      SOA     dns.inria.fr. 
hostmaster.inria.fr. 2023112008 7200 1800 3600000 900

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1) (UDP)
;; WHEN: Tue Nov 21 15:54:10 CET 2023
;; MSG SIZE  rcvd: 108

joooj:~> dig -t mx inria.fr

; <<>> DiG 9.18.19-1~deb12u1-Debian <<>> -t mx inria.fr
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 33064
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;inria.fr.                      IN      MX

;; ANSWER SECTION:
inria.fr.               1951    IN      MX      10 
mail3-smtp-sop.national.inria.fr.
inria.fr.               1951    IN      MX      10 
mail2-smtp-roc.national.inria.fr.

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1) (UDP)
;; WHEN: Tue Nov 21 15:58:03 CET 2023
;; MSG SIZE  rcvd: 108

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to