[Dovecot] ot: execute a script via email?

Andrzej A. Filip andrzej.filip at gmail.com
Fri Jul 13 11:43:31 EEST 2012


On 07/13/2012 03:42 AM, Ken Anderson wrote:
>
> Voytek Eymont <voytek at sbt.net.au> wrote:
>
>> anyone has any tips what's best way to execute a script via email ?
>>
>> I have a wget script that fetches some pages, and, emails me the
>> output,
>> there is no paramters passed, it's all in the script
>> I'll like to email in and action the script to get the results email
>>
>>
>> -- 
>> Voytek
> Old school - in /etc/aliases you can set:
> user		"|/home/user/script"
> And read the mail from stdin. 
> Ken

There is available dovecot specific sieve extension (vnd.dovecot.pipe
<http://hg.rename-it.nl/pigeonhole-0.3-sieve-extprograms/raw-file/tip/doc/rfc/spec-bosch-sieve-extprograms.txt>)
to pipe messages to a pre-defined set of external programs.

http://wiki2.dovecot.org/Pigeonhole/Sieve


More information about the dovecot mailing list