Le 11/02/2015 18:40, Seth a icrit :
On Wed, 11 Feb 2015 01:48:36 -0800, Meutel <[email protected]> wrote:w
libasr is installed (it was not before upgrading). I use packages built
with poudriere. Attached file "pkg_info_opensmtpd.txt" contains
informations about installed packages, it looks OK to me.

Attached file "smtpd_vd.txt" contains output of smtpd -vd.

I use a local network for jails ("jailsnet": 10.42.0.0/24), with a local
DNS resolver. The URL of the relay host "tls+auth://jailcred@mail:587"

Try removing the poudriere version of OpenSMTPD and install latest
release via pkgng or the ports tree. I am running it on FreeBSD 9.2 and
know that it works there.

Also, please run this command and post results 'dig mail'


I did some tests with a simple smtp.conf which relays everything via gmail, and with a public nameserver instead of my local one.

table gmailcred file:/usr/local/etc/mail/gmailcred
accept from local for any relay via "tls+auth://[email protected]" auth <gmailcred> as "[email protected]"

With 5.4.2, it works. With 5.4.4, it fails:
smtp-out: Failed to resolve MX for [relay:smtp.gmail.com,starttls,auth=gmailcred:gmailcred,mx]: No MX found for domain

Same result with opensmtpd and libasr from ports.

full logs with "smtpd -vvv"

debug: mta: received evp:7042c9e45a45c834 for <[email protected]>
debug: mta: draining [relay:smtp.gmail.com,starttls,auth=gmailcred:gmailcred,mx] refcount=1, ntask=1, nconnector=0, nconn=0 debug: mta: querying secret for [relay:smtp.gmail.com,starttls,auth=gmailcred:gmailcred,mx]... debug: mta: querying MX for [relay:smtp.gmail.com,starttls,auth=gmailcred:gmailcred,mx]... debug: mta: [relay:smtp.gmail.com,starttls,auth=gmailcred:gmailcred,mx] waiting for MX secret debug: mta: ... got secret for [relay:smtp.gmail.com,starttls,auth=gmailcred:gmailcred,mx]: AG1ldXRlbABmLTFXZFctKG04 debug: mta: draining [relay:smtp.gmail.com,starttls,auth=gmailcred:gmailcred,mx] refcount=2, ntask=1, nconnector=0, nconn=0 debug: mta: [relay:smtp.gmail.com,starttls,auth=gmailcred:gmailcred,mx] waiting for MX
debug: Failed MX query for smtp.gmail.com:
debug: mta: ... got mx (0x80281d120, smtp.gmail.com, [relay:smtp.gmail.com,starttls,auth=gmailcred:gmailcred,mx]) smtp-out: Failed to resolve MX for [relay:smtp.gmail.com,starttls,auth=gmailcred:gmailcred,mx]: No MX found for domain debug: mta: draining [relay:smtp.gmail.com,starttls,auth=gmailcred:gmailcred,mx] refcount=1, ntask=1, nconnector=0, nconn=0 debug: mta_flush([relay:smtp.gmail.com,starttls,auth=gmailcred:gmailcred,mx], 73, "No MX found for domain") Feb 11 22:09:27 <mail.info> dev.jailsnet smtpd[24398]: relay: TempFail for 7042c9e45a45c834: session=0000000000000000, from=<[email protected]>, to=<[email protected]>, rcpt=<->, source=-, relay=smtp.gmail.com, delay=14m2s, stat=No MX found for domain debug: mta: freeing [relay:smtp.gmail.com,starttls,auth=gmailcred:gmailcred,mx]
debug: mta: flush for 7042c9e45a45c834 (-> [email protected])

********************

# drill smtp.gmail.com
;; ->>HEADER<<- opcode: QUERY, rcode: NOERROR, id: 63274
;; flags: qr rd ra ; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;; smtp.gmail.com.      IN      A

;; ANSWER SECTION:
smtp.gmail.com. 300     IN      CNAME   gmail-smtp-msa.l.google.com.
gmail-smtp-msa.l.google.com.    300     IN      A       64.233.167.108
gmail-smtp-msa.l.google.com.    300     IN      A       64.233.167.109

;; AUTHORITY SECTION:

;; ADDITIONAL SECTION:

;; Query time: 138 msec
;; SERVER: 10.42.0.110
;; WHEN: Wed Feb 11 22:15:26 2015
;; MSG SIZE  rcvd: 102

********************

# drill mx gmail.com

;; ->>HEADER<<- opcode: QUERY, rcode: NOERROR, id: 5556
;; flags: qr rd ra ; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;; gmail.com.   IN      MX

;; ANSWER SECTION:
gmail.com.      3600    IN      MX      40 alt4.gmail-smtp-in.l.google.com.
gmail.com.      3600    IN      MX      30 alt3.gmail-smtp-in.l.google.com.
gmail.com.      3600    IN      MX      20 alt2.gmail-smtp-in.l.google.com.
gmail.com.      3600    IN      MX      10 alt1.gmail-smtp-in.l.google.com.
gmail.com.      3600    IN      MX      5 gmail-smtp-in.l.google.com.

;; AUTHORITY SECTION:

;; ADDITIONAL SECTION:

;; Query time: 10 msec
;; SERVER: 10.42.0.110
;; WHEN: Wed Feb 11 22:15:39 2015
;; MSG SIZE  rcvd: 150

--
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]

Reply via email to