Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jun 2021 11:46:21 +0200 (CEST)
From:      Ronald Klop <ronald-lists@klop.ws>
To:        oscar@prutt.party
Cc:        freebsd-stable@freebsd.org
Subject:   Re: dma crashes with simple configuration?
Message-ID:  <1865118700.131.1625046381777@localhost>
In-Reply-To: <87lf6zdk9i.fsf@prutt.party>
References:  <87lf6zdk9i.fsf@prutt.party>

index | next in thread | previous in thread | raw e-mail

Hi,

Interesting problem. The message "stack overflow" indicates something going wrong in dma.
Do you have the same issue when you use dma from ports? (mail/dma -> pkg install dma)
The ports version is a little closer to the upstream version.

If the port has the same issue I think it is valuable to create an issue upstream: https://github.com/corecode/dma .

Regards,
Ronald.

 
Van: Oscar Carlsson via freebsd-stable <freebsd-stable@freebsd.org>
Datum: donderdag, 24 juni 2021 23:29
Aan: freebsd-stable@freebsd.org
Onderwerp: dma crashes with simple configuration?
> 
> 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=<root@hilda>
> Jun 24 23:17:02 hilda dma[1800f][846]: mail to=<oscar@prutt.party> queued as 1800f.800e48050
> Jun 24 23:17:02 hilda dma[1800f.800e48050][1203]: <oscar@prutt.party> 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
>  
> 
> 
> 
help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1865118700.131.1625046381777>