Hi list,
I'm running courier pop/imap 1.7.3 and I have a question about forcing a client
to reauthenticate.
I run qmail as my MTA and for roaming users I set up smtp-poplock.
(http://www.davideous.com/smtp-poplock/) This allows for selective relaying
after a client authenticates via POP or IMAP. It remembers the IP address of
the client after authentication and that client is allowed to relay for a set
about of time (2 hours by default, it's configurable though). It does this by
parsing the IMAP logs for sucessful logins.
If my client (sylpheed) is up for over 2 hours though, SMTP is disabled because
smtp-poplock hasn't seen an IMAP/POP authentication for over 2 hours and the IP
is removed from the list of allowed relayers. I only tried this with IMAP, if I
understand POP correctly, it resends the user/pass each time it checks for mail.
My question: Is there any way to force a timeout in imapd so the client must
re-authenticate without restarting? I looked through the courier imap config
options and it doesn't seem to be anything that can be adjusted from the server
side. There is an IMAP_IDLE_TIMEOUT setting, but this is completely unrelated
as far as I can tell.
The other option would be to up the smtp-poplock timeout value to something like
12 hours, but I don't care for that solution if there is a better one.
Thanks,
Josh