For some reason Dovecot also doesn't like the // in the string either.
After removing the imapflags option in voicemail.conf, It tries

{localhost:143/imap//user=username}INBOX

I also tried it with the novalidate-cert option and dovecot chokes on
it as well...

It's almost like if there are no flags to be passed it need to remove
the trailing slash.

I will just use my hacked app_voicemail.c for now.  This is a test system....

Thanks.

On 1/11/07, Ray Jackson <[EMAIL PROTECTED]> wrote:
AFAIK: You shouldn't need to modify the code to get this work.  I have:

imapflags=novalidate-cert

setup as my IMAP flags which works fine for a Courier IMAP backend.
Courier uses Maildir (not mbx) which works just fine for me?

Cheers,
Ray

Forrest Beck wrote:
> OK.  I needed to remove the flags from the string.  So I modified
> app_voicemail.c and recompiled.
>
> It is working now by, not using the flags to login.
>
> It logs in as: ares.school.da.org:143/imap/user=fbeck}INBOX
>
> 4587         if (strlen(authuser) > 0) {
> 4588                 snprintf(tmp, sizeof(tmp),
> "{%s:%s/imap/authuser=%s/%s/u
> ser=%s}",imapserver,imapport,authuser,imapflags,vms->imapuser);
> 4589         } else {
> 4590                 snprintf(tmp, sizeof(tmp),
> "{%s:%s/imap/user=%s}",imapse        rver,imapport,vms->imapuser);
>
> In apps/ I modified app_voicemail.c line 4590 and removed "/%s" after
> /imap.
> Then I removed ",imapflags " after imapport.
>
> My next hurdle is the mailbox format.  It's not mbx, and crashes
> asterisk after creating the mail message.
>
> Thanks.
>
>
> On 1/11/07, Forrest Beck <[EMAIL PROTECTED]> wrote:
>> Thanks Ray. I also noticed in some a post reply
>> http://www.mail-archive.com/asterisk-users@lists.digium.com/msg169259.html
>>
>> that there was a problem with the trailing options /.  Is there a work
>> around for removing the trailing /?  I too am having a problem with
>> it.
>>
>> Doesn't Work: {ares.school.da.org:143/imap//user=fbeck}INBOX
>> Works: {ares.school.da.org:143/imap/user=fbeck}INBOX
>>
>> Thanks again!
>>
>>
>> On 1/11/07, Forrest Beck <[EMAIL PROTECTED]> wrote:
>> > I know some of this doesn't belong on this list, but I am just
>> > including it for problem history.
>> >
>> > I am trying to setup IMAP Voicemail with our email server.
>> >
>> > We are using a non-standards based groupware server called FirstClass.
>> >  The server has some built in support for IMAP.
>> >
>> > My problem seems to be that the authuser flag is not supported.
>> >
>> > When I use mtest in the imap toolkit to connect to the FirstClass
>> > server, and input this as the Mailbox to connect to:
>> >
>> > {ares.school.da.org:143/imap/authuser=admin//user=fbeck}Inbox
>> >
>> > mtest replies:
>> >
>> > [Trying IP address [10.11.5.253]]
>> > [FirstClass IMAP4rev1 server v8.262 at mail.ares.school.da.org ready]
>> > ?Can't do /authuser with this server
>> >
>> > When I try to connect to the mailbox:
>> > {ares.school.da.org:143/imap/user="fbeck"}Inbox
>> >
>> > I am prompted with a password which is accepted.
>> >
>> > mtest response is:
>> > IMAP4rev1 (RFC 3501) server ares.school.da.org
>> > Mutually-supported SASL mechanisms: CRAM-MD5
>> > Supported standard extensions:
>> >  Access Control lists (RFC 2086)
>> >  Multiple namespaces (RFC 2342)
>> >  Extended UID behavior (RFC 2359)
>> >  Implementation identity negotiation (RFC 2971)
>> >  LIST children announcement (RFC 3348)
>> > Supported draft extensions:
>> >
>> > Notice I also had to eliminate the flags and authuser sections of
>> the URL.
>> >
>> > So my question is.....
>> >
>> > Has anyone found a way to include the IMAP username and password in
>> > the users mailbox string?  something like 1201 =>
>> > 1201,Joe,email,,imapuser=joe|imappassword=somethingsecret ?
>> >
>> > I know all my users email passwords, as they have to change it
>> through us...
>> >
>> > Thanks all.
>> >
>>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to