On Sun, Feb 15, 2015 at 09:29:50AM -0700, Sherman Boyd wrote: > Hello. I'm working on a little ARM server that runs Postfix. On incoming > or outgoing email I want to trigger an animation on an attached ring of > LEDs. My first attempt was to follow the approach here (content filter > re-injecting with sendmail) :
* Define "incoming" mail. * Define "outgoing" mail. Mail enters Postfix from multiple sources: * From outside via SMTP. * From local processes via sendmail(1). * Internally generated bounce and postmaster notices * Internally generated probes via verify(8) * Indirect delivery of aliases in local(8) Mail leaves Postfix via: * Delivery to remote machines via SMTP. * Delivery to a mailstore via LMTP * Delivery to a local mbox file or maildir via local(8) or virtual(8). * Delivery to commands via command aliases(5), mailbox_command settings or pipe(8) transports. * Circular file via discard(8). Which of these various events do you want to blink the lights? Presumably this is intended to be a low-volume deployment, otherwise the lights will just flicker imperceptibly. -- Viktor.