[exim] Autoreply oddities with mail containing 2 subjectline…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Sander Smeenk
Date:  
À: exim-users
Sujet: [exim] Autoreply oddities with mail containing 2 subjectlines?
Hello!

Liisa left the company, Liisa's mail is forwarded to Anna, Anna has an
Exim filter with autoresponder active for mail sent to Liisa's address:

| if ($h_To: matches "liisa@???" or
|     $h_Cc: matches "liisa@???") and
|     $h_From: does not match "ver(?:taa|gelijk).(?:nl|fi)"
| then
|     mail
|         from "Liisa Matinvesi - Vertaa.fi <liisa@???>"
|         subject "Autoreply - ($h_Subject:)"
|         expand file /home/anna/liisa.msg
|         once /home/anna/liisa.db
|         log /home/anna/liisa.log
|         once_repeat 365d
| endif


Liisa receives a weird message that gets frozen because it can't be
delivered. -Mvl on the message ID shows:

| 2006-08-09 10:25:48 anna@??? (anna@???) <liisa@???>
| R=userforward defer (-17): error in filter file: \n not followed by
| space in "Autoreply - (\nAccel Solutions vertaa.fi rekister?ityminen)"
| in mail command


Strange huh! If i check -Mvh for that msgID i find two Subject: lines:

| 022 Subject: =?utf-8?Q??=
| 053 Subject: Accel Solutions vertaa.fi rekister?tyminen


Did i do something strange, or did i find a little critter in de code? ;)

Kind regards,
Sander.
--
| Bakers trade bread recipes on a knead to know basis.
| 1024D/08CEC94D - 34B3 3314 B146 E13C 70C8 9BDB D463 7E41 08CE C94D