2.5.10 autocreate on login not working?

ellie timoney ellie at fastmail.com
Tue Dec 6 18:03:08 EST 2016


Hi Nels,

The autocreate code in 2.5 is full of LOG_DEBUG syslogs -- I guess you
don't have this turned on, or you're logging that log level to a
different file.  It would be helpful to see this output.

I think you can turn this logging on in Cyrus by adding "debug: yes" to
your imapd.conf.  You might need to do something with your syslog
configuration too -- it's been a while since I set this up myself and I
don't remember the details offhand.

Cheers,

ellie

On Wed, Dec 7, 2016, at 09:49 AM, Nels Lindquist via Info-cyrus wrote:
> Hi, Bron.
> 
> On 2016/12/05 3:21 PM, Bron Gondwana via Info-cyrus wrote:
> 
> > Is there anything in syslog?
> 
> Just the record of the login:
> 
> Dec  6 17:44:10 rapier imap[13351]: login: rapier [198.50.220.242] nels 
> DIGEST-MD5 User logged in 
> SESSIONID=<rapier.smilodon.ca-13351-1481064249-1-330532275005144223>
> 
> Or an encrypted session:
> 
> Dec  6 17:47:57 rapier imap[13176]: login: rapier [198.50.220.242] nels 
> DIGEST-MD5+TLS User logged in 
> SESSIONID=<rapier.smilodon.ca-13176-1481064476-1-10160863910513416884>
> 
> Nels Lindquist
> ----
> <nlindq at maei.ca>
> 
> > On Tue, 6 Dec 2016, at 05:40, Nels Lindquist via Info-cyrus wrote:
> >> I'm experimenting with a build of 2.5.10 on CentOS 7 in preparation for
> >> upgrading from our installed 2.3.16 (built from Simon Mattar's RPMs).
> >>
> >> We rely on mailbox auto-creation functionality tied to LDAP
> >> authentication with virtual domain support; as long as the LDAP account
> >> exists the mailbox may be autocreated.
> >>
> >> As the autocreate patch has now been incorporated in 2.5, I was hoping
> >> it would work fairly seamlessly, but even after updating all the
> >> deprecated imapd.conf directives, I'm having trouble.
> >>
> >> I'm able to log in to IMAP successfully with an existing LDAP account,
> >> but a LIST command produces no output, and if I log in with cyradm the
> >> expected mailboxes are not present.  I'm able to create mailboxes
> >> manually with cyradm and everything works as expected, but I really need
> >> autocreate to work.
> >>
> >> Here's the relevant section of my imapd.conf:
> >>
> >> virtdomains: yes
> >> defaultdomain: example.com
> >> username_tolower: yes
> >> lmtp_downcase_rcpt: yes
> >> autocreate_quota: 0
> >> autocreate_quota_messages: 0
> >> autocreate_inbox_folders: Drafts|Sent|Trash
> >> autocreate_subscribe_folders: Drafts|Sent|Trash
> >> autocreate_post: yes
> >>
> >> Anything I've done obviously wrong?
> >>
> >> ----
> >> Nels Lindquist
> >> <nlindq at maei.ca>
> >> ----
> >> Cyrus Home Page: http://www.cyrusimap.org/
> >> List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
> >> To Unsubscribe:
> >> https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
> >
> >
> ----
> Cyrus Home Page: http://www.cyrusimap.org/
> List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
> To Unsubscribe:
> https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


More information about the Info-cyrus mailing list