[Dovecot] How to logoff a session with dovecot?

Timo Sirainen tss at iki.fi
Sat Dec 29 07:28:38 EET 2007


On Sun, 2007-12-09 at 18:38 +0700, Robin Atwood wrote:
> I use dovecot to push email to my SE P1i and it works very well. :) However, I 
> have two email accounts set up on the phone, one using my domain for GPRS and 
> public WiFi and one using my WLAN address for use at home, the idea being I 
> don't want to pay for GPRS data at home. The trouble is the GPRS account 
> remains logged on and I get the mail in both inboxes. There is no option in 
> the email client on the phone to disconnect, so is there any trick to forcing 
> a disconnect from the mail server?

I guess you could do something with post-login scripting
(http://wiki.dovecot.org/PostLoginScripting). For example track GPRS vs.
non-GPRS connections based on $IP. When non-GPRS connection logs in,
kill all imap processes using GPRS IP.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20071229/418b5b8c/attachment.bin 


More information about the dovecot mailing list