Re: [exim] Using ${run ...} to execute external command, de…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Ted Cooper
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] Using ${run ...} to execute external command, dealing with result, Exim syntax
On Fri, 2009-09-04 at 17:19 +0100, Jonathan Gilpin wrote:
> Is it possible to run an external command after delivering a mail to a
> mailbox? perhaps to fork an external delivery via SMTP from a maildir?


Not exactly -

Pipe delivery & do anything you want?

Use an unseen router to duplicate delivery

Use system filter to duplicate delivery

Once a message is delivered to all recipients, the work of the MTA is
done. If you want to do some thing once an email has been delivered
completely to a Maildir, perhaps you could look into using inotify or a
cron job.

--
The Exim manual - http://docs.exim.org