[Exim] Loosing Mail Recipient in local_delivery pipe

Top Page
Delete this message
Reply to this message
Author: Tim Tassonis
Date:  
To: exim-users
Subject: [Exim] Loosing Mail Recipient in local_delivery pipe
Hi

I have a program to do local deliveries installed in exim4 that apart from other stuff needs to know the email address the mail was sent to.

However, this information seems to get lost, as soon as I use aliases.

I have the following /etc/aliases entry:

tim.tassonis: tim

The local delivery looks as follows:

local_delivery:
driver = pipe
command = "/opt/smr/bin/smr-dummy_recv"
delivery_date_add
envelope_to_add
return_path_add

When I now send a mail to tim.tassonis@???, the alias is resolved properly, but in my programm smr-dummy_recv, I get the following environment variable (among others):

RECIPIENT=tim@???


However, the mail was sent to tim.tassonis@??? and I'd like to know about this. Can this be fixed somehow?

Bye
Tim