On 07/13/2012 03:42 AM, Ken Anderson wrote: > > Voytek Eymont <voy...@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