Re: Converting mbox to cyrus maildir w/ seen state preservation
On Mon, 22 Dec 2003, Miham KEREKES wrote: > > I do not know where you store your secrets, I assume sasldb? If so, > Yes. > > > sasl_pwcheck_method: auxprop > > sasl_auxprop_plugin: sasldb > > sasl_mech_list: plain > Ok. Works. Or at least: the error changed :-( > > * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE UIDPLUS > ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND SORT THREAD=ORDEREDSUBJECT > THREAD=REFERENCES IDLE STARTTLS LISTEXT LIST-SUBSCRIBED ANNOTATEMORE > OK Completed > 0001 STARTTLS > 0001 NO Error initializing TLS > Unable to negotiate TLS with this server > 0002 LOGOUT > * BYE LOGOUT received > 0002 OK Completed > Unable to negotiate TLS with this server > > In syslog: > Dec 22 23:29:15 merope cyrus/imapd[31767]: unable to get private key from > '/etc/ssl/private/cyrus-global.key' > Dec 22 23:29:15 merope cyrus/imapd[31767]: TLS engine: cannot load cert/key data > Dec 22 23:29:15 merope cyrus/imapd[31767]: error initializing TLS > > What is mistaken? File is readable, even world-wide for sure! The perms are not the problem, it is the content of the file. Double check your ssl/tls setup. > I made the certs by following this description: > http://www.irbs.net/internet/info-cyrus/0207/0265.html > Instructions here seem pretty reasonable. -- Igor
Re: Hello, and my first question
From: "Torsten E." <[EMAIL PROTECTED]> Sent: Monday, December 22, 2003 11:01 PM > Hello list, > > first of all: english is not my native language, so please forgive my minor > mistakes in spelling and grammar. > > Well, I set-up an cyrus-imap (version 2.1.15), which works behind postfix > 2.0.16. > The users are authenticated via saslauthdb. > That installation works fine for me till now! > > Now I read some docs about shared-folders, and thought it might be > interesting for me aswell. > So I set them up using cyradm. > I can subscribe to them using Thunderbird or MS Outlook 2000 & 2003, and can > store emails within without any problems. > > But: I can't send any emails directly to that shared-folders - and right now > I have no idea where the problem is. > > This is my /etc/imapd.conf: > configdirectory: /var/lib/imap > partition-default: /var/spool/imap > sievedir: /var/lib/sieve > admins: cyrus root > allowanonymouslogin: no > autocreatequota: 1 > reject8bit: no > quotawarn: 90 > timeout: 30 > poptimeout: 10 > dracinterval: 0 > drachost: localhost > sasl_pwcheck_method: saslauthd > lmtp_overquota_perm_failure: no > # > altnamespace: yes > userprefix: user > #sharedprefix: shared > postuser: share > shareprefix: share > unixhierarchysep: yes > > And here're some lines from cyradm: > IMAP Password: > localhost> lm > Entw&APw-rfe (\HasNoChildren) > Gesendete Objekte (\HasNoChildren) > share (\HasChildren) > share/mailinglist (\HasChildren) > share/mailinglist/SuSE-ML (\HasNoChildren) > share/mailinglist/courier-imap (\HasNoChildren) > share/mailinglist/cyrus-imap (\HasNoChildren) > user/torsten (\HasChildren) > user/torsten/Entw&APw-rfe (\HasNoChildren) > user/torsten/Gesendete Objekte (\HasNoChildren) > user/torsten/INBOX.Drafts (\HasNoChildren) > user/torsten/INBOX.Sent (\HasNoChildren) > user/torsten/INBOX.Trash (\HasNoChildren) > user/torsten/Junk-E-Mail (\HasNoChildren) > user/torsten/Spam (\HasNoChildren) > user/torsten/Trash (\HasNoChildren) > user/torsten/test (\HasNoChildren) > [...] > > For some reasons my /var/lib/imap/user/t/torsten.sub looks like this: > share > share.mailinglist > user.torsten > user.torsten.Entw&APw-rfe > user.torsten.Gesendete Objekte > user.torsten.INBOX^Drafts > user.torsten.INBOX^Sent > user.torsten.INBOX^Trash > user.torsten.Junk-E-Mail > user.torsten.Spam > user.torsten.Trash > user.torsten.test > (I have no idea why it looks different .). > > Could anybody tell me where the errors are? > > Thanks in advance!!! > Torsten > > One additional thing I forgot: /etc/postfix/main.cf contains the line: recipient_delimiter = + c y Torsten
Re: Converting mbox to cyrus maildir w/ seen state preservation
> I do not know where you store your secrets, I assume sasldb? If so, Yes. > sasl_pwcheck_method: auxprop > sasl_auxprop_plugin: sasldb > sasl_mech_list: plain Ok. Works. Or at least: the error changed :-( * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES IDLE STARTTLS LISTEXT LIST-SUBSCRIBED ANNOTATEMORE OK Completed 0001 STARTTLS 0001 NO Error initializing TLS Unable to negotiate TLS with this server 0002 LOGOUT * BYE LOGOUT received 0002 OK Completed Unable to negotiate TLS with this server In syslog: Dec 22 23:29:15 merope cyrus/imapd[31767]: unable to get private key from '/etc/ssl/private/cyrus-global.key' Dec 22 23:29:15 merope cyrus/imapd[31767]: TLS engine: cannot load cert/key data Dec 22 23:29:15 merope cyrus/imapd[31767]: error initializing TLS What is mistaken? File is readable, even world-wide for sure! I made the certs by following this description: http://www.irbs.net/internet/info-cyrus/0207/0265.html Miham. -- * *System Administrator / University Library, Szeged / Hungary* *[ [EMAIL PROTECTED] ]**
Re: Hello, and my first question
From: "Miham KEREKES" <[EMAIL PROTECTED]> Sent: Monday, December 22, 2003 11:11 PM > > Well, I set-up an cyrus-imap (version 2.1.15), which works behind postfix > > 2.0.16. > > The users are authenticated via saslauthdb. > > That installation works fine for me till now! > > > > Now I read some docs about shared-folders, and thought it might be > > interesting for me aswell. > > So I set them up using cyradm. > > I can subscribe to them using Thunderbird or MS Outlook 2000 & 2003, and can > > store emails within without any problems. > > > > But: I can't send any emails directly to that shared-folders - and right now > > I have no idea where the problem is. > > Folder permissions? > > cyradm> lam user.torsten Hi, the problem is that no email is put within the shared-folders (eg. share/mailinglist). An email sent to: torsten+share/[EMAIL PROTECTED], or [EMAIL PROTECTED], or torsten+share/mailinglist, or torsten+share.mailinglist (depending in the unixhierarchysep settings) is put within the inbox, not the folder. The permissions are set: sam share anyone all c y Torsten > > > unixhierarchysep: yes > That's why you experience that folder names below.. > Change it to: > unixhierarchysep: no > > > > > user.torsten.INBOX^Drafts > > user.torsten.INBOX^Sent > > user.torsten.INBOX^Trash > > (I have no idea why it looks different .). > > Since I'm a beginner, too, all the above was just a though.. :-) > > Miham. > -- > * > *System Administrator / University Library, Szeged / Hungary* > *[ [EMAIL PROTECTED] ]** > >
Hello, and my first question
Hello list, first of all: english is not my native language, so please forgive my minor mistakes in spelling and grammar. Well, I set-up an cyrus-imap (version 2.1.15), which works behind postfix 2.0.16. The users are authenticated via saslauthdb. That installation works fine for me till now! Now I read some docs about shared-folders, and thought it might be interesting for me aswell. So I set them up using cyradm. I can subscribe to them using Thunderbird or MS Outlook 2000 & 2003, and can store emails within without any problems. But: I can't send any emails directly to that shared-folders - and right now I have no idea where the problem is. This is my /etc/imapd.conf: configdirectory: /var/lib/imap partition-default: /var/spool/imap sievedir: /var/lib/sieve admins: cyrus root allowanonymouslogin: no autocreatequota: 1 reject8bit: no quotawarn: 90 timeout: 30 poptimeout: 10 dracinterval: 0 drachost: localhost sasl_pwcheck_method: saslauthd lmtp_overquota_perm_failure: no # altnamespace: yes userprefix: user #sharedprefix: shared postuser: share shareprefix: share unixhierarchysep: yes And here're some lines from cyradm: IMAP Password: localhost> lm Entw&APw-rfe (\HasNoChildren) Gesendete Objekte (\HasNoChildren) share (\HasChildren) share/mailinglist (\HasChildren) share/mailinglist/SuSE-ML (\HasNoChildren) share/mailinglist/courier-imap (\HasNoChildren) share/mailinglist/cyrus-imap (\HasNoChildren) user/torsten (\HasChildren) user/torsten/Entw&APw-rfe (\HasNoChildren) user/torsten/Gesendete Objekte (\HasNoChildren) user/torsten/INBOX.Drafts (\HasNoChildren) user/torsten/INBOX.Sent (\HasNoChildren) user/torsten/INBOX.Trash (\HasNoChildren) user/torsten/Junk-E-Mail (\HasNoChildren) user/torsten/Spam (\HasNoChildren) user/torsten/Trash (\HasNoChildren) user/torsten/test (\HasNoChildren) [...] For some reasons my /var/lib/imap/user/t/torsten.sub looks like this: share share.mailinglist user.torsten user.torsten.Entw&APw-rfe user.torsten.Gesendete Objekte user.torsten.INBOX^Drafts user.torsten.INBOX^Sent user.torsten.INBOX^Trash user.torsten.Junk-E-Mail user.torsten.Spam user.torsten.Trash user.torsten.test (I have no idea why it looks different .). Could anybody tell me where the errors are? Thanks in advance!!! Torsten
Re: Converting mbox to cyrus maildir w/ seen state preservation
On Mon, 22 Dec 2003, Miham KEREKES wrote: > > > >>However, I can't find anywhere in the config files where I could stop > > > >>CRAM-MD5 from being advertised. > > > >>I searched in /etc/cyrus.conf and /etc/imapd.conf, without any success. > > > >> > > > >>Any docs or help suggested? > > > > > > > > > > > > Add > > > > > > > > sasl_mech_list: plain login digest-md5 ntlm > > > LOGIN and NTLM don't support proxying either. > > For this conversion he just needs > > sasl_mech_list: plain > I've already tried that before I wrote my second letter in this thread. > > I tried it with > sasl_pwcheck_method: auxprop > AND > sasl_pwcheck_method: saslauthd > > My auxprop plugin is: > sasl_auxprop_plugin: sasldb This is not correct: I do not know where you store your secrets, I assume sasldb? If so, sasl_pwcheck_method: auxprop sasl_auxprop_plugin: sasldb sasl_mech_list: plain Check $cyrus-sasl/doc/options.html for more. -- Igor
Re: Converting mbox to cyrus maildir w/ seen state preservation
> > >>However, I can't find anywhere in the config files where I could stop > > >>CRAM-MD5 from being advertised. > > >>I searched in /etc/cyrus.conf and /etc/imapd.conf, without any success. > > >> > > >>Any docs or help suggested? > > > > > > > > > Add > > > > > > sasl_mech_list: plain login digest-md5 ntlm > > LOGIN and NTLM don't support proxying either. > For this conversion he just needs > sasl_mech_list: plain I've already tried that before I wrote my second letter in this thread. I tried it with sasl_pwcheck_method: auxprop AND sasl_pwcheck_method: saslauthd My auxprop plugin is: sasl_auxprop_plugin: sasldb None of the above worked as I expected. Any idea why? Miham. -- * *System Administrator / University Library, Szeged / Hungary* *[ [EMAIL PROTECTED] ]**
Re: Converting mbox to cyrus maildir w/ seen state preservation
On Mon, 22 Dec 2003, Ken Murchison wrote: > Igor Brezac wrote: > > > > > On Mon, 22 Dec 2003, Miham KEREKES wrote: > > > > > >>Hi, > >> > >> > I have the following capabilities: > * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS > NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND > SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES IDLE AUTH=NTLM > AUTH=DIGEST-MD5 AUTH=CRAM-MD5 LISTEXT LIST-SUBSCRIBED ANNOTATEMORE > >> > >>>mailutil is picking CRAM-MD5 up which does not support proxy > >>>authentication. Stop advertising CRAM-MD5 on the cyrus side. Add /tls > >>>which will allow mailutil to use PLAIN. PLAIN is the only mech > >>>implemented by c-client which support proxy auth. > >> > >>After I've sent my previous message, I found a similar advice in > >>archive. > >>However, I can't find anywhere in the config files where I could stop > >>CRAM-MD5 from being advertised. > >>I searched in /etc/cyrus.conf and /etc/imapd.conf, without any success. > >> > >>Any docs or help suggested? > > > > > > Add > > > > sasl_mech_list: plain login digest-md5 ntlm > > LOGIN and NTLM don't support proxying either. I know. I was trying to duplicate his setup minus cram-md5. For this conversion he just needs sasl_mech_list: plain -- Igor
Re: Converting mbox to cyrus maildir w/ seen state preservation
Igor Brezac wrote: On Mon, 22 Dec 2003, Miham KEREKES wrote: Hi, I have the following capabilities: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES IDLE AUTH=NTLM AUTH=DIGEST-MD5 AUTH=CRAM-MD5 LISTEXT LIST-SUBSCRIBED ANNOTATEMORE mailutil is picking CRAM-MD5 up which does not support proxy authentication. Stop advertising CRAM-MD5 on the cyrus side. Add /tls which will allow mailutil to use PLAIN. PLAIN is the only mech implemented by c-client which support proxy auth. After I've sent my previous message, I found a similar advice in archive. However, I can't find anywhere in the config files where I could stop CRAM-MD5 from being advertised. I searched in /etc/cyrus.conf and /etc/imapd.conf, without any success. Any docs or help suggested? Add sasl_mech_list: plain login digest-md5 ntlm LOGIN and NTLM don't support proxying either. -- Kenneth Murchison Oceana Matrix Ltd. Software Engineer 21 Princeton Place 716-662-8973 x26 Orchard Park, NY 14127 --PGP Public Key--http://www.oceana.com/~ken/ksm.pgp
Re: Converting mbox to cyrus maildir w/ seen state preservation
On Mon, 22 Dec 2003, Miham KEREKES wrote: > Hi, > > > > I have the following capabilities: > > > * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS > > > NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND > > > SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES IDLE AUTH=NTLM > > > AUTH=DIGEST-MD5 AUTH=CRAM-MD5 LISTEXT LIST-SUBSCRIBED ANNOTATEMORE > > > mailutil is picking CRAM-MD5 up which does not support proxy > > authentication. Stop advertising CRAM-MD5 on the cyrus side. Add /tls > > which will allow mailutil to use PLAIN. PLAIN is the only mech > > implemented by c-client which support proxy auth. > After I've sent my previous message, I found a similar advice in > archive. > However, I can't find anywhere in the config files where I could stop > CRAM-MD5 from being advertised. > I searched in /etc/cyrus.conf and /etc/imapd.conf, without any success. > > Any docs or help suggested? Add sasl_mech_list: plain login digest-md5 ntlm to /etc/imapd.conf -- Igor
Re: Converting mbox to cyrus maildir w/ seen state preservation
Hi, > > I have the following capabilities: > > * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS > > NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND > > SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES IDLE AUTH=NTLM > > AUTH=DIGEST-MD5 AUTH=CRAM-MD5 LISTEXT LIST-SUBSCRIBED ANNOTATEMORE > mailutil is picking CRAM-MD5 up which does not support proxy > authentication. Stop advertising CRAM-MD5 on the cyrus side. Add /tls > which will allow mailutil to use PLAIN. PLAIN is the only mech > implemented by c-client which support proxy auth. After I've sent my previous message, I found a similar advice in archive. However, I can't find anywhere in the config files where I could stop CRAM-MD5 from being advertised. I searched in /etc/cyrus.conf and /etc/imapd.conf, without any success. Any docs or help suggested? Miham. -- * *System Administrator / University Library, Szeged / Hungary* *[ [EMAIL PROTECTED] ]**
Re: lmtp access denied issue
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 James A. Pattie wrote: | James Pattie wrote: | | Hi guys, | | | | Twice now in the last 3 days I've had sendmail stop being able to | | deliver | | e-mails to cyrus via the unix lmtp mechanism. | | | | I'm on Debian testing, with sendmail 8.12.9-5, cyrus21 2.1.14-1 | | packages. | | | | The other day I found that the /var/run/cyrus/socket/lmtp socket had | | become | | owned by root.root. When I changed it to cyrus.mail then mail started | | flowing | | again. Today, the same thing is happening, except when I re-changed the | | permissions mail is still not flowing. If I manually set the | | permissions to be | | cyrus.mail and then restart cyrus, a couple seconds after cyrus comes | | back up | | the permissions flop back to root.root. | | | | Does anyone have a clue as to why this is happening and how to solve | | this issue | | permanently? | | | | I've double checked all the socket definitions in sendmail.mc and | | cyrus.conf to | | make sure that they are all pointing to the right locations. cyrus is | the | | trusted user in sendmail (if that helps). | | | | | | Thanks, | | The issue has come back. Doing a netstat doesn't show the socket being | listened | on, though the notifyd socket does show up. | | I enabled Debugging for lmtpd and had it do an strace and this is what | is captured: | weird thing. A couple minutes after I sent this e-mail, it started accepting connections and now shows up in netstat. I turned off the debug info and restarted and it started working almost immediately. This issue seems to manifest itself only over the weekends and then not every weekend. I've checked and there doesn't seem to be any cronjobs being fired off related to sendmail or cyrus that should be causing an issue. All other parts of sendmail and cyrus are working correctly, just the lmtpd is having problems. The initial issue I thought with the permissions doesn't seem to actually be the cause, since the socket has perms 777 and the directory is owned by cyrus.mail, so sendmail should have permissions to get in and work with the socket. Any thoughts or ideas? - -- James A. Pattie [EMAIL PROTECTED] Linux SysAdmin / Systems Programmer -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQE/5xfltUXjwPIRLVERAhJ9AJ4o9vU5GkyxDRSpfM4x7AvrvqMSBQCgrTr9 rP00V4vaKpFAxjeyxWCIyqI= =eeo2 -END PGP SIGNATURE- -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support.
Re: lmtp access denied issue
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 James Pattie wrote: | Hi guys, | | Twice now in the last 3 days I've had sendmail stop being able to | deliver | e-mails to cyrus via the unix lmtp mechanism. | | I'm on Debian testing, with sendmail 8.12.9-5, cyrus21 2.1.14-1 | packages. | | The other day I found that the /var/run/cyrus/socket/lmtp socket had | become | owned by root.root. When I changed it to cyrus.mail then mail started | flowing | again. Today, the same thing is happening, except when I re-changed the | permissions mail is still not flowing. If I manually set the | permissions to be | cyrus.mail and then restart cyrus, a couple seconds after cyrus comes | back up | the permissions flop back to root.root. | | Does anyone have a clue as to why this is happening and how to solve | this issue | permanently? | | I've double checked all the socket definitions in sendmail.mc and | cyrus.conf to | make sure that they are all pointing to the right locations. cyrus is the | trusted user in sendmail (if that helps). | | | Thanks, The issue has come back. Doing a netstat doesn't show the socket being listened on, though the notifyd socket does show up. I enabled Debugging for lmtpd and had it do an strace and this is what is captured: 09:36:33.169602 waitpid(26406, [WIFEXITED(s) && WEXITSTATUS(s) == 0], 0) = 26406 09:36:33.177272 rt_sigaction(SIGINT, {SIG_DFL}, NULL, 8) = 0 09:36:33.177501 rt_sigaction(SIGQUIT, {SIG_DFL}, NULL, 8) = 0 09:36:33.177664 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 09:36:33.177834 --- SIGCHLD (Child exited) --- 09:36:33.177945 time([1072107393]) = 1072107393 09:36:33.178146 getpid()= 26404 09:36:33.178302 rt_sigaction(SIGPIPE, {0x402e6260, [], 0x400}, {SIG_DFL}, 8) = 0 09:36:33.178507 send(5, "<23>Dec 22 09:36:33 cyrus/lmtpun"..., 75, 0) = 75 09:36:33.178991 rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0 09:36:33.179162 time([1072107393]) = 1072107393 09:36:33.179329 getpid()= 26404 09:36:33.179481 rt_sigaction(SIGPIPE, {0x402e6260, [], 0x400}, {SIG_DFL}, 8) = 0 09:36:33.179682 send(5, "<23>Dec 22 09:36:33 cyrus/lmtpun"..., 51, 0) = 51 09:36:33.180158 rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0 09:36:33.180351 fcntl64(4, F_GETFD) = 0 09:36:33.180505 fcntl64(4, F_SETFD, FD_CLOEXEC) = 0 09:36:33.180649 fcntl64(3, F_GETFD) = 0 09:36:33.180794 fcntl64(3, F_SETFD, FD_CLOEXEC) = 0 09:36:33.180963 getsockopt(4, SOL_SOCKET, SO_TYPE, [1], [4]) = 0 09:36:33.181156 close(5)= 0 09:36:33.181340 geteuid32() = 104 09:36:33.181515 rt_sigaction(SIGHUP, {0x8066dec, [], SA_RESTART|SA_ONESHOT|0x400}, NULL, 8) = 0 09:36:33.181699 rt_sigaction(SIGINT, {0x8066dec, [], SA_RESTART|SA_ONESHOT|0x400}, NULL, 8) = 0 09:36:33.181879 rt_sigaction(SIGQUIT, {0x8066dec, [], SA_RESTART|SA_ONESHOT|0x400}, NULL, 8) = 0 09:36:33.182077 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0 09:36:33.182689 open("/usr/lib/sasl2/Cyrus.conf", O_RDONLY) = -1 ENOENT (No such file or directory) 09:36:33.183065 open("/dev/null", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = -1 ENOTDIR (Not a directory) 09:36:33.183243 open("/usr/lib/sasl2", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 5 09:36:33.183416 fstat64(5, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 09:36:33.183669 fcntl64(5, F_SETFD, FD_CLOEXEC) = 0 09:36:33.183857 getdents64(0x5, 0x8112ac0, 0x1000, 0x4033a440) = 1472 09:36:33.184143 open("/usr/lib/sasl2/libsasldb.la", O_RDONLY) = 6 09:36:33.184375 fstat64(6, {st_mode=S_IFREG|0644, st_size=740, ...}) = 0 09:36:33.184601 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40015000 09:36:33.184804 read(6, "# libsasldb.la - a libtool libra"..., 4096) = 740 09:36:33.185072 close(6)= 0 09:36:33.185221 munmap(0x40015000, 4096) = 0 09:36:33.185492 open("/usr/lib/sasl2/libsasldb.so.2", O_RDONLY) = 6 09:36:33.185714 read(6, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\370\r\0"..., 512) = 512 09:36:33.185946 fstat64(6, {st_mode=S_IFREG|0644, st_size=13756, ...}) = 0 09:36:33.186181 old_mmap(NULL, 16816, PROT_READ|PROT_EXEC, MAP_PRIVATE, 6, 0) = 0x40015000 09:36:33.186381 old_mmap(0x40019000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 6, 0x3000) = 0x40019000 09:36:33.186617 close(6)= 0 09:36:33.187177 open("/usr/lib/sasl2/libcrammd5.la", O_RDONLY) = 6 09:36:33.187387 fstat64(6, {st_mode=S_IFREG|0644, st_size=738, ...}) = 0 09:36:33.187646 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001a000 09:36:33.187842 read(6, "# libcrammd5.la - a libtool libr"..., 4096) = 738 09:36:33.188066 close(6)= 0 09:36:33.188212 munmap(0x4001a000, 4096) = 0 09:36:33.188388 open("/usr/lib/sasl2/libcrammd5.so.2", O_RDONLY) = 6 09:36:33.188603 read(6, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0008\r\0"..., 512) = 512 09:36:33.188827 fstat64(6, {st_mode=S_IFREG|0644, st_size=13832, ...}) = 0 09:36:33.
Re: Converting mbox to cyrus maildir w/ seen state preservation
On Mon, 22 Dec 2003, Miham KEREKES wrote: > Hi, > > I'm about to migrate user mailboxes from unix mbox mailbox format > to cyrus maildir. Unfortunately, users have lots of separate > mailfolders in mbox format, which i should convert, too. > > I dig into the archive, and found the mailutil utility for doing this: > mailutil append /path/to/mbox > {new.cyrus.server/user=mbox_cyrus_user/authuser=proxy_user/norsh}INBOX > and I figured out, that it is capable to creating mailboxes, too. > > I've migrated the users Inbox already successfully, but with the > difference: that time I knew the users password (I created them with a > script before), so I had no need to use the /authuser=XXX option. > Since then they've changed their password, so I don't know them. > (Yes, I forgot about their ~/mail mailboxes :-( ) > However, this time I need to use the /authuser=XXX, if I'm not mistaken. > > When I try this: > mailutil create > {cyrus.server.name.or.ip/user=targetuser/authuser=cyrus_admin_user/norsh}INBOX.subfolder > I got the following errormessage: > > Can't do /authuser with this server > Can't do /authuser with this server > > I already strace'd and ltrace'd the process in order to know what is the > problem, but all I got to know, that mailutil parsing the output of the > CAPABILITY command, and decides whether the server is capable of > authuser. > > I don't have much time for this conversion, so I had no time to look > into the source, yet. > > I have the following capabilities: > * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS > NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND > SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES IDLE AUTH=NTLM > AUTH=DIGEST-MD5 AUTH=CRAM-MD5 LISTEXT LIST-SUBSCRIBED ANNOTATEMORE > mailutil is picking CRAM-MD5 up which does not support proxy authentication. Stop advertising CRAM-MD5 on the cyrus side. Add /tls which will allow mailutil to use PLAIN. PLAIN is the only mech implemented by c-client which support proxy auth. Hope this helps. -- Igor
Converting mbox to cyrus maildir w/ seen state preservation
Hi, I'm about to migrate user mailboxes from unix mbox mailbox format to cyrus maildir. Unfortunately, users have lots of separate mailfolders in mbox format, which i should convert, too. I dig into the archive, and found the mailutil utility for doing this: mailutil append /path/to/mbox {new.cyrus.server/user=mbox_cyrus_user/authuser=proxy_user/norsh}INBOX and I figured out, that it is capable to creating mailboxes, too. I've migrated the users Inbox already successfully, but with the difference: that time I knew the users password (I created them with a script before), so I had no need to use the /authuser=XXX option. Since then they've changed their password, so I don't know them. (Yes, I forgot about their ~/mail mailboxes :-( ) However, this time I need to use the /authuser=XXX, if I'm not mistaken. When I try this: mailutil create {cyrus.server.name.or.ip/user=targetuser/authuser=cyrus_admin_user/norsh}INBOX.subfolder I got the following errormessage: Can't do /authuser with this server Can't do /authuser with this server I already strace'd and ltrace'd the process in order to know what is the problem, but all I got to know, that mailutil parsing the output of the CAPABILITY command, and decides whether the server is capable of authuser. I don't have much time for this conversion, so I had no time to look into the source, yet. I have the following capabilities: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES IDLE AUTH=NTLM AUTH=DIGEST-MD5 AUTH=CRAM-MD5 LISTEXT LIST-SUBSCRIBED ANNOTATEMORE Can anyone give me a good point? I mean, which cap missing, how can I enable, etc. Thanks in advance, Miham Kerekes. -- * *System Administrator / University Library, Szeged / HUNGARY* *[ [EMAIL PROTECTED] ]**