Too bad you couldn't convince them use a From address in the form of
'12345.booking@???' (where the number is random), it would be
trivial to setup an alias such as '*.booking: bookings' and adjust your
system_aliases router from:
system_aliases:
driver = redirect
allow_fail
allow_defer
data = ${lookup{$local_part}lsearch{/etc/aliases}}
file_transport = address_file
pipe_transport = address_pipe
to:
system_aliases:
driver = redirect
allow_fail
allow_defer
data = ${lookup{$local_part}partial1-lsearch{/etc/aliases}}
file_transport = address_file
pipe_transport = address_pipe
---
/\---/\ Eric J Fox
/ o o \ Small Business Computer Support
\.\ /./ in the Phoenix Metropolitan Area
\@/ http://www.bsdsystems.com/support/
.
On Wed, 18 May 2005, Brent Clark wrote:
> Hi all
>
> I just received a weird request from our IT dept, that is on behalf of
> our sales dept.
>
> Basically the IT dept would like the new developed app to send out an
> email to our client.
> The email will contain a From: address of: booking123456@???
> (random number after booking)
>
> The booking followed by a random number will be needed for the client to
> reply to the email.
>
> I now need Exim to accept this email and then to forward it onto a file
> (/var/bookings/).
>
> If anyone can share some tips or advice it would greatfully be appreciated.
>
> Kind regards
>
> Brent Clark
>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://www.exim.org/eximwiki/
>