Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Mar 2020 11:31:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 244630] dma(8) is in need of a refresh from upstream
Message-ID:  <bug-244630-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244630

            Bug ID: 244630
           Summary: dma(8) is in need of a refresh from upstream
           Product: Base System
           Version: 12.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: ports@jpmens.net

I'm seeing authentication failures and strange messages in /var/log/maillog
during dma(8) transfers, which doesn't make much sense as the SMTP server I=
'm
speaking to offers LOGIN PLAIN authentication methods.

[root@gs /etc/dma]# echo hi | /usr/libexec/dma -D jp@example
dma[1052a][56283]: new mail from user=3Droot uid=3D26
envelope_from=3D<root@shuttle.ww.example>
dma[1052a][56283]: mail to=3D<jp@example> queued as 1052a.800a5d0a0
dma[1052a.800a5d0a0][56283]: <jp@example> trying delivery
dma[1052a.800a5d0a0][56283]: using smarthost (mail.relay:587)
dma[1052a.800a5d0a0][56283]: trying remote delivery to mail.relay [ipv6] pr=
ef 0
dma[1052a.800a5d0a0][56283]: connect to mail.relay [ipv6] failed: No route =
to
host
dma[1052a.800a5d0a0][56283]: trying remote delivery to mail.relay [ip4] pre=
f 0
dma[1052a.800a5d0a0][56283]: using SMTP authentication for user jp@example
dma[1052a.800a5d0a0][56283]: remote delivery deferred: AUTH cram-md5 failed:
535 Refused. Authentication failed. Rate limit hit or SMTP disabled.
dma[1052a.800a5d0a0][56283]: SMTP login not available. Trying without.
dma[1052a.800a5d0a0][56283]: <jp@example> delivery successful

I then compiled a version of https://github.com/corecode/dma and the program
works as expected:

[root@gs /tmp/dma/bsd]# echo hi | ./dma/dma -D jp@example
dma[10528][56272]: new mail from user=3Droot uid=3D65534
envelope_from=3D<root@shuttle.ww.example>
dma[10528][56272]: mail to=3D<jp@example> queued as 10528.800a5d0a0
dma[10528.800a5d0a0][56272]: <jp@example> trying delivery
dma[10528.800a5d0a0][56272]: using smarthost (mail.relay:587)
dma[10528.800a5d0a0][56272]: trying remote delivery to mail.relay [ipv6] pr=
ef 0
dma[10528.800a5d0a0][56272]: connect to mail.relay [ipv6] failed: No route =
to
host
dma[10528.800a5d0a0][56272]: trying remote delivery to mail.relay [ip4] pre=
f 0
dma[10528.800a5d0a0][56272]: using SMTP authentication for user jp@example
dma[10528.800a5d0a0][56272]: <jp@example> delivery successful

I think we should please pull in a newer version; I've compiled a diff for =
*.?
between what's currently in FreeBSD and upstream dma

https://gist.githubusercontent.com/jpmens/ef3a407212bd7d0295da1c9a7169f5c3/=
raw/46ae123777632263053cc24432cfe09fb3c1a356/differences.patch

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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