[exim] Problems with Sieve Filters and vacation messages

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Javier Calahorra Novillo
Date:  
À: exim-users
Sujet: [exim] Problems with Sieve Filters and vacation messages
Hello all,

We've deployed a new mail architecture which includes exim and some of the horde suite products (IMP, Ingo, Kronolith...). We wanted to use server side filters, so exim was configured to use .forward files to define all users mail filter rules. Those files are automatically generated by Ingo, which creates them by using the Sieve format, and all of them run ok except for the vacation messages. You can find attached one of those filter rules files:
# Sieve Filter
# Generated by Ingo (http://www.horde.org/ingo/) (September 7, 2006, 2:46 pm)

require "vacation";

# Vacation
vacation :days 1 :addresses "XXX@???" :subject "OUT OF OFFICE" "I AM OUT OFF OFFICE TODAY.
";

The problem is that exim doesn't seem to recognize this kind of vacation rules (exim doesn't reply with the vacation message to the sender), and we think that maybe it has to do with the autoreply transport section, we're not sure ¿Do we have to add more routers/transports in out exim configuration?

userforward:
driver = redirect
condition = ${if eq {}{${lookup ldap {ldap://XXX?mailMessageStore?sub?(&(|(
mail=${local_part}@${domain})(mailAlternateAddress=${local_part}@${domain}))(objectclass=person))}}}{no}{yes <mailto:mail=${local_part}@${domain})(mailAlternateAddress=${local_part}@${domain}))(objectclass=person))}}}{no}{yes> }}
user = vmail
group = vmail
file = ${lookup ldap {ldap://XXX?mailMessageStore?sub?(|(mail=${local_part
}@${domain})(mailAlternateAddress=${local_part}@${domain <mailto:}@${domain})(mailAlternateAddress=${local_part}@${domain> }))} {$value} fail }/Maildir/forward
allow_filter
no_verify
no_expn
check_ancestor
directory_transport = userforward_delivery
file_transport = userforward_delivery
pipe_transport = address_pipe
reply_transport = address_reply
ignore_enotdir

userforward_delivery:
driver = appendfile
maildir_format = true
directory = ${sg {$address_file}{(^[Ii][Nn][Bb][Oo][Xx])(.*)\/*}{${lookup ldap {ldap://XXX?mailMessageStore?sub?(|(mail=${local_part}@${domain})(mailAlternateAddress=${local_part}@${domain}))}{$value <mailto:mail=${local_part}@${domain})(mailAlternateAddress=${local_part}@${domain}))}{$value> }
fail}/Maildir/\$2/}}
create_directory = true
delivery_date_add
envelope_to_add
return_path_add
user = vmail
group = vmail
maildir_tag = ,S=$message_size
directory_mode = 0700
mode = 0660

address_reply:
driver = autoreply

Thanks in advance for your help,

Javier
****************************************
Javier Calahorra Novillo
División de Infraestructuras Seguras
SGI Soluciones Globales Internet
Tel: +34 918061600
www.sgi.es
****************************************

______________________
Este mensaje, y en su caso, cualquier fichero anexo al mismo,
puede contener informacion clasificada por su emisor como confidencial
en el marco de su Sistema de Gestion de Seguridad de la
Informacion siendo para uso exclusivo del destinatario, quedando
prohibida su divulgacion copia o distribucion a terceros sin la
autorizacion expresa del remitente. Si Vd. ha recibido este mensaje
erroneamente, se ruega lo notifique al remitente y proceda a su borrado.
Gracias por su colaboracion.
______________________
This message including any attachments may contain confidential
information, according to our Information Security Management System,
and intended solely for a specific individual to whom they are addressed.
Any unauthorised copy, disclosure or distribution of this message
is strictly forbidden. If you have received this transmission in error,
please notify the sender immediately and delete it.
______________________