[Dovecot] "Maintenance instance"
Does any of you have a "Maintenance instance" of dovecot? Something that will accept any user/pass combination (and thus doesn't make MUAs fail in utter unforeseen ways), and gives any user logging in a canned mail (e.g. "We're doing maintenance, go away")
-- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt@charite.de | http://www.charite.de
- Edgar Fuß ef@math.uni-bonn.de:
and gives any user logging in a canned mail (e.g. "We're doing maintenance, go away") Wouldn't a client that keeps local copies of all IMAP boxes then synchronize to that canned state, i.e., delete all locally cached mails?
See "Alerts" in http://wiki2.dovecot.org/PostLoginScripting.
p@rick
-- state of mind Digitale Kommunikation
Franziskanerstraße 15 Telefon +49 89 3090 4664 81669 München Telefax +49 89 3090 4666
Amtsgericht München Partnerschaftsregister PR 563
- Patrick Ben Koetter p@state-of-mind.de:
- Edgar Fuß ef@math.uni-bonn.de:
and gives any user logging in a canned mail (e.g. "We're doing maintenance, go away") Wouldn't a client that keeps local copies of all IMAP boxes then synchronize to that canned state, i.e., delete all locally cached mails?
See "Alerts" in http://wiki2.dovecot.org/PostLoginScripting.
"Not all clients show the alerts, even though IMAP RFC requires it." let me guess: Outlook is one of those? If so: Useless.
-- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt@charite.de | http://www.charite.de
- Ralf Hildebrandt dovecot@dovecot.org:
- Patrick Ben Koetter p@state-of-mind.de:
- Edgar Fuß ef@math.uni-bonn.de:
and gives any user logging in a canned mail (e.g. "We're doing maintenance, go away") Wouldn't a client that keeps local copies of all IMAP boxes then synchronize to that canned state, i.e., delete all locally cached mails?
See "Alerts" in http://wiki2.dovecot.org/PostLoginScripting.
"Not all clients show the alerts, even though IMAP RFC requires it." let me guess: Outlook is one of those? If so: Useless.
Test it.
p@rick
-- state of mind Digitale Kommunikation
Franziskanerstraße 15 Telefon +49 89 3090 4664 81669 München Telefax +49 89 3090 4666
Amtsgericht München Partnerschaftsregister PR 563
- Edgar Fuß ef@math.uni-bonn.de:
and gives any user logging in a canned mail (e.g. "We're doing maintenance, go away")
Wouldn't a client that keeps local copies of all IMAP boxes then synchronize to that canned state, i.e., delete all locally cached mails?
Well, I don't know. Some clients see the absence of the IMAP server as an opportunity to ask the user if the saved password is still correct.
-- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt@charite.de | http://www.charite.de
On 24.10.2010, at 11.36, Edgar Fuß wrote:
and gives any user logging in a canned mail (e.g. "We're doing maintenance, go away") Wouldn't a client that keeps local copies of all IMAP boxes then synchronize to that canned state, i.e., delete all locally cached mails?
I'm pretty sure they will. I'm not aware of any good way to handle this, other than ALERTs.
- Timo Sirainen tss@iki.fi:
On 24.10.2010, at 11.36, Edgar Fuß wrote:
and gives any user logging in a canned mail (e.g. "We're doing maintenance, go away") Wouldn't a client that keeps local copies of all IMAP boxes then synchronize to that canned state, i.e., delete all locally cached mails?
I'm pretty sure they will. I'm not aware of any good way to handle this, other than ALERTs.
Hm, OK. Maybe the alert idea is the best idea so far.
-- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt@charite.de | http://www.charite.de
Quoting Timo Sirainen tss@iki.fi:
On 24.10.2010, at 11.36, Edgar Fuß wrote:
and gives any user logging in a canned mail (e.g. "We're doing maintenance, go away") Wouldn't a client that keeps local copies of all IMAP boxes then
synchronize to that canned state, i.e., delete all locally cached
mails?I'm pretty sure they will. I'm not aware of any good way to handle
this, other than ALERTs.
Isn't this the exact reason to return the UNAVAILABLE response (RFC 5530)?
UNAVAILABLE
Temporary failure because a subsystem is down. For example, an
IMAP server that uses a Lightweight Directory Access Protocol
(LDAP) or Radius server for authentication might use this
response code when the LDAP/Radius server is down.
C: a LOGIN "fred" "foo"
S: a NO [UNAVAILABLE] User's backend down for maintenance
On 24.10.2010, at 18.46, Michael M. Slusarz wrote:
Wouldn't a client that keeps local copies of all IMAP boxes then synchronize to that canned state, i.e., delete all locally cached mails?
I'm pretty sure they will. I'm not aware of any good way to handle this, other than ALERTs.
Isn't this the exact reason to return the UNAVAILABLE response (RFC 5530)?
Yeah, but that's a pretty new RFC and I don't think there are many (if any..) clients that support it. Still, it is what Dovecot uses for reporting "internal authentication failure".
participants (5)
-
Edgar Fuß
-
Michael M. Slusarz
-
Patrick Ben Koetter
-
Ralf Hildebrandt
-
Timo Sirainen