[DragonFlyBSD - Bug #953] dma.c: some errors

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Tue Dec 17 07:32:29 PST 2013


Issue #953 has been updated by tuxillo.

Description updated

Still no updates on this, but there is an update in the github's ticket:

bigon commented 6 months ago

Hi,

Just to add that regarding the detection of AUTH mechanisms, when CRAM-MD5 is not available on the server, dma is currently printing a quite scary (from a user point of view) in the logs

smarthost authentication: AUTH cram-md5 not available: 535 5.7.8 Error: authentication failed: no mechanism available

----------------------------------------
Bug #953: dma.c: some errors
http://bugs.dragonflybsd.org/issues/953#change-11672

* Author: dragonfly-bugs
* Status: In Progress
* Priority: Normal
* Assignee: tuxillo
* Category: 
* Target version: 
----------------------------------------
1. According to the man page, -q does not take an argument (see
simple patch below).

2. dma sends EHLO without reading the server greeting first.  This
causes rejections by some anti-spam measures, e.g., greet_pause in
sendmail 8, or "illegal pipelining" in some other MTAs.

3. dma does not read the server greeting to determine whether
STARTTLS or AUTH are available (minor problem as this probably is
just a configuration problem because only one "smarthost" is
contacted).

4. If you want to make this a "full blown" mail submission program,
you might want to merge some features from femail.c (written by
Henning Brauer) into it, e.g., to read recipients from the message
headers, or to add required headers. femail.c lacks queueing which
dma supports.

--- dma.c.orig	Thu Feb 21 20:49:07 2008
+++ dma.c	Thu Feb 21 15:29:35 2008
@@ -836,7 +836,7 @@
 	snprintf(tag, 254, "dma");

 	opterr = 0;
-	while ((ch = getopt(argc, argv, "A:b:Df:iL:o:O:q:r:")) != -1) {
+	while ((ch = getopt(argc, argv, "A:b:Df:iL:o:O:qr:")) != -1) {
 		switch (ch) {
 		case 'A':
 			/* -AX is being ignored, except for -A{c,m} */


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



More information about the Bugs mailing list