A BUGNOTE has been added to this bug.
======================================================================
http://www.dbmail.org/mantis/bug_view_advanced_page.php?bug_id=0000067
======================================================================
Reported By: ilja
Assigned To:
======================================================================
Project: DBMail
Bug ID: 67
Category: IMAP daemon
Reproducibility: always
Severity: minor
Priority: normal
Status: confirmed
======================================================================
Date Submitted: 20-Aug-04 11:28 CEST
Last Modified: 20-Aug-04 15:30 CEST
======================================================================
Summary: messages that cannot be parsed have standard header
with hardcoded sender
Description:
Messages that cannot be parsed by our message parser get sent to the client
with a message that they cannot be parsed, but this message is sent from
[EMAIL PROTECTED] This address is hardcoded. It should be
configurable
======================================================================
----------------------------------------------------------------------
ilja - 20-Aug-04 14:55 CEST
----------------------------------------------------------------------
It's quite easy to get the Postmaster's address from the config file.
field_t postmaster;
GetConfigValue("POSTMASTER", "SMTP", postmaster);
strncpy(mr.value, postmaster, MIME_VALUE_MAX - 1);
Will probably do the trick.
This does not give the user an explanation of what went wrong though. This
might still be added.
----------------------------------------------------------------------
ilja - 20-Aug-04 15:30 CEST
----------------------------------------------------------------------
rfcmsg.c.patch holds a patch for rfcmsg.c that should set the Postmaster's
address as From: address. This address is taken from dbmail.conf
Bug History
Date Modified Username Field Change
======================================================================
20-Aug-04 11:28ilja New Bug
20-Aug-04 14:55ilja Bugnote Added: 0000173
20-Aug-04 14:55ilja Status new => confirmed
20-Aug-04 15:29ilja File Added: rfcmsg.c.patch
20-Aug-04 15:30ilja Bugnote Added: 0000174
======================================================================