Re: [Exim] How to use script to validate address

Pàgina inicial
Delete this message
Reply to this message
Autor: Dave C.
Data:  
A: Jan Martinek
CC: exim-users
Assumpte: Re: [Exim] How to use script to validate address
On Tue, 17 Sep 2002, Jan Martinek wrote:

> Hello,
>
> I would like to configure Exim to become an "SMS gateway".
> It should proceed mail addressed to
> xxxxxxxxxx@???



> where xxxxxxxxx is a GSM telephone number. I cannot
> use any list, because there are lots of possible numbers,
> but I can do a script that can check telephone number validity
> and eventually send SMS.
> So Exim should do the following things:
> if the mail address is not local, pipe it to the script.



Rather than that, I would recomment a seperate subdomain, specifically
for this purpose.. eg gsm.mydomain.com or something. That way the
address spaces dont overlap.. Much easier to configure.


> The script is able to send the mail as SMS if the number
> is valid.
> If the script returns non zero (invalid number),
> go on proceeding the mail normal way - probably resulting
> in "Unknown recipient" or something.
> Is it possible to do it somehow?



>
>
> Thank you,
> Jan Martinek
>
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>
>