On Fri, Jul 11, 2008 at 11:46 PM, Marc Smith <marc.smith at mcc.edu>
wrote:> Hi,
>
> I'm having a problem with IMAP storage and asterisk. Here is the error
> message I get (in this instance its checking messages):
>
> [Jul 11 23:14:12] WARNING[9888]: app_voicemail.c:8738 mm_log: IMAP
> Warning: SECURITY PROBLEM: insecure server advertised AUTH=PLAIN
> [Jul 11 23:14:12] ERROR[9888]: app_voicemail.c:8741 mm_log: IMAP
> Error: IMAP protocol error: Authentication aborted
> [Jul 11 23:14:12] ERROR[9888]: app_voicemail.c:8741 mm_log: IMAP
> Error: IMAP Authentication cancelled
> [Jul 11 23:14:12] ERROR[9888]: app_voicemail.c:4790 init_mailstream:
> Can't connect to imap server
> {mail.host.com:143/imap/notls/user=bigtizzies}INBOX
> [Jul 11 23:14:12] ERROR[9888]: app_voicemail.c:2486 messagecount: IMAP
> mailstream is NULL
>
> voicemail.conf:
> [general]
> imapserver=mail.host.com
> imapport=143
> imapflags=notls
> [default]
> 20002 => 1234,Sue's
Mailbox,,,imapuser=bigtizzies|imapsecret=largedillas
>
> Yet, when doing a 'mtest' (from the uw-imap directory I used for
> asterisk) with
"{mail.host.com:143/imap/notls/user=bigtizzies}INBOX"
> and it works fine.
>
> I seen a post on the Digium forums
> (http://forums.digium.com/viewtopic.php?t=14432&highlight=imap) where
> another person had this same problem and he said he fixed it by fixing
> a "typo" -- I've looked over my config and all seems good.
>
> I'm attempting to connect to dovecot, here is a snip of the log on the
> IMAP server:
> Jul 11 23:26:04 esdiaz dovecot: imap-login: Aborted login (1
> authentication attempts): method=PLAIN, rip=10.100.100.100,
> lip=207.73.29.38
>
> Anyone else ran across something like this? Ideas?
>
> Thanks,
>
> Marc
>
Update:
It appears "imapsecret" is incorrect; when I change that field to
"imappassword" it works perfectly!
--Marc