The following issue has been RESOLVED. 
====================================================================== 
http://www.dbmail.org/mantis/view.php?id=67 
====================================================================== 
Reported By:                ilja
Assigned To:                paul
====================================================================== 
Project:                    DBMail
Issue ID:                   67
Category:                   IMAP daemon
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     resolved
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             20-Aug-04 11:28 CEST
Last Modified:              14-Feb-06 16:43 CET
====================================================================== 
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  
---------------------------------------------------------------------- 
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  
---------------------------------------------------------------------- 
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 

---------------------------------------------------------------------- 
 paul - 14-Feb-06 16:43  
---------------------------------------------------------------------- 
fixed a long time ago already 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
20-Aug-04 11:28 ilja           New Issue                                    
20-Aug-04 14:55 ilja           Note Added: 0000173                          
20-Aug-04 14:55 ilja           Status                   new => confirmed    
20-Aug-04 15:29 ilja           File Added: rfcmsg.c.patch                    
20-Aug-04 15:30 ilja           Note Added: 0000174                          
14-Feb-06 16:43 paul           Status                   confirmed => resolved
14-Feb-06 16:43 paul           Resolution               open => fixed       
14-Feb-06 16:43 paul           Assigned To               => paul            
14-Feb-06 16:43 paul           Note Added: 0001003                          
======================================================================

Reply via email to