[Bug 244630] dma(8) is in need of a refresh from upstream

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Mar 6 11:31:52 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244630

            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 at FreeBSD.org
          Reporter: ports at 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 at gs /etc/dma]# echo hi | /usr/libexec/dma -D jp at example
dma[1052a][56283]: new mail from user=root uid=26
envelope_from=<root at shuttle.ww.example>
dma[1052a][56283]: mail to=<jp at example> queued as 1052a.800a5d0a0
dma[1052a.800a5d0a0][56283]: <jp at example> trying delivery
dma[1052a.800a5d0a0][56283]: using smarthost (mail.relay:587)
dma[1052a.800a5d0a0][56283]: trying remote delivery to mail.relay [ipv6] pref 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] pref 0
dma[1052a.800a5d0a0][56283]: using SMTP authentication for user jp at 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 at example> delivery successful

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

[root at gs /tmp/dma/bsd]# echo hi | ./dma/dma -D jp at example
dma[10528][56272]: new mail from user=root uid=65534
envelope_from=<root at shuttle.ww.example>
dma[10528][56272]: mail to=<jp at example> queued as 10528.800a5d0a0
dma[10528.800a5d0a0][56272]: <jp at example> trying delivery
dma[10528.800a5d0a0][56272]: using smarthost (mail.relay:587)
dma[10528.800a5d0a0][56272]: trying remote delivery to mail.relay [ipv6] pref 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] pref 0
dma[10528.800a5d0a0][56272]: using SMTP authentication for user jp at example
dma[10528.800a5d0a0][56272]: <jp at 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

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


More information about the freebsd-bugs mailing list