For lack of a better name, we are interested in a feature where one could get a notice out to all Dovecot users as quickly as possible, possibly without going through an MTA even. Given a message and a list of userids we could certainly do a mailing on the MDA server itself going through both Postfix and Dovecot LDA. However, we were wondering what other options we might have in Dovecot. For example, would it be possible to place the message into some file which Dovecot periodically checks for, and if the file exists, either present it to the user as a new message, or automatically deliver it at that time via Dovecot LDA? -- Steven F. Siirila Office: Lind Hall, Room 130B Internet Services E-mail: sfs at umn.edu Office of Information Technology Voice: (612) 626-0244 University of Minnesota Fax: (612) 626-7593
Emiliano Gabrielli (aka AlberT)
2007-Apr-19 15:25 UTC
[Dovecot] message-of-the-day feature?
On Thursday 19 April 2007 17:13, Steven F Siirila wrote:> For example, would it be possible to place the > message into some file which Dovecot periodically checks for, and if the > file exists, either present it to the user as a new message, or > automatically deliver it at that time via Dovecot LDA?it'd be a very nice feature :-) -- <?php echo ' Emiliano Gabrielli (aka AlberT) ',"\n", ' GrUSP founder - ZCE ',"\n", ' AlberT_at_SuperAlberT_it - www.SuperAlberT.it ',"\n", ' IRC: #php,#AES azzurra.com ',"\n",'ICQ: 158591185'; ?>
* On 19/04/07 10:13 -0500, Steven F Siirila wrote: | For lack of a better name, we are interested in a feature where one could | get a notice out to all Dovecot users as quickly as possible, possibly | without going through an MTA even. Given a message and a list of userids | we could certainly do a mailing on the MDA server itself going through | both Postfix and Dovecot LDA. However, we were wondering what other options | we might have in Dovecot. For example, would it be possible to place the | message into some file which Dovecot periodically checks for, and if the | file exists, either present it to the user as a new message, or automatically | deliver it at that time via Dovecot LDA? It's a really nice feature! We have something like that with tpop3d (Chris Lightfoot's). tpop3d is nolonger maintained but it's rock solid as a POP3 daemon. It gives this feature via some perl hooks (plugin, I'd call it, for lack of the proper word atm) and works very well. It serves the "bulletin" without any reference to the MTA, and keeps a DB of those users who have received/retrieved/pop-ed the bulletin(s) so that they don't get them twice. It's one feature I will surely miss if I migrated to dovecot 100%. -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +======================================================================+ |\ _,,,---,,_ | Odhiambo Washington <wash at wananchi.com> Zzz /,`.-'`' -. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +======================================================================+ The faster we go, the rounder we get. -- The Grateful Dead -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 2243 bytes Desc: not available URL: <http://dovecot.org/pipermail/dovecot/attachments/20070419/50c55dc1/attachment-0002.bin>
Quoting Odhiambo WASHINGTON:> We have something like that with tpop3d (Chris Lightfoot's). tpop3d is > nolonger maintained but it's rock solid as a POP3 daemon. It gives this > feature via some perl hooks (plugin, I'd call it, for lack of the proper > word atm) and works very well. > It serves the "bulletin" without any reference to the MTA, and keeps a > DB of those users who have received/retrieved/pop-ed the bulletin(s) > so that they don't get them twice.You can do just that with dovecot, see http://wiki.dovecot.org/PostLoginScripting It's not very good performance-wise, because you spawn extra processes for each login, but it depends on your setup/use-case how much it affects you.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, 19 Apr 2007, Steven F Siirila wrote: I have implented our quota warning the following way: A script drops the warning directly into the user's Maildir INBOX using a name, not created by any LDA. Because using the "unique" name (starting with "quotawarning") you can delete any previous warning with ~MailDirINBOX/{cur,new}/quotawarning*. New messages are picked up by the clients on a regular base :-) Bye, - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iQEVAwUBRiiaOS9SORjhbDpvAQK54QgAxuDcLvDzRVTQGk4eZSuuEtxjlYZ+zsP9 Ew70PJhdtqlggzKF5L0wnxppocq0Eb0BG3T7pibi3O8ket6ofZzWrVmPqoTv3S0+ TC1QzZy4/BDNIL3OyxqFk0wBgZ6kwyFAknsg/eKPN8Mvd+X5W8Wn8+lcDeLveIlS YD5DTIB4WndX7Dsi7k1fI0dZemSt5kb6GrHt7lIG3ORuuvgt4kBNeoSwR0/CRxJc DXojBi0j22LLdB+Rf7gQhF2C5PY0KAFny3zdIV0BhjTMGMCDbahC4+maQmXxReDS zKvqBKaO/WBc4TFAqrFZfKcyPqMcV+JZQTjqGAxoCygtQTMzTXP4Yg==fSwq -----END PGP SIGNATURE-----