[Vmail-discuss] I wona to run script when I got a message...
Nick
nick-ray at biptelecom.ru
Wed, 28 Apr 2004 11:21:58 +0300
Benoit Lathiere ?????:
> Hi !
>
> To solve this, I do a couple of forwardings :
> in Vmail-sql, I forward the address to local alias, and in my
> /etc/aliases I forward the locl alias to the pipe.
>
> 1- VE-forwarder vdomain.org email 'email@localdomain.org'
> 2- in /etc/aliases : `email : "| /path/of/my/script"`
>
It't true, but how I can transfer to script the keys or variables?
I need something like this:
`email : "| /path/of/my/script ddd@fff.com sss@ccccc.com"`
My idea is to reply my message (it will be created by my script) to
some senders. It's need if I change e-mail address and would like to
say about it to my friends as reply.
The parameters to my script are - old-address@domain, new-address@domain
The script will generate a text and send message to sender (it will take
the address from "From:" field, but best way to get sender address
from exims variable)
> Remember that Vmail-sql can't user pipes in these forwarders.
>
> cheers,
>
> benoit.
>
> Nick a écrit:
>
>> Hello!
>>
>> I've use exim and vmail-sql like mysql base.
>>
>> Can I put into forwarder table an entry (remote_name field) like this
>> "some@address.org , | /usr/local/bin/my_script.pl -f ${sender_address}"
>> for forwarding the message to some@address.org and procesing it with a
>> my script?
>>
>>
>> Thank you.
>> Nick.
>
>
>
> _______________________________________________
> vmail-discuss mailing list
> vmail-discuss@lists.beasts.org
> http://lists.beasts.org/mailman/listinfo/vmail-discuss
>
>
--
Nick K. Kozubsky
nick@oss.ru
Tel/FAX: +7 0112 556504
Rem: No Microsoft products were used in the production of this message.