[exim] [EXIM] Problems with vacation filters

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Javier Calahorra Novillo
Datum:  
To: exim-users@exim.org
Betreff: [exim] [EXIM] Problems with vacation filters
Hi all!

I've configured exim in order to use the Sieve Vacation filter and it works, but the return-path and from of the vacation message is not the one of the user who is reciving the email. It is in fact vmail@machine. So if i send a mail to the user X who has his vacation filter activated i recieve his vacation message but with from: "vmail@machine" and not X@domain. I've tried to fix it by putting return_path everywhere but i can't make it work.

Does anyone know what i have to do? Thanks a lot.

Here is my configuration:

userforward:
driver = redirect
condition = ${if eq {}{${lookup ldap {ldap://192.168.45.27/ou=usuarios-no-migrados,dc=csic,dc=es?mailMessageStore?sub?(&(|(mail=${local_part}@${domain})(mailAlternateAddress=${local_part}@${domain}))(objectclass=person))}}}{no}{yes}}
user = vmail
group = vmail
file = ${lookup ldap {ldap://192.168.45.27/ou=usuarios-no-migrados,dc=csic,dc=es?mailMessageStore?sub?(|(mail=${local_part}@${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
sieve_vacation_directory = ${lookup ldap {ldap://192.168.45.27/ou=usuarios-no-migrados,dc=csic,dc=es?mailMessageStore?sub?(|(mail=${local_part}@${domain})(mailAlternateAddress=${local_part}@${domain}))} {$value} fail }/Maildir/
userforward_delivery:
driver = appendfile
maildir_format = true
directory = ${sg {$address_file}{(^[Ii][Nn][Bb][Oo][Xx])(.*)\/*}{${lookup ldap {ldap://192.168.45.27/ou=usuarios-no-migrados,dc=csic,dc=es?mailMessageStore?sub?(|(mail=${local_part}@${domain})(mailAlternateAddress=${local_part}@${domain}))}{$value} fail}/Maildir/\$2/}}
create_directory = true
delivery_date_add
envelope_to_add
user = vmail
group = vmail
maildir_tag = ,S=$message_size
directory_mode = 0700
mode = 0660
return_path_add
address_reply:
driver = autoreply

Emilio & Javi

______________________
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.
______________________