Re: [exim] Dynamic alias in Exim

Pàgina inicial
Delete this message
Reply to this message
Autor: John Burnham
Data:  
A: exim-users
Assumpte: Re: [exim] Dynamic alias in Exim
> Can someone please help me !!!
>
> I need to be able to add an email alias to my exim alias list. This
> email address need to be a dynamic entry.
>
> This dynamic email alias is going to be an UK mobile number.
>
> When someone sends an email to <mobile_number>@mydomain.com,
> i need to
> be able to run a script.
>
> I know how to add an entry in the alias file to be able to
> run a script,
> but don't know how to add the dynamic email alias.
>
> For the time being, I'll just re-direct it to my email address:
>
> In the alias file, I need to be able to add something like :-
>
>         447[0-9]{9}:    joe.bloggs

>


Instead of using a router that uses an alias file, could you instead have a redirect
router where the contents of the data gives it the script to run (presumably using a pipe)
and you have a condition to match the local part to a regular expression as you have given
above ?
John