Pigeonhole, vacation being sent incorrectly
Hi,
I have an issue with a vacation message in a sieve script. I can't see an error in the script itself.
Pigeonhole version: 0.4.2-32 Dovecot Version: 2.2.10
The script was created by Ingo (part of the Horde suite), but I think the script is fine. The problem is that when a message is sent to the "everyone" group (and alias for every person in the organisation), vacation messages are being sent back which I believe is an error.
The script is:
=============================================== # Sieve Filter # Generated by Ingo (http://www.horde.org/apps/ingo/) (11/11/14, 5:20:06 pm GMT) require ["vacation", "regex", "fileinto"]; # Vacation if allof ( not exists "list-help", not exists "list-unsubscribe", not exists "list-subscribe", not exists "list-owner", not exists "list-post", not exists "list-archive", not exists "list-id", not exists "Mailing-List", not header :comparator "i;ascii-casemap" :is "Precedence" ["list", "bulk", "junk"], not header :comparator "i;ascii-casemap" :matches "To" "Multiple recipients of*" ) { if header :regex "Received" "^.*(2014) (\\(.*\\) )?..:..:.. (\\(.*\\) )?((\\+|\\-)[[:digit:]]{4}|.{1,5})( \\(.*\\))?$" { if header :regex "Received" "^.*(Nov) (\\(.*\\) )?.... (\\(.*\\) )?..:..:.. (\\(.*\\) )?((\\+|\\-)[[:digit:]]{4}|.{1,5})( \\(.*\\))?$" { if header :regex "Received" "^.*(13|14|15|16|17|18) (\\(.*\\) )?... (\\(.*\\) )?.... (\\(.*\\) )?..:..:.. (\\(.*\\) )?((\\+|\\-)[[:digit:]]{4}|.{1,5})( \\(.*\\))?$" { vacation :days 7 :addresses "user2" :subject "Out of office" "IMPORTANT MESSAGE^M THE MESSAGE "; } } } }
The user "User2" sent a vacation message back to the sender "user@example.com" in response to this message (headers only):
=============================================== Return-path: User@example.com Envelope-to: everyone@example.com Delivery-date: Thu, 13 Nov 2014 16:08:16 +0000 Received: from tunis.Exampledomain.local ([192.168.254.107] helo=Tunis) by mail.example.com with esmtp (Exim 4.72) (envelope-from User@example.com) id 1XowwM-0007Qw-Cj for everyone@example.com; Thu, 13 Nov 2014 16:08:10 +0000 From: "User" User@example.com To: "Everyone at Example" everyone@example.com Subject: Electrician Date: Thu, 13 Nov 2014 16:08:10 -0000 Organization: Example Consultancy Message-ID: 02e601cfff5c$051ec350$0f5c49f0$@example.com MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_02E7_01CFFF5C.051FD4C0" X-Mailer: Microsoft Outlook 14.0 Thread-Index: Ac//W17ujWbs6KgRRsOZFc7+qT45Tg== Content-Language: en-gb X-Spam-Note: SpamAssassin run bypassed - sent from local address
This is a multipart message in MIME format.
===============================================
I have checked RFC 5230 section 4.5 which states:
"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.
I cannot see the address for "user2@example.com" in any of those fields, or indeed referenced anywhere in the email. Is this a bug, or am I misunderstanding something?
Harry
Harry Mills Tel: 01749 812100 Managing Director Mob: 07815 848818 Opendium Ltd. www.opendium.com
jesus! learn to use precedence
On 11/26/14, Harry Mills harry@opendium.com wrote:
Hi,
I have an issue with a vacation message in a sieve script. I can't see an error in the script itself.
Pigeonhole version: 0.4.2-32 Dovecot Version: 2.2.10
The script was created by Ingo (part of the Horde suite), but I think the script is fine. The problem is that when a message is sent to the "everyone" group (and alias for every person in the organisation), vacation messages are being sent back which I believe is an error.
The script is:
=============================================== # Sieve Filter # Generated by Ingo (http://www.horde.org/apps/ingo/) (11/11/14, 5:20:06 pm GMT) require ["vacation", "regex", "fileinto"]; # Vacation if allof ( not exists "list-help", not exists "list-unsubscribe", not exists "list-subscribe", not exists "list-owner", not exists "list-post", not exists "list-archive", not exists "list-id", not exists "Mailing-List", not header :comparator "i;ascii-casemap" :is "Precedence" ["list", "bulk", "junk"], not header :comparator "i;ascii-casemap" :matches "To" "Multiple recipients of*" ) { if header :regex "Received" "^.*(2014) (\\(.*\\) )?..:..:.. (\\(.*\\) )?((\\+|\\-)[[:digit:]]{4}|.{1,5})( \\(.*\\))?$" { if header :regex "Received" "^.*(Nov) (\\(.*\\) )?.... (\\(.*\\) )?..:..:.. (\\(.*\\) )?((\\+|\\-)[[:digit:]]{4}|.{1,5})( \\(.*\\))?$" { if header :regex "Received" "^.*(13|14|15|16|17|18) (\\(.*\\) )?... (\\(.*\\) )?.... (\\(.*\\) )?..:..:.. (\\(.*\\) )?((\\+|\\-)[[:digit:]]{4}|.{1,5})( \\(.*\\))?$" { vacation :days 7 :addresses "user2" :subject "Out of office" "IMPORTANT MESSAGE^M THE MESSAGE "; } } } }
The user "User2" sent a vacation message back to the sender "user@example.com" in response to this message (headers only):
=============================================== Return-path: User@example.com Envelope-to: everyone@example.com Delivery-date: Thu, 13 Nov 2014 16:08:16 +0000 Received: from tunis.Exampledomain.local ([192.168.254.107] helo=Tunis) by mail.example.com with esmtp (Exim 4.72) (envelope-from User@example.com) id 1XowwM-0007Qw-Cj for everyone@example.com; Thu, 13 Nov 2014 16:08:10 +0000 From: "User" User@example.com To: "Everyone at Example" everyone@example.com Subject: Electrician Date: Thu, 13 Nov 2014 16:08:10 -0000 Organization: Example Consultancy Message-ID: 02e601cfff5c$051ec350$0f5c49f0$@example.com MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_02E7_01CFFF5C.051FD4C0" X-Mailer: Microsoft Outlook 14.0 Thread-Index: Ac//W17ujWbs6KgRRsOZFc7+qT45Tg== Content-Language: en-gb X-Spam-Note: SpamAssassin run bypassed - sent from local address
This is a multipart message in MIME format.
===============================================
I have checked RFC 5230 section 4.5 which states:
"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.
I cannot see the address for "user2@example.com" in any of those fields, or indeed referenced anywhere in the email. Is this a bug, or am I misunderstanding something?
Harry
Harry Mills Tel: 01749 812100 Managing Director Mob: 07815 848818 Opendium Ltd. www.opendium.com
actually . you are, i missed it all the noise horde seems to generate, precedence covers pretty much all of that crap, i was glad I left horde, seems its still as stuffed as ever
On 11/26/14, Nick Edwards nick.z.edwards@gmail.com wrote:
jesus! learn to use precedence
On 11/26/14, Harry Mills harry@opendium.com wrote:
Hi,
I have an issue with a vacation message in a sieve script. I can't see an error in the script itself.
Pigeonhole version: 0.4.2-32 Dovecot Version: 2.2.10
The script was created by Ingo (part of the Horde suite), but I think the script is fine. The problem is that when a message is sent to the "everyone" group (and alias for every person in the organisation), vacation messages are being sent back which I believe is an error.
The script is:
=============================================== # Sieve Filter # Generated by Ingo (http://www.horde.org/apps/ingo/) (11/11/14, 5:20:06 pm GMT) require ["vacation", "regex", "fileinto"]; # Vacation if allof ( not exists "list-help", not exists "list-unsubscribe", not exists "list-subscribe", not exists "list-owner", not exists "list-post", not exists "list-archive", not exists "list-id", not exists "Mailing-List", not header :comparator "i;ascii-casemap" :is "Precedence" ["list", "bulk", "junk"], not header :comparator "i;ascii-casemap" :matches "To" "Multiple recipients of*" ) { if header :regex "Received" "^.*(2014) (\\(.*\\) )?..:..:.. (\\(.*\\) )?((\\+|\\-)[[:digit:]]{4}|.{1,5})( \\(.*\\))?$" { if header :regex "Received" "^.*(Nov) (\\(.*\\) )?.... (\\(.*\\) )?..:..:.. (\\(.*\\) )?((\\+|\\-)[[:digit:]]{4}|.{1,5})( \\(.*\\))?$" { if header :regex "Received" "^.*(13|14|15|16|17|18) (\\(.*\\) )?... (\\(.*\\) )?.... (\\(.*\\) )?..:..:.. (\\(.*\\) )?((\\+|\\-)[[:digit:]]{4}|.{1,5})( \\(.*\\))?$" { vacation :days 7 :addresses "user2" :subject "Out of office" "IMPORTANT MESSAGE^M THE MESSAGE "; } } } }
The user "User2" sent a vacation message back to the sender "user@example.com" in response to this message (headers only):
=============================================== Return-path: User@example.com Envelope-to: everyone@example.com Delivery-date: Thu, 13 Nov 2014 16:08:16 +0000 Received: from tunis.Exampledomain.local ([192.168.254.107] helo=Tunis) by mail.example.com with esmtp (Exim 4.72) (envelope-from User@example.com) id 1XowwM-0007Qw-Cj for everyone@example.com; Thu, 13 Nov 2014 16:08:10 +0000 From: "User" User@example.com To: "Everyone at Example" everyone@example.com Subject: Electrician Date: Thu, 13 Nov 2014 16:08:10 -0000 Organization: Example Consultancy Message-ID: 02e601cfff5c$051ec350$0f5c49f0$@example.com MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_02E7_01CFFF5C.051FD4C0" X-Mailer: Microsoft Outlook 14.0 Thread-Index: Ac//W17ujWbs6KgRRsOZFc7+qT45Tg== Content-Language: en-gb X-Spam-Note: SpamAssassin run bypassed - sent from local address
This is a multipart message in MIME format.
===============================================
I have checked RFC 5230 section 4.5 which states:
"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.
I cannot see the address for "user2@example.com" in any of those fields, or indeed referenced anywhere in the email. Is this a bug, or am I misunderstanding something?
Harry
Harry Mills Tel: 01749 812100 Managing Director Mob: 07815 848818 Opendium Ltd. www.opendium.com
On 11/26/2014 06:04 AM, Harry Mills wrote:
Hi,
I have an issue with a vacation message in a sieve script. I can't see an error in the script itself.
Pigeonhole version: 0.4.2-32 Dovecot Version: 2.2.10
The script was created by Ingo (part of the Horde suite), but I think the script is fine. The problem is that when a message is sent to the "everyone" group (and alias for every person in the organisation), vacation messages are being sent back which I believe is an error.
There is a configuration option which would make that possible. See 'sieve_vacation_dont_check_recipient' in http://wiki2.dovecot.org/Pigeonhole/Sieve/Extensions/Vacation
On 26/11/2014 12:58, Gedalya wrote:
On 11/26/2014 06:04 AM, Harry Mills wrote:
Hi,
I have an issue with a vacation message in a sieve script. I can't see an error in the script itself.
Pigeonhole version: 0.4.2-32 Dovecot Version: 2.2.10
The script was created by Ingo (part of the Horde suite), but I think the script is fine. The problem is that when a message is sent to the "everyone" group (and alias for every person in the organisation), vacation messages are being sent back which I believe is an error.
There is a configuration option which would make that possible. See 'sieve_vacation_dont_check_recipient' in http://wiki2.dovecot.org/Pigeonhole/Sieve/Extensions/Vacation
Hi Gedalya,
Thanks for the info - unfortunately that setting isn't configured anywhere so I am assuming the default setting of no will be applied.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Wed, 26 Nov 2014, Harry Mills wrote:
On 26/11/2014 12:58, Gedalya wrote:
On 11/26/2014 06:04 AM, Harry Mills wrote:
The script was created by Ingo (part of the Horde suite), but I think the script is fine. The problem is that when a message is sent to the "everyone" group (and alias for every person in the organisation), vacation messages are being sent back which I believe is an error.
There is a configuration option which would make that possible. See 'sieve_vacation_dont_check_recipient' in http://wiki2.dovecot.org/Pigeonhole/Sieve/Extensions/Vacation
Thanks for the info - unfortunately that setting isn't configured anywhere so I am assuming the default setting of no will be applied.
a) Did you verified your assumption via doveconf -n ?
b) Was "user2" the only one with vacation enabled and did user got the vacation reply from all those users?
c) Could you create yet another alias with two test users and try it with this limited user set?
d) Did you see the headers of the message user2 got? Maybe this particular message got redirected and got an Resent-To added. "tunis.Exampledomain.local" cries for "MS Exchange", which adds such headers if configured to resent (in opposite to forward) messages. Is user2 a recipient of an Exchange account?
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux)
iQEVAwUBVHXud3z1H7kL/d9rAQIBsgf8D+3VHosPPo0V04hY5WXFJoeDq0U8LEAw jWWPehrZWA/T4VgScLrO5981tXMcQ4sPXJES53BDxsR2uwAcAlbLuQlf6vbioaIE 8geIy8QXmu2RZJKycCJahF70iIuwajuTTiHhZaDXh+bgoK3p1Mfs46AHG7w7Wdfx +xmnqUTvUn+z7b7YSrkw+lA3u5an3lWrMmf+u/yMCXeVXrudBAsi3gyysTr8lDwO zeJl+jAoHIfR6WrO+GnxxQa113rYlfE9ke1Ib8SYbqDl6lbNYaBGpPpfczRaGKvc odzygC7iUQJFNnaLEVRXlnZw78/fUigD4rz0ZuFcgxcdFSrzkt6f2g== =QRJC -----END PGP SIGNATURE-----
participants (4)
-
Gedalya
-
Harry Mills
-
Nick Edwards
-
Steffen Kaiser