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
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
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
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Mon, 22 Feb 2016, micah wrote:
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.
hmm, I do have some sort of Bulletin (approx. one message per year) that I deliver per script to Maildir:
- I sent the message to myself
- discover it in my mail spool
- cd /mailspool ; ls -U | while read u; do if test -d "$u/Maildir/new"; then ln /mailspool/myself/Maildir/new/message "$u/Maildir/new" fi done
Steps 1 and 2 can be simulated easily or combined with a mailbox, that fires a script for new arrivals. Of course, this script depends on your local situation.
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
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1
iQEVAwUBVswKe3z1H7kL/d9rAQKSGQf/WZb8rrLU8Ly6Bv/8cf660VLpAKmQEU6M Dv6kz/v8Xr+KgUmx4FcB6anfSqZfh9QnEHfH69XQEs5EVqQQhOXVlpnDKbeSCKN4 YexkPvVNKvdE5tQ1TqwOtqEgHs1N1pJLDuTne7jImeXUzGxzwwudFPQNIu9eRdTr ryzze8Wh2eoInNcd1Jkr5I27HpsPAq15EYgpHlzro5ecFgmxANEhgcnJMWgqcU9U 8KaFewDaqAtbJouLlfJKJ0rcL637vr/ZL1F23pQyHb+wmWhYIGAmRE0/kwzOjZ3j JU2ySYdMLaPDqXpxpX3ecayrp0Jp2t0Cb49yRZ6H7+8L5EdRFYyT9g== =LCbn -----END PGP SIGNATURE-----
participants (3)
-
Kevin Kershner
-
micah
-
Steffen Kaiser