A NOTE has been added to this issue. 
====================================================================== 
http://www.dbmail.org/mantis/view.php?id=451 
====================================================================== 
Reported By:                johnke
Assigned To:                
====================================================================== 
Project:                    DBMail
Issue ID:                   451
Category:                   Sieve (delivery, dbmail-sievecmd, dbmail-timsieved)
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
target:                      
====================================================================== 
Date Submitted:             17-Nov-06 13:03 CET
Last Modified:              17-Nov-06 17:39 CET
====================================================================== 
Summary:                    "vacation" action kills dbmail-smtpd with signal 11
when no "To" address present
Description: 
When using the 'vacation' action in a sieve script, mail caught by the
filter but without a "To" header set will cause dbmail-smtpd to die with
signal 11.

For example, my vacation script is:

require ["fileinto", "reject", "vacation"];
if header :contains ["From"] "[EMAIL PROTECTED]" {
   vacation "Out of the office.";
   stop;
}

If I send a mail from "[EMAIL PROTECTED]", but only BCC my dbmail
account, dbmail-smtpd will die with signal 11.  If I send the mail from
any other address (so it isn't being caught by the filter), or if I set my
dbmail account in the "To" field, it works fine.

The 'fileinto' action does not seem to have the same problem:

require ["fileinto", "reject", "vacation"];
if header :contains ["From"] "[EMAIL PROTECTED]" {
   fileinto "personal";
   stop;
}

Sending a mail from "[EMAIL PROTECTED]" and setting my dbmail account in
the BCC field, mail is handled correctly by the filter and is deposited in
my "personal" folder.
====================================================================== 

---------------------------------------------------------------------- 
 aaron - 17-Nov-06 17:39  
---------------------------------------------------------------------- 
Please attach a set of tracelevel 5 logs leading up to the segfault.
Thanks! 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
17-Nov-06 13:03 johnke         New Issue                                    
17-Nov-06 17:39 aaron          Note Added: 0001607                          
======================================================================

Reply via email to