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.