On 2020-05-26 1:52 p.m., Phil Stracchino wrote:
On 2020-05-26 13:42, Jos Chrispijn wrote:
Is there a way of Postfix sending a Whatsapp message to a user when
there came in email for her/him?

Thanks, Jos
No.  That is utterly and totally not Postfix's, or any MTA's, job.  Period.

If you wanted to get a WhatsApp notification when you receive new mail,
you'd need to find a mail *client* that has some kind of WhatsApp
notification plugin.  (Good luck with that.)

Hi Jos,

You may want to investigate doing this at the MDA.  If you run Dovecot in conjunction with Postfix, you could write a Sieve script that calls a shell script that then sends the notification to whatever third-party service you would like.

As a side-note - there actually is a Sieve RFC that covers notifications via XMPP / Jabber, but that isn't available in Dovecot at the moment.

- J

Reply via email to