A NOTE has been added to this issue. 
====================================================================== 
http://dbmail.org/mantis/view.php?id=936 
====================================================================== 
Reported By:                pada
Assigned To:                
====================================================================== 
Project:                    DBMail
Issue ID:                   936
Category:                   Sieve (delivery, dbmail-sievecmd, dbmail-timsieved)
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
target:                      
====================================================================== 
Date Submitted:             29-Oct-11 19:47 CEST
Last Modified:              29-Oct-11 20:25 CEST
====================================================================== 
Summary:                    dbmail vacation does not check recipient headers
Description: 
http://tools.ietf.org/id/draft-ietf-sieve-vacation-07.txt states:

---------------------------------------------------------------------------
4.5.  Address Parameter and Limiting Replies to Personal Messages

   "Vacation" MUST NOT respond to a message unless the recipient user's
   email address is in a "To", "Cc", "Bcc", "Resent-To", "Resent-Cc", or
   "Resent-Bcc" line of the original message.
---------------------------------------------------------------------------

Currently, the modules/sortsieve.c:sort_vacation() does not care about
recipient headers (To, Cc, Bcc, Resent-To, Resent-Cc, Resent-Bcc, Envelope
Recipient Address, etc.). It just sends out a vacation using function
send_vacation().

If the message is received via a mailing list, a vacation message is sent,
which should not happen. According to the draft, the headers of the
incoming message need to be checked against valid :from and :addresses and
any addresses that dbmail thinks belong to the usermailbox.
====================================================================== 

---------------------------------------------------------------------- 
 (0003313) jasb (reporter) - 29-Oct-11 20:03
 http://dbmail.org/mantis/view.php?id=936#c3313 
---------------------------------------------------------------------- 
This is already fixed in the last version, either dbmail or libsieve.
I had the same problem and Paul made a patch for it (no idea where it is). 

---------------------------------------------------------------------- 
 (0003314) paul (administrator) - 29-Oct-11 20:09
 http://dbmail.org/mantis/view.php?id=936#c3314 
---------------------------------------------------------------------- 
Indeed. This is a libsieve bug fixed by 

https://github.com/sodabrew/libsieve/commit/590333dcc798e4d0eddb955fa239de3e9681fbb7

The libsieve 2.2.8rc1 packages on debian.nfgd.net also contain this patch. 

---------------------------------------------------------------------- 
 (0003315) jasb (reporter) - 29-Oct-11 20:25
 http://dbmail.org/mantis/view.php?id=936#c3315 
---------------------------------------------------------------------- 
Paul,
I have that on my sources.list, but the only libsieve I have available is
2.2.6.

deb http://debian.nfgd.net/debian stable main

What am I missing? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
29-Oct-11 19:47  pada           New Issue                                    
29-Oct-11 20:03  jasb           Note Added: 0003313                          
29-Oct-11 20:09  paul           Note Added: 0003314                          
29-Oct-11 20:25  jasb           Note Added: 0003315                          
======================================================================

_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev

Reply via email to