However, now I see in my logs that $(service) is not giving what it
promised. I am using $(service) with the hopes that it can tell me
the difference between users hitting imapd-ssl and those using imapd.
However, *both* are showing "imap" in my query logs. Pop3 has the
same problem, pop3d-ssl connections have $(service) as merely pop3.
Can anyone please comment on why that would happen? Grumble grumble....
That's because that's what it is. IMAP is IMAP, whether it uses an
encrypted or an unencrypted connection.
Hrm (our posts crossed I think, I have reposted)....
Here is what is stated in authmysqlrc:
# $(service) will expand out to the service being authenticated: imap,
imaps,
# pop3 or pop3s. Courier mail server only: service will also expand out to
# "courier", when searching for local mail account's location. In this
case,
# if the "maildir" field is not empty it will be used in place of
# DEFAULTDELIVERY. Courier mail server will also use esmtp when doing
# authenticated ESMTP.
Is that untrue? Is there any other way to make the distinction between
imap and imaps?