The following issue has been CONFIRMED.
======================================================================
http://www.dbmail.org/mantis/view.php?id=325
======================================================================
Reported By: piranha
Assigned To:
======================================================================
Project: DBMail
Issue ID: 325
Category: PIPE delivery (dbmail-smtp)
Reproducibility: always
Severity: major
Priority: normal
Status: confirmed
======================================================================
Date Submitted: 17-Apr-06 18:27 CEST
Last Modified: 18-Apr-06 22:58 CEST
======================================================================
Summary: Broken pipe delivery for off-site addresses
Description:
Delivery to off-site address, f.e.:
dbmail-users -x [EMAIL PROTECTED] -t [EMAIL PROTECTED]
is done by pipe which is broken.
Line 104 in forward.c:
snprintf(command, command_len, "%s -f %s %s", sendmail, from,
Command line for sendmail is unquoted and needed to be:
snprintf(command, command_len, "%s -f \"%s\" \"%s\"", sendmail, from,
Because delivery of message with From such "My Name <[EMAIL PROTECTED]>" is
impossible in command line like:
sendmail -f My Name <[EMAIL PROTECTED]> [EMAIL PROTECTED]
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
related to 0000323 pipe to sendmail is opened incorrect
======================================================================
----------------------------------------------------------------------
aaron - 17-Apr-06 21:43
----------------------------------------------------------------------
I have a fix for this in my tree, but I haven't fully tested it yet.
----------------------------------------------------------------------
aaron - 18-Apr-06 08:11
----------------------------------------------------------------------
Ok, let's try this patch on for size. It builds, but haven't tested if it
fully works!
----------------------------------------------------------------------
paul - 18-Apr-06 22:58
----------------------------------------------------------------------
I've applied your fix Aaron since it passes the current test suites. It
does require more specific testing.
Issue History
Date Modified Username Field Change
======================================================================
17-Apr-06 18:27 piranha New Issue
17-Apr-06 21:43 aaron Relationship added related to 0000323
17-Apr-06 21:43 aaron Note Added: 0001083
18-Apr-06 08:11 aaron File Added: dbmail-2.1-2006-04-17.diff
18-Apr-06 08:11 aaron Note Added: 0001086
18-Apr-06 22:58 paul Note Added: 0001091
18-Apr-06 22:58 paul Status new => confirmed
======================================================================