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.
signature.asc
Description: This is a digitally signed message part