Yup, exactly what I hoped to avoid. Maybe a new feature to consider for future release.
K
-----Original Message----- From: micah [mailto:micah@riseup.net] Sent: Monday, February 22, 2016 12:19 PM To: Kevin Kershner; Doug Hardie; Dovecot Mailing List; Timo Sirainen Subject: RE: Dovecot Bulletin
Using doveadm copy is an interesting solution because of the hardlinking. I wonder how fast it is, because almost every time I use the -A flag, the iterations over 100k users takes a long time.
We email the 'bulletin' to all of our users, everyone gets a copy, that way an admin doesn't need to do it, but it does mean that we duplicate the data quite a lot.
Kevin Kershner cstkersh@outlook.com writes:
It also got the bulletin out to new users without admin intervention.
Sent from Mobile
From: Doug Hardiemailto:bc979@lafn.org Sent: 2/22/2016 4:02 To: Dovecot Mailing Listmailto:dovecot@dovecot.org; Timo Sirainenmailto:tss@iki.fi Cc: Kevin Kershnermailto:cstkersh@outlook.com Subject: Re: Dovecot Bulletin
On 20 February 2016, at 18:14, Timo Sirainen tss@iki.fi wrote:
On 21 Feb 2016, at 02:50, Kevin Kershner cstkersh@outlook.com wrote:
I'd like to revisit and old post if I may, will/does Dovecot support the old qpopper "Bulletin" ability?
Basically I need a simple way of posting bulletins to all domain users. Qpopper maintained a bulletin db for each user and sent them the next bulletin in sequence.
I guess there could be a plugin that does this check on each login. But would it actually be useful? Why would it be better than simply sending the mail to all the users? For example:
doveadm save -A < bulletin.txt
The reasons for bulletins as I see it are:
The doveadm save command is undocumented. It does show a cryptic line in the output of the command "doveadm". However, it doesn't give any clue what it does or how to provide the message. Your note above provides considerably more information on that command. I tested it and it works as you have indicated though.
The doveadm save command causes the email to be saved in each user's mailbox. If you have a lot of users, thats a lot of wasted disk space. Qpopper's bulletins only kept one copy and every user downloaded from that copy. All that was retained per user was a counter of the last bulletin's sequence number that was downloaded.
— Doug