[exim] Vacation sender problem

Top Page
Delete this message
Reply to this message
Author: eegm
Date:  
To: exim-users
Subject: [exim] Vacation sender problem

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 puting 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

--
View this message in context: http://www.nabble.com/Vacation-sender-problem-tf2381099.html#a6635941
Sent from the Exim Users mailing list archive at Nabble.com.