[Dovecot] Notifications from dovecot
Hi list, im trying to build a web based system for secure communication build with standard linux software, instead of using CMS based systems.
One of the requirements is to send notifications to users when receiving mail.
Can a script find information about the mail address of received mails in dovecot logs or is there a better way.
-seeberg
Am 19.05.2014 13:07, schrieb Joakim Seeberg:
Hi list, im trying to build a web based system for secure communication build with standard linux software, instead of using CMS based systems.
One of the requirements is to send notifications to users when receiving mail.
Can a script find information about the mail address of received mails in dovecot logs or is there a better way.
which sort of notifications?
a e-mail "you got new e-mail" hardly makes sense
Den 19-05-2014 13:11, Reindl Harald skrev:
Am 19.05.2014 13:07, schrieb Joakim Seeberg:
Hi list, im trying to build a web based system for secure communication build with standard linux software, instead of using CMS based systems.
One of the requirements is to send notifications to users when receiving mail.
Can a script find information about the mail address of received mails in dovecot logs or is there a better way.
which sort of notifications?
a e-mail "you got new e-mail" hardly makes sense
Yes it does if the notification is sent to an external mail address that is checked regularly by the user. I'm thinking the script uses the mail address to look up the external mail address in ldap.
Alternatively a SMS but the process would be the same.
-- Mvh. Joakim Seeberg IT
9510 Arden seebergit.dk
On 5/20/2014 10:56 AM, Joakim Seeberg wrote:
Den 19-05-2014 13:11, Reindl Harald skrev:
Am 19.05.2014 13:07, schrieb Joakim Seeberg:
Hi list, im trying to build a web based system for secure communication build with standard linux software, instead of using CMS based systems.
One of the requirements is to send notifications to users when receiving mail.
Can a script find information about the mail address of received mails in dovecot logs or is there a better way. which sort of notifications?
a e-mail "you got new e-mail" hardly makes sense
Yes it does if the notification is sent to an external mail address that is checked regularly by the user. I'm thinking the script uses the mail address to look up the external mail address in ldap.
Alternatively a SMS but the process would be the same.
This should provide what you need:
http://sieve.info/ http://tools.ietf.org/html/rfc5435 http://tools.ietf.org/html/rfc5436
http://wiki2.dovecot.org/Pigeonhole
Regards,
Stephan.
On Mon, 2014-05-19 at 13:07 +0200, Joakim Seeberg wrote:
Hi list, im trying to build a web based system for secure communication build with standard linux software, instead of using CMS based systems.
One of the requirements is to send notifications to users when receiving mail.
Can a script find information about the mail address of received mails in dovecot logs or is there a better way.
It depends on your set up and what you're using for your local delivery agent. If you're using LMTP, then I asked a similar question a few days ago:
http://dovecot.org/pipermail/dovecot/2014-May/096144.html
Another alternative might be to create some sort of procmail script.
Andy
participants (4)
-
Andrew Beverley
-
Joakim Seeberg
-
Reindl Harald
-
Stephan Bosch