From nobody Thu Jun 24 21:29:13 2021 X-Original-To: freebsd-stable@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 446085D69AB for ; Thu, 24 Jun 2021 21:29:57 +0000 (UTC) (envelope-from oscar@prutt.party) Received: from out1.migadu.com (out1.migadu.com [IPv6:2001:41d0:2:863f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4G9tZV4mg9z3rYR for ; Thu, 24 Jun 2021 21:29:54 +0000 (UTC) (envelope-from oscar@prutt.party) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=prutt.party; s=key1; t=1624570185; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=mtukWBMkj0iBMu/y0cozgBH/64FK2l8yUkmL9pntd5Q=; b=A3DjRBWaOqHcoG/+WNFE1bLVMc54RaBzk8Fxy1laEhsvJN9ZcoG4KPV95nse6iWldyeS1o 7xw1LSeZoNVGoSON5xA2me2JZqwXCR9vF2x2ciAzHTa6JFlQ+XinnAni1/2wIzsdBKSU7j 9q/holbe8VYE/wD6EBim6Z8/lSUNJCJW7ZKukQm4Tnb3SLeNK7EDVA044CA15CiF8PFCph EzLG8a1hGIHDF+BnhHJlRTLQU2GYt8JC0+CBAO9alew53oU0rLilrIYdafTIUMfq/Q6s0P Wv9yHQ0T3tBNg77dcTQ5Len+ENHXhcSRNzFy/coAtU2UYBeYyaDyEghFsxaPQA== To: freebsd-stable@freebsd.org Subject: dma crashes with simple configuration? Message-ID: <87lf6zdk9i.fsf@prutt.party> Date: Thu, 24 Jun 2021 23:29:13 +0200 List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: oscar@prutt.party X-Rspamd-Queue-Id: 4G9tZV4mg9z3rYR X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=prutt.party header.s=key1 header.b=A3DjRBWa; dmarc=pass (policy=reject) header.from=prutt.party; spf=pass (mx1.freebsd.org: domain of oscar@prutt.party designates 2001:41d0:2:863f:: as permitted sender) smtp.mailfrom=oscar@prutt.party X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2001:41d0:2:863f:::from]; R_DKIM_ALLOW(-0.20)[prutt.party:s=key1]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2001:41d0:2:863f::]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2001:41d0:2:863f:::from:127.0.2.255]; DKIM_TRACE(0.00)[prutt.party:+]; DMARC_POLICY_ALLOW(-0.50)[prutt.party,reject]; NEURAL_HAM_SHORT(-1.00)[-0.999]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:16276, ipnet:2001:41d0::/32, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-stable] Reply-To: oscar@prutt.party From: Oscar Carlsson via freebsd-stable X-Original-From: Oscar Carlsson X-ThisMailContainsUnwantedMimeParts: N Hi, I've tried to configure dma(8) to use a smarthost (hosted by migadu.com) with a simple setup, but it just consumes 100% CPU before crashing. I've seen this on two FreeBSD systems on different major versions (13 and 12) so I'm not sure if it's my configuration, my mailing provider or dma is acting up. Any obvious ideas? Here's a log: Jun 24 23:17:02 hilda dma[1800f][846]: new mail from user=root uid=26 envelope_from= Jun 24 23:17:02 hilda dma[1800f][846]: mail to= queued as 1800f.800e48050 Jun 24 23:17:02 hilda dma[1800f.800e48050][1203]: trying delivery Jun 24 23:17:02 hilda dma[1800f.800e48050][1203]: using smarthost (smtp.migadu.com:465) Jun 24 23:17:03 hilda dma[1800f.800e48050][1203]: trying remote delivery to smtp.migadu.com [2001:41d0:2:863f::] pref 0 Jun 24 23:17:03 hilda dma[1800f.800e48050][1203]: connect to smtp.migadu.com [2001:41d0:2:863f::] failed: No route to host Jun 24 23:17:03 hilda dma[1800f.800e48050][1203]: trying remote delivery to smtp.migadu.com [2001:41d0:2:aacc::] pref 0 Jun 24 23:17:03 hilda dma[1800f.800e48050][1203]: connect to smtp.migadu.com [2001:41d0:2:aacc::] failed: No route to host Jun 24 23:17:03 hilda dma[1800f.800e48050][1203]: trying remote delivery to smtp.migadu.com [2001:41d0:2:267::] pref 0 Jun 24 23:17:03 hilda dma[1800f.800e48050][1203]: connect to smtp.migadu.com [2001:41d0:2:267::] failed: No route to host Jun 24 23:17:03 hilda dma[1800f.800e48050][1203]: trying remote delivery to smtp.migadu.com [91.121.223.63] pref 0 Jun 24 23:22:03 hilda dma[1800f.800e48050][1203]: stack overflow detected; terminated My /etc/dma/dma.conf SMARTHOST smtp.migadu.com PORT 465 AUTHPATH /etc/dma/auth.conf SECURETRANSFER STARTTLS My /etc/dma/auth.conf username@prutt.party|smtp.migadu.com:supersecretpassword My /usr/local/etc/mail/mailer.conf: sendmail /usr/libexec/dma mailq /usr/libexec/dma newaliases /usr/libexec/dma rmail /usr/libexec/dma Regards, Oscar