Re: please HELP
cyradm has wildcard support: host> cm user/first.last/Trash host> cm user/first.last/Sent host> cm user/first.last/Read 192.168.2.11> listacl user/f* user/first.last: first.last.todelete lrswipkxtecdan user/first.last/Read: first.last.todelete lrswipkxtecdan user/first.last/Sent: first.last.todelete lrswipkxtecdan user/first.last/Trash: first.last.todelete lrswipkxtecdan host> setacl user/fir* first.last.todelete "" Setting ACL on user/first.last...OK. Setting ACL on user/first.last/Read...OK. Setting ACL on user/first.last/Sent...OK. Setting ACL on user/first.last/Trash...OK. host> setacl user/fir* first.last all Setting ACL on user/first.last...OK. Setting ACL on user/first.last/Read...OK. Setting ACL on user/first.last/Sent...OK. Setting ACL on user/first.last/Trash...OK. host> listacl user/fir* user/first.last: first.last lrswipkxtecdan user/first.last/Read: first.last lrswipkxtecdan user/first.last/Sent: first.last lrswipkxtecdan user/first.last/Trash: first.last lrswipkxtecdan Should be easy to script in PHP and then cut and paste. On 01/23/18 14:14 -0300, Heiler Bemerguy via Info-cyrus wrote: I'm trying to fix the mailboxes with something like this: imap_setacl ($mbox, "user/".$argv[1]."/*", $wrongname."todelete", ""); imap_setacl ($mbox, "user/".$argv[1]."/*", $argv[1], "lrswipkxtea"); But it seems imap_setacl can't use wildcards. And I can't write one by one by hand. -- Dan White 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
Re: please HELP
I'm trying to fix the mailboxes with something like this: imap_setacl ($mbox, "user/".$argv[1]."/*", $wrongname."todelete", ""); imap_setacl ($mbox, "user/".$argv[1]."/*", $argv[1], "lrswipkxtea"); But it seems imap_setacl can't use wildcards. And I can't write one by one by hand. Anyone can help me with that? The full php script is below: exit( "Usage: ./rename.php LOGIN (without TODELETE)\nUse ^ instead of DOTS\n\n" ); } $mbox = imap_open("{localhost:143/novalidate-cert}", "admin", "", OP_HALFOPEN) or die("can't connect: " . imap_last_error()); imap_renamemailbox($mbox, "{localhost:143}user/".$argv[1]."TODELETE", "{localhost:143}user/".$argv[1]) or die("can't rename, already exists?: " . imap_last_error()); $wrongname = str_replace("^", ".", $argv[1]); imap_setacl ($mbox, "user/".$argv[1], $wrongname."todelete", "") or print("can't remove $wrongname todelete of $argv[1]\n"); imap_setacl ($mbox, "user/".$argv[1]."/*", $wrongname."todelete", "") or print("can't remove $wrongname todelete of $argv[1]/*\n"); imap_setacl ($mbox, "user/".$argv[1], $argv[1], "lrswipkxtea") or print("can't set $argv[1] with lrswipkxtea into $argv[1]\n"); imap_setacl ($mbox, "user/".$argv[1]."/*", $argv[1], "lrswipkxtea") or print("can't set $argv[1] with lrswipkxtea into $argv[1]/*\n"); imap_close($mbox); shell_exec("cyrus reconstruct -x -r -f user/".$argv[1]); ?> -- Atenciosamente / Best Regards, Heiler Bemerguy Network Manager - CINBESA 55 91 98151-4894/3184-1751 Em 22/01/2018 22:09, Patrick Boutilier escreveu: On 01/22/2018 07:55 PM, Heiler Bemerguy via Info-cyrus wrote: The way I interpret it is that the / means unixhierarchysep is on. Just tested this on 2.4.18 and the same thing happens. When you rename back no messages are listed and reconstruct does nothing. Ah. As suspected the rights are wrong. You just need to set the rights back to the real user. You probably need to use / instead of . localhost> lam user.test testtodelete lrswipkxtecda localhost> sam user.test test lrswipkxtecda localhost> lam user.test testtodelete lrswipkxtecda test lrswipkxtecda localhost> sam user.test testtodelete '' localhost> lam user.test test lrswipkxtecda localhost> lam user/asaude asaudetodelete lrswipkxtecda localhost> lam user/ana^claudia ana.claudiatodelete lrswipkxtecda localhost> OMG it's completely borked. Why did it happen? How it changed to "TODELETE" but didn't change back hours later?!? Just looks like a bug. Maybe was the capital letters?! Yup. I tested and using capital letters causes this behaviour. Then I'll have to change one by one? with "sam"? Could you please explain what you did? I understood the LAMs but didn't the SAMs lol it seems in your case you had two acls?! a right and a wrong? You will have to change the rights somehow. Should be able to do it with a PHP or perl script. Correct, need to remove the wrong ACL and put the correct one on. For example: sam user/asaude asaudetodelete '' sam user/asaude asaude lrswipkxtecda First sam deletes the wrong ACL, second sam adds the correct one. Of course those only get the InBox. For folders you will have to also do something like: sam user/asaude/* asaudetodelete '' sam user/asaude/* asaude lrswipkxtecda 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
Re: please HELP
On 01/22/2018 07:55 PM, Heiler Bemerguy via Info-cyrus wrote: The way I interpret it is that the / means unixhierarchysep is on. Just tested this on 2.4.18 and the same thing happens. When you rename back no messages are listed and reconstruct does nothing. Ah. As suspected the rights are wrong. You just need to set the rights back to the real user. You probably need to use / instead of . localhost> lam user.test testtodelete lrswipkxtecda localhost> sam user.test test lrswipkxtecda localhost> lam user.test testtodelete lrswipkxtecda test lrswipkxtecda localhost> sam user.test testtodelete '' localhost> lam user.test test lrswipkxtecda localhost> lam user/asaude asaudetodelete lrswipkxtecda localhost> lam user/ana^claudia ana.claudiatodelete lrswipkxtecda localhost> OMG it's completely borked. Why did it happen? How it changed to "TODELETE" but didn't change back hours later?!? Just looks like a bug. Maybe was the capital letters?! Yup. I tested and using capital letters causes this behaviour. Then I'll have to change one by one? with "sam"? Could you please explain what you did? I understood the LAMs but didn't the SAMs lol it seems in your case you had two acls?! a right and a wrong? You will have to change the rights somehow. Should be able to do it with a PHP or perl script. Correct, need to remove the wrong ACL and put the correct one on. For example: sam user/asaude asaudetodelete '' sam user/asaude asaude lrswipkxtecda First sam deletes the wrong ACL, second sam adds the correct one. Of course those only get the InBox. For folders you will have to also do something like: sam user/asaude/* asaudetodelete '' sam user/asaude/* asaude lrswipkxtecda <> 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
Re: please HELP
The way I interpret it is that the / means unixhierarchysep is on. Just tested this on 2.4.18 and the same thing happens. When you rename back no messages are listed and reconstruct does nothing. Ah. As suspected the rights are wrong. You just need to set the rights back to the real user. You probably need to use / instead of . localhost> lam user.test testtodelete lrswipkxtecda localhost> sam user.test test lrswipkxtecda localhost> lam user.test testtodelete lrswipkxtecda test lrswipkxtecda localhost> sam user.test testtodelete '' localhost> lam user.test test lrswipkxtecda localhost> lam user/asaude asaudetodelete lrswipkxtecda localhost> lam user/ana^claudia ana.claudiatodelete lrswipkxtecda localhost> OMG it's completely borked. Why did it happen? How it changed to "TODELETE" but didn't change back hours later?!? Maybe was the capital letters?! Then I'll have to change one by one? with "sam"? Could you please explain what you did? I understood the LAMs but didn't the SAMs lol it seems in your case you had two acls?! a right and a wrong? -- Atenciosamente / Best Regards, Heiler Bemerguy Network Manager - CINBESA 55 91 98151-4894/3184-1751 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
Re: please HELP
Em 22/01/2018 19:47, Dan White escreveu: On 01/22/18 19:02 -0300, Heiler Bemerguy via Info-cyrus wrote: Em 22/01/2018 18:46, Dan White escreveu: On 01/22/18 17:44 -0300, Heiler Bemerguy via Info-cyrus wrote: imap_renamemailbox($mbox, "$mailbox", "$mailbox"."TODELETE") Was this performed as an admin? Yes. In a huge list of imap accounts I THOUGHT were unused What is an example of "$mailbox"? "{localhost:143}user/acom" would be an example I just renamed another imap account from "loginTODELETE" to "login" and even after Reconstruct, it shows on cyrus.header: root@mailer:/var/spool/cyrus/mail/a/user/ana^claudia# cat cyrus.header Cyrus mailbox header "The best thing about this system was that it had lots of goals." --Jim Morris on Andrew user.ana^claudia 2696fec95963d41f $MDNSent $Forwarded ana.claudiatodelete lrswipkxtecda On a similar version of Cyrus, with the same altnamespace/unixhierarchysep config: cyradm --user=cyrus host> cm user/first.last Contents of cyrus.header: host# cat /var/spool/cyrus/mail/f/user/first^last/cyrus.header Cyrus mailbox header "The best thing about this system was that it had lots of goals." --Jim Morris on Andrew 55eee0815a6664c2 first.last lrswipkxtecdan host> lm user/f* user/first.last (\HasNoChildren) host> setacl user/first.last cyrus all host> rename user/first.last user/first.last.TODELETE host> lm user/f* user/first.last.TODELETE (\HasNoChildren) Contents of cyrus.header: host# cat /var/spool/cyrus/mail/f/user/first^last^TODELETE/cyrus.header Cyrus mailbox header "The best thing about this system was that it had lots of goals." --Jim Morris on Andrew 55eee0815a6664c2 cyrus lrswipkxtecdan first.last.todelete lrswipkxtecdan host> rename user/first.last.TODELETE user/first.last host> lm user/f* user/first.last (\HasNoChildren) The cyrus.header may not be directly related to your problem. Verify your mailboxes list, with cyradm, and use use it to perform your renames, as an admin user. A wrong cyrus.header content wouldn't show the mailbox as empty? At least while renaming via PHP's "imap_renamemailbox", the last line of it is not matching the mailbox name. I just checked again: root@mailer:/var/spool/cyrus/mail/a/user/ana^claudia# cat cyrus.header Cyrus mailbox header "The best thing about this system was that it had lots of goals." --Jim Morris on Andrew user.ana^claudia 2696fec95963d41f $MDNSent $Forwarded ana.claudiatodelete lrswipkxtecda I don't even know exactly what it means. But it's clear that it shoudn't be that way. If I'm not wrong, I've already deleted it, but Reconstruct writes it again with "ana.claudiatodelete". Where does Reconstruct get the "old" name? Now I just renamed like you did, with cyradmin.. and guess what? another wrong cyrus.header: root@mailer:~# cyradm --user=admin localhost Password: localhost> rename user/asaudeTODELETE user/asaude localhost> quit root@mailer:/var/spool/cyrus/mail/a/user/asaude# cat cyrus.header Cyrus mailbox header "The best thing about this system was that it had lots of goals." --Jim Morris on Andrew user.asaude 62c4f1d44c54c32e asaudetodelete lrswipkxtecda -- Atenciosamente / Best Regards, Heiler Bemerguy Network Manager - CINBESA 55 91 98151-4894/3184-1751 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
Re: please HELP
On 01/22/2018 07:01 PM, Patrick Boutilier wrote: On 01/22/2018 06:02 PM, Heiler Bemerguy via Info-cyrus wrote: Em 22/01/2018 18:46, Dan White escreveu: On 01/22/18 17:44 -0300, Heiler Bemerguy via Info-cyrus wrote: imap_renamemailbox($mbox, "$mailbox", "$mailbox"."TODELETE") Was this performed as an admin? Yes. In a huge list of imap accounts I THOUGHT were unused Some mailboxes were erroneusly renamed to "loginTODELETE" and I need to put them back to the original name. I reverted this command, like: imap_renamemailbox($mbox, "$mailbox"."TODELETE", "$mailbox") And the mailbox seems to be there with the correct name. It lists all folders, but they all show up as EMPTY. We use roundcube as client and it always says "no messages was found" I've already tried like "cyrus reconstruct -r -f user/personlogin" with no luck !!! What is your Cyrus version, and what does a sanitized copy of your imapd.conf look like? 2.5.10 configdirectory: /var/lib/cyrus proc_path: /dev/shm/cyrus/proc mboxname_lockpath: /dev/shm/cyrus/lock defaultpartition: default partition-default: /var/spool/cyrus/mail partition-news: /var/spool/cyrus/news newsspool: /var/spool/news altnamespace: no unixhierarchysep: yes reject8bit: yes lmtp_downcase_rcpt: yes admins: admin allowanonymouslogin: no popminpoll: 0 autocreate_quota: 0 umask: 077 hashimapspool: true allowplaintext: yes sasl_mech_list: PLAIN lmtp_strict_quota: 1 allowusermoves: true If you have unixhierarchysep turned off, then you'd want: cyrreconstruct -r -f user.personlogin Please make sure you have a backup of the current state of your mailstore before proceeding, in addition to whatever backups you had prior to modification. I've done that. But in the cyrus.header, the "todelete" is still there, although in lower case.. I think that is the big problem!! The '^' implies you have unixhierarchysep turned off, based on this: https://www.cyrusimap.org/imap/concepts/features/namespaces.html?highlight=internal See the /doc/internal documentation within the source as well. iury.pintotodelete lrswipkxtecda But it is enabled.. should I disable it or what? I just renamed another imap account from "loginTODELETE" to "login" and even after Reconstruct, it shows on cyrus.header: root@mailer:/var/spool/cyrus/mail/a/user/ana^claudia# cat cyrus.header Cyrus mailbox header "The best thing about this system was that it had lots of goals." --Jim Morris on Andrew user.ana^claudia 2696fec95963d41f $MDNSent $Forwarded ana.claudiatodelete lrswipkxtecda Is this incorrect header file that is causing all this users folders to appears as empty ?? why reconstruct isnt' fixing it ??! The way I interpret it is that the / means unixhierarchysep is on. Just tested this on 2.4.18 and the same thing happens. When you rename back no messages are listed and reconstruct does nothing. Ah. As suspected the rights are wrong. You just need to set the rights back to the real user. You probably need to use / instead of . localhost> lam user.test testtodelete lrswipkxtecda localhost> sam user.test test lrswipkxtecda localhost> lam user.test testtodelete lrswipkxtecda test lrswipkxtecda localhost> sam user.test testtodelete '' localhost> lam user.test test lrswipkxtecda -- Atenciosamente / Best Regards, Heiler Bemerguy Network Manager - CINBESA 55 91 98151-4894/3184-1751 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 <> 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
Re: please HELP
On 01/22/2018 06:02 PM, Heiler Bemerguy via Info-cyrus wrote: Em 22/01/2018 18:46, Dan White escreveu: On 01/22/18 17:44 -0300, Heiler Bemerguy via Info-cyrus wrote: imap_renamemailbox($mbox, "$mailbox", "$mailbox"."TODELETE") Was this performed as an admin? Yes. In a huge list of imap accounts I THOUGHT were unused Some mailboxes were erroneusly renamed to "loginTODELETE" and I need to put them back to the original name. I reverted this command, like: imap_renamemailbox($mbox, "$mailbox"."TODELETE", "$mailbox") And the mailbox seems to be there with the correct name. It lists all folders, but they all show up as EMPTY. We use roundcube as client and it always says "no messages was found" I've already tried like "cyrus reconstruct -r -f user/personlogin" with no luck !!! What is your Cyrus version, and what does a sanitized copy of your imapd.conf look like? 2.5.10 configdirectory: /var/lib/cyrus proc_path: /dev/shm/cyrus/proc mboxname_lockpath: /dev/shm/cyrus/lock defaultpartition: default partition-default: /var/spool/cyrus/mail partition-news: /var/spool/cyrus/news newsspool: /var/spool/news altnamespace: no unixhierarchysep: yes reject8bit: yes lmtp_downcase_rcpt: yes admins: admin allowanonymouslogin: no popminpoll: 0 autocreate_quota: 0 umask: 077 hashimapspool: true allowplaintext: yes sasl_mech_list: PLAIN lmtp_strict_quota: 1 allowusermoves: true If you have unixhierarchysep turned off, then you'd want: cyrreconstruct -r -f user.personlogin Please make sure you have a backup of the current state of your mailstore before proceeding, in addition to whatever backups you had prior to modification. I've done that. But in the cyrus.header, the "todelete" is still there, although in lower case.. I think that is the big problem!! The '^' implies you have unixhierarchysep turned off, based on this: https://www.cyrusimap.org/imap/concepts/features/namespaces.html?highlight=internal See the /doc/internal documentation within the source as well. iury.pintotodelete lrswipkxtecda But it is enabled.. should I disable it or what? I just renamed another imap account from "loginTODELETE" to "login" and even after Reconstruct, it shows on cyrus.header: root@mailer:/var/spool/cyrus/mail/a/user/ana^claudia# cat cyrus.header Cyrus mailbox header "The best thing about this system was that it had lots of goals." --Jim Morris on Andrew user.ana^claudia 2696fec95963d41f $MDNSent $Forwarded ana.claudiatodelete lrswipkxtecda Is this incorrect header file that is causing all this users folders to appears as empty ?? why reconstruct isnt' fixing it ??! The way I interpret it is that the / means unixhierarchysep is on. Just tested this on 2.4.18 and the same thing happens. When you rename back no messages are listed and reconstruct does nothing. -- Atenciosamente / Best Regards, Heiler Bemerguy Network Manager - CINBESA 55 91 98151-4894/3184-1751 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
Re: please HELP
On 01/22/18 19:02 -0300, Heiler Bemerguy via Info-cyrus wrote: Em 22/01/2018 18:46, Dan White escreveu: On 01/22/18 17:44 -0300, Heiler Bemerguy via Info-cyrus wrote: imap_renamemailbox($mbox, "$mailbox", "$mailbox"."TODELETE") Was this performed as an admin? Yes. In a huge list of imap accounts I THOUGHT were unused What is an example of "$mailbox"? What is your Cyrus version, and what does a sanitized copy of your imapd.conf look like? 2.5.10 configdirectory: /var/lib/cyrus proc_path: /dev/shm/cyrus/proc mboxname_lockpath: /dev/shm/cyrus/lock defaultpartition: default partition-default: /var/spool/cyrus/mail partition-news: /var/spool/cyrus/news newsspool: /var/spool/news altnamespace: no unixhierarchysep: yes reject8bit: yes lmtp_downcase_rcpt: yes admins: admin allowanonymouslogin: no popminpoll: 0 autocreate_quota: 0 umask: 077 hashimapspool: true allowplaintext: yes sasl_mech_list: PLAIN lmtp_strict_quota: 1 allowusermoves: true Please make sure you have a backup of the current state of your mailstore before proceeding, in addition to whatever backups you had prior to modification. I've done that. But in the cyrus.header, the "todelete" is still there, although in lower case.. I think that is the big problem!! The '^' implies you have unixhierarchysep turned off, based on this: But it is enabled.. should I disable it or what? I do not recommend making any changes to your imapd.conf. That could make things worse. I just renamed another imap account from "loginTODELETE" to "login" and even after Reconstruct, it shows on cyrus.header: root@mailer:/var/spool/cyrus/mail/a/user/ana^claudia# cat cyrus.header Cyrus mailbox header "The best thing about this system was that it had lots of goals." --Jim Morris on Andrew user.ana^claudia2696fec95963d41f $MDNSent $Forwarded ana.claudiatodelete lrswipkxtecda On a similar version of Cyrus, with the same altnamespace/unixhierarchysep config: cyradm --user=cyrus host> cm user/first.last Contents of cyrus.header: host# cat /var/spool/cyrus/mail/f/user/first^last/cyrus.header Cyrus mailbox header "The best thing about this system was that it had lots of goals." --Jim Morris on Andrew 55eee0815a6664c2 first.last lrswipkxtecdan host> lm user/f* user/first.last (\HasNoChildren) host> setacl user/first.last cyrus all host> rename user/first.last user/first.last.TODELETE host> lm user/f* user/first.last.TODELETE (\HasNoChildren) Contents of cyrus.header: host# cat /var/spool/cyrus/mail/f/user/first^last^TODELETE/cyrus.header Cyrus mailbox header "The best thing about this system was that it had lots of goals." --Jim Morris on Andrew 55eee0815a6664c2 cyrus lrswipkxtecdan first.last.todelete lrswipkxtecdan host> rename user/first.last.TODELETE user/first.last host> lm user/f* user/first.last (\HasNoChildren) The cyrus.header may not be directly related to your problem. Verify your mailboxes list, with cyradm, and use use it to perform your renames, as an admin user. -- Dan White 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
Re: please HELP
Em 22/01/2018 18:46, Dan White escreveu: On 01/22/18 17:44 -0300, Heiler Bemerguy via Info-cyrus wrote: imap_renamemailbox($mbox, "$mailbox", "$mailbox"."TODELETE") Was this performed as an admin? Yes. In a huge list of imap accounts I THOUGHT were unused Some mailboxes were erroneusly renamed to "loginTODELETE" and I need to put them back to the original name. I reverted this command, like: imap_renamemailbox($mbox, "$mailbox"."TODELETE", "$mailbox") And the mailbox seems to be there with the correct name. It lists all folders, but they all show up as EMPTY. We use roundcube as client and it always says "no messages was found" I've already tried like "cyrus reconstruct -r -f user/personlogin" with no luck !!! What is your Cyrus version, and what does a sanitized copy of your imapd.conf look like? 2.5.10 configdirectory: /var/lib/cyrus proc_path: /dev/shm/cyrus/proc mboxname_lockpath: /dev/shm/cyrus/lock defaultpartition: default partition-default: /var/spool/cyrus/mail partition-news: /var/spool/cyrus/news newsspool: /var/spool/news altnamespace: no unixhierarchysep: yes reject8bit: yes lmtp_downcase_rcpt: yes admins: admin allowanonymouslogin: no popminpoll: 0 autocreate_quota: 0 umask: 077 hashimapspool: true allowplaintext: yes sasl_mech_list: PLAIN lmtp_strict_quota: 1 allowusermoves: true If you have unixhierarchysep turned off, then you'd want: cyrreconstruct -r -f user.personlogin Please make sure you have a backup of the current state of your mailstore before proceeding, in addition to whatever backups you had prior to modification. I've done that. But in the cyrus.header, the "todelete" is still there, although in lower case.. I think that is the big problem!! The '^' implies you have unixhierarchysep turned off, based on this: https://www.cyrusimap.org/imap/concepts/features/namespaces.html?highlight=internal See the /doc/internal documentation within the source as well. iury.pintotodelete lrswipkxtecda But it is enabled.. should I disable it or what? I just renamed another imap account from "loginTODELETE" to "login" and even after Reconstruct, it shows on cyrus.header: root@mailer:/var/spool/cyrus/mail/a/user/ana^claudia# cat cyrus.header Cyrus mailbox header "The best thing about this system was that it had lots of goals." --Jim Morris on Andrew user.ana^claudia 2696fec95963d41f $MDNSent $Forwarded ana.claudiatodelete lrswipkxtecda Is this incorrect header file that is causing all this users folders to appears as empty ?? why reconstruct isnt' fixing it ??! -- Atenciosamente / Best Regards, Heiler Bemerguy Network Manager - CINBESA 55 91 98151-4894/3184-1751 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
Re: please HELP
On 01/22/18 17:44 -0300, Heiler Bemerguy via Info-cyrus wrote: imap_renamemailbox($mbox, "$mailbox", "$mailbox"."TODELETE") Was this performed as an admin? Some mailboxes were erroneusly renamed to "loginTODELETE" and I need to put them back to the original name. I reverted this command, like: imap_renamemailbox($mbox, "$mailbox"."TODELETE", "$mailbox") And the mailbox seems to be there with the correct name. It lists all folders, but they all show up as EMPTY. We use roundcube as client and it always says "no messages was found" I've already tried like "cyrus reconstruct -r -f user/personlogin" with no luck !!! What is your Cyrus version, and what does a sanitized copy of your imapd.conf look like? If you have unixhierarchysep turned off, then you'd want: cyrreconstruct -r -f user.personlogin Please make sure you have a backup of the current state of your mailstore before proceeding, in addition to whatever backups you had prior to modification. I've noticed the cyrus.index file still mention the TODELETE name.. cat cyrus.header Cyrus mailbox header "The best thing about this system was that it had lots of goals." --Jim Morris on Andrew user.iury^pinto 78e57a515a664ca1 The '^' implies you have unixhierarchysep turned off, based on this: https://www.cyrusimap.org/imap/concepts/features/namespaces.html?highlight=internal See the /doc/internal documentation within the source as well. iury.pintotodelete lrswipkxtecda -- Dan White 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
please HELP
Hi guys, I used a php script with this command: imap_renamemailbox($mbox, "$mailbox", "$mailbox"."TODELETE") Some mailboxes were erroneusly renamed to "loginTODELETE" and I need to put them back to the original name. I reverted this command, like: imap_renamemailbox($mbox, "$mailbox"."TODELETE", "$mailbox") And the mailbox seems to be there with the correct name. It lists all folders, but they all show up as EMPTY. We use roundcube as client and it always says "no messages was found" I've already tried like "cyrus reconstruct -r -f user/personlogin" with no luck !!! I've noticed the cyrus.index file still mention the TODELETE name.. like this: cat cyrus.header Cyrus mailbox header "The best thing about this system was that it had lots of goals." --Jim Morris on Andrew user.iury^pinto 78e57a515a664ca1 iury.pintotodelete lrswipkxtecda How can I fix it ??? -- Atenciosamente / Best Regards, Heiler Bemerguy Network Manager - CINBESA 55 91 98151-4894/3184-1751 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
Re: Sieve login issue. Please help.
On 22.09.2016 11:38, Michael Menge via Info-cyrus wrote: Hi, Quoting Müfit Eribol via Info-cyrus : Hello, I am a happy user of cyrus-imapd for years without any major problem for small user base. Currently, I am having login problem for sieve. I have been trying to find the problem for days. Please find below information about my configuration: 1. Installed software: cyrus-imapd-2.4.17, postfix-2.10.1, cyrus-sasl-2.1.26, cyrus-sasl-plain-2.1.26, cyrus-sasl-lib-2.1.26 on CentOS 7. 2. Authentication is done through saslauthd, pam and mysql. 3. pwcheck_method: saslauthd, mech_list: plain login 4. There is no problem with login to imapd or smtpd. 5. cyrus.conf SERVICES { imaplocal cmd="imapd -C /etc/imapd-local.conf" listen="127.0.0.1:imap" prefork=0 imaps cmd="imapd -s" listen="imaps" prefork=1 imapslocalcmd="imapd -C /etc/imapd-local.conf" listen="127.0.0.1:imaps" prefork=0 sieve cmd="timsieved" listen="sieve" prefork=0 You did not define an ip address here, so sieve will use 0.0.0.0:sieve sievelocal cmd="timsieved -C /etc/imapd-local.conf" listen="127.0.0.1:sieve" prefork=0 this will likely fail, as the "sieve" service above will is already listening on 0.0.0.0 and blocking 127.0.0.1 lmtpunix cmd="lmtpd" listen="/var/lib/imap/socket/lmtp" prefork=1 } 6. imapd.conf postmaster: postmaster configdirectory: /var/lib/imap partition-default: /var/spool/imap #admins: cyrus allowanonymouslogin: no allowplaintext: no #tls_require_cert: 1 sasl_minimum_layer: 128 servername: mail.x.com autocreatequota: 20 maxmessagesize: 0 reject8bit: 0 munge8bit: 0 quotawarn: 90 timeout: 30 poptimeout: 10 dracinterval: 0 drachost: localhost sasl_pwcheck_method: saslauthd sasl_mech_list: PLAIN sievedir: /var/lib/imap/sieve sieve_maxscriptsize: 32 sieve_maxscripts: 5 sieve_allowplaintext: 1 sendmail: /usr/sbin/sendmail tls_cert_file: /etc/pki/tls/certs/imap.pem tls_key_file: /etc/pki/tls/certs/imap.pem tls_ca_file: /etc/pki/tls/certs/imap.pem 7. imapd-local.conf postmaster: postmaster configdirectory: /var/lib/imap partition-default: /var/spool/imap admins: cyrus allowanonymouslogin: no allowplaintext: yes servername: mail.xx.com autocreatequota: 100 maxmessagesize: 0 reject8bit: no quotawarn: 90 timeout: 30 poptimeout: 10 dracinterval: 0 drachost: localhost sasl_pwcheck_method: saslauthd sasl_mech_list: PLAIN sievedir: /var/lib/imap/sieve sieve_maxscriptsize: 32 sieve_maxscripts: 5 sendmail: /usr/sbin/sendmail 8. shell: [root@server ~]# sieveshell -u user1 -a user1 localhost connecting to localhost unable to connect to server at /usr/bin/sieveshell line 170. maillog: Sep 22 10:34:45 server sieve[15050]: Lost connection to client -- exiting 9. shell: [root@server ~]# telnet localhost sieve Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. "IMPLEMENTATION" "Cyrus timsieved v2.4.17-Fedora-RPM-2.4.17-8.el7_1" "SASL" "" "SIEVE" "comparator-i;ascii-numeric fileinto reject vacation imapflags notify envelope relational regex subaddress copy" "STARTTLS" "UNAUTHENTICATE" OK 10. When I try to login using smartsieve maillog: Sep 22 10:38:32 server sieve[16029]: STARTTLS failed: localhost[127.0.0.1] you are not connecting to sievelocal but to sieve and therefore "allowplaintext: no" from imapd.conf is preventing auth:login and auth:plain from showing without usage of startls I don't understand why STARTTLS is being called when connecting from localhost? Is it normal? Obviously, I am doing something wrong. I would appreciate any help. Thank you. Cheers, Michael M.MengeTel.: (49) 7071/29-70316 Universität Tübingen Fax.: (49) 7071/29-5912 Zentrum für Datenverarbeitung mail: michael.me...@zdv.uni-tuebingen.de Wächterstraße 76 72074 Tübingen 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 Spot on. Thank you Michael. After defining the IP, it works perfectly. Regards 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
Re: Sieve login issue. Please help.
Hi, Quoting Müfit Eribol via Info-cyrus : Hello, I am a happy user of cyrus-imapd for years without any major problem for small user base. Currently, I am having login problem for sieve. I have been trying to find the problem for days. Please find below information about my configuration: 1. Installed software: cyrus-imapd-2.4.17, postfix-2.10.1, cyrus-sasl-2.1.26, cyrus-sasl-plain-2.1.26, cyrus-sasl-lib-2.1.26 on CentOS 7. 2. Authentication is done through saslauthd, pam and mysql. 3. pwcheck_method: saslauthd, mech_list: plain login 4. There is no problem with login to imapd or smtpd. 5. cyrus.conf SERVICES { imaplocal cmd="imapd -C /etc/imapd-local.conf" listen="127.0.0.1:imap" prefork=0 imaps cmd="imapd -s" listen="imaps" prefork=1 imapslocalcmd="imapd -C /etc/imapd-local.conf" listen="127.0.0.1:imaps" prefork=0 sieve cmd="timsieved" listen="sieve" prefork=0 You did not define an ip address here, so sieve will use 0.0.0.0:sieve sievelocal cmd="timsieved -C /etc/imapd-local.conf" listen="127.0.0.1:sieve" prefork=0 this will likely fail, as the "sieve" service above will is already listening on 0.0.0.0 and blocking 127.0.0.1 lmtpunix cmd="lmtpd" listen="/var/lib/imap/socket/lmtp" prefork=1 } 6. imapd.conf postmaster: postmaster configdirectory: /var/lib/imap partition-default: /var/spool/imap #admins: cyrus allowanonymouslogin: no allowplaintext: no #tls_require_cert: 1 sasl_minimum_layer: 128 servername: mail.x.com autocreatequota: 20 maxmessagesize: 0 reject8bit: 0 munge8bit: 0 quotawarn: 90 timeout: 30 poptimeout: 10 dracinterval: 0 drachost: localhost sasl_pwcheck_method: saslauthd sasl_mech_list: PLAIN sievedir: /var/lib/imap/sieve sieve_maxscriptsize: 32 sieve_maxscripts: 5 sieve_allowplaintext: 1 sendmail: /usr/sbin/sendmail tls_cert_file: /etc/pki/tls/certs/imap.pem tls_key_file: /etc/pki/tls/certs/imap.pem tls_ca_file: /etc/pki/tls/certs/imap.pem 7. imapd-local.conf postmaster: postmaster configdirectory: /var/lib/imap partition-default: /var/spool/imap admins: cyrus allowanonymouslogin: no allowplaintext: yes servername: mail.xx.com autocreatequota: 100 maxmessagesize: 0 reject8bit: no quotawarn: 90 timeout: 30 poptimeout: 10 dracinterval: 0 drachost: localhost sasl_pwcheck_method: saslauthd sasl_mech_list: PLAIN sievedir: /var/lib/imap/sieve sieve_maxscriptsize: 32 sieve_maxscripts: 5 sendmail: /usr/sbin/sendmail 8. shell: [root@server ~]# sieveshell -u user1 -a user1 localhost connecting to localhost unable to connect to server at /usr/bin/sieveshell line 170. maillog: Sep 22 10:34:45 server sieve[15050]: Lost connection to client -- exiting 9. shell: [root@server ~]# telnet localhost sieve Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. "IMPLEMENTATION" "Cyrus timsieved v2.4.17-Fedora-RPM-2.4.17-8.el7_1" "SASL" "" "SIEVE" "comparator-i;ascii-numeric fileinto reject vacation imapflags notify envelope relational regex subaddress copy" "STARTTLS" "UNAUTHENTICATE" OK 10. When I try to login using smartsieve maillog: Sep 22 10:38:32 server sieve[16029]: STARTTLS failed: localhost[127.0.0.1] you are not connecting to sievelocal but to sieve and therefore "allowplaintext: no" from imapd.conf is preventing auth:login and auth:plain from showing without usage of startls I don't understand why STARTTLS is being called when connecting from localhost? Is it normal? Obviously, I am doing something wrong. I would appreciate any help. Thank you. Cheers, Michael M.MengeTel.: (49) 7071/29-70316 Universität Tübingen Fax.: (49) 7071/29-5912 Zentrum für Datenverarbeitung mail: michael.me...@zdv.uni-tuebingen.de Wächterstraße 76 72074 Tübingen 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
Sieve login issue. Please help.
Hello, I am a happy user of cyrus-imapd for years without any major problem for small user base. Currently, I am having login problem for sieve. I have been trying to find the problem for days. Please find below information about my configuration: 1. Installed software: cyrus-imapd-2.4.17, postfix-2.10.1, cyrus-sasl-2.1.26, cyrus-sasl-plain-2.1.26, cyrus-sasl-lib-2.1.26 on CentOS 7. 2. Authentication is done through saslauthd, pam and mysql. 3. pwcheck_method: saslauthd, mech_list: plain login 4. There is no problem with login to imapd or smtpd. 5. cyrus.conf SERVICES { imaplocal cmd="imapd -C /etc/imapd-local.conf" listen="127.0.0.1:imap" prefork=0 imaps cmd="imapd -s" listen="imaps" prefork=1 imapslocalcmd="imapd -C /etc/imapd-local.conf" listen="127.0.0.1:imaps" prefork=0 sieve cmd="timsieved" listen="sieve" prefork=0 sievelocal cmd="timsieved -C /etc/imapd-local.conf" listen="127.0.0.1:sieve" prefork=0 lmtpunix cmd="lmtpd" listen="/var/lib/imap/socket/lmtp" prefork=1 } 6. imapd.conf postmaster: postmaster configdirectory: /var/lib/imap partition-default: /var/spool/imap #admins: cyrus allowanonymouslogin: no allowplaintext: no #tls_require_cert: 1 sasl_minimum_layer: 128 servername: mail.x.com autocreatequota: 20 maxmessagesize: 0 reject8bit: 0 munge8bit: 0 quotawarn: 90 timeout: 30 poptimeout: 10 dracinterval: 0 drachost: localhost sasl_pwcheck_method: saslauthd sasl_mech_list: PLAIN sievedir: /var/lib/imap/sieve sieve_maxscriptsize: 32 sieve_maxscripts: 5 sieve_allowplaintext: 1 sendmail: /usr/sbin/sendmail tls_cert_file: /etc/pki/tls/certs/imap.pem tls_key_file: /etc/pki/tls/certs/imap.pem tls_ca_file: /etc/pki/tls/certs/imap.pem 7. imapd-local.conf postmaster: postmaster configdirectory: /var/lib/imap partition-default: /var/spool/imap admins: cyrus allowanonymouslogin: no allowplaintext: yes servername: mail.xx.com autocreatequota: 100 maxmessagesize: 0 reject8bit: no quotawarn: 90 timeout: 30 poptimeout: 10 dracinterval: 0 drachost: localhost sasl_pwcheck_method: saslauthd sasl_mech_list: PLAIN sievedir: /var/lib/imap/sieve sieve_maxscriptsize: 32 sieve_maxscripts: 5 sendmail: /usr/sbin/sendmail 8. shell: [root@server ~]# sieveshell -u user1 -a user1 localhost connecting to localhost unable to connect to server at /usr/bin/sieveshell line 170. maillog: Sep 22 10:34:45 server sieve[15050]: Lost connection to client -- exiting 9. shell: [root@server ~]# telnet localhost sieve Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. "IMPLEMENTATION" "Cyrus timsieved v2.4.17-Fedora-RPM-2.4.17-8.el7_1" "SASL" "" "SIEVE" "comparator-i;ascii-numeric fileinto reject vacation imapflags notify envelope relational regex subaddress copy" "STARTTLS" "UNAUTHENTICATE" OK 10. When I try to login using smartsieve maillog: Sep 22 10:38:32 server sieve[16029]: STARTTLS failed: localhost[127.0.0.1] I don't understand why STARTTLS is being called when connecting from localhost? Is it normal? Obviously, I am doing something wrong. I would appreciate any help. Thank you. 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
Error while compiling CyrusIMAP..Please help.
Dear List, I have got the following error while compiling CyrusIMAP 2.3.1 on my Centos server. I had patched Autocreate patch for this setup. /usr/bin/ld: ../../lib/libcyrus.a(imclient.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC This was happened while I apply the command " make all CFLAGS=-O". Has anybody come across the problem,please share. -- Greetings BipinDas Linux System Administrator, Ditro Advanced Technologies,SBC,BIII, Thapasya,Infopark Kochin. http://ditro.com. +91 94466 12493. Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: please help to enable sieve
Simon Matter wrote: >> Simon Matter wrote: >> Dear list, this is my first ever mail to the cyrus group. Hope to get some help. I am using cyrus-imapd-2.2.12-27.6 in Suse 10.1 I have configured cyrus to work with LDAP authentication where the admin user "cyrus" is based on simple pam authentication. So I have both PAM_Unix and PAM_ldap module in my system and configured accordingly. >>> What's in your /etc/pam.d/imap and /etc/pam.d/sieve? >>> >>> >> Thanks for your response. >> >> Here is /etc/pam.d/imap >> === >> auth sufficient /lib/security/pam_ldap.so >> auth required /lib/security/pam_unix.so try_first_pass >> accountsufficient /lib/security/pam_ldap.so >> accountrequired /lib/security/pam_unix.so >> === >> >> but I don't have any /etc/pam.d/sieve in my Suse 10.1 >> > > Interesting, but I think you need one. Try to make it a copy of > /etc/pam.d/imap. > Thanks a lot Simon, it is working now. I honor your knowledge and your helping hand. > Simon > > >> >> >>> Simon >>> >>> >>> I have no problem to login as cyrus ( to do admin work) as well as I can also log in as an user based in LDAP database. I am using egroupware and felamimail is my webinterface for cyrus. I can send and received email. But I can't use the seiev. whenever I try to use; it gives error like = Mar 19 12:44:36 linux master[21414]: about to exec /usr/lib/cyrus/bin/timsieved Mar 19 12:44:36 linux sieve[21414]: executed Mar 19 12:44:36 linux sieve[21414]: accepted connection Mar 19 12:44:36 linux saslauthd[4894]: pam_warn(sieve:auth): function=[pam_sm_authenticate] service=[sieve] terminal=[] user=[aftab] ruser=[] rhost=[] Mar 19 12:44:36 linux saslauthd[4894]: DEBUG: auth_pam: pam_authenticate failed: Authentication failure Mar 19 12:44:36 linux saslauthd[4894]: do_auth : auth failure: [user=aftab] [service=sieve] [realm=kolkatainfoservices.in] [mech=pam] [reason=PAM auth error] Mar 19 12:44:36 linux sieve[21414]: Password verification failed Mar 19 12:44:36 linux sieve[21414]: badlogin: linux.kolkatainfoservices.in[127.0.0.1] PLAIN authentication failure = here is my /etc/imapd.conf == configdirectory: /var/lib/imap partition-default: /var/spool/imap sievedir: /var/lib/sieve admins: cyrus allowplaintext: yes sasl_mech_list: LOGIN PLAIN allowanonymouslogin: no autocreatequota: 1 reject8bit: no quotawarn: 90 timeout: 30 poptimeout: 10 dracinterval: 0 drachost: localhost sasl_pwcheck_method: saslauthd servername:linux.kolkatainfoservices.in lmtp_overquota_perm_failure: no lmtp_downcase_rcpt: yes unixhierarchysep: yes loginrealms: kolkatainfoservices.in hashimapspool: true lmtpsocket: /var/lib/imap/socket/lmtp == Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html >>> >>> > > > Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: please help to enable sieve
Simon Matter wrote: >> Simon Matter wrote: >> Dear list, this is my first ever mail to the cyrus group. Hope to get some help. I am using cyrus-imapd-2.2.12-27.6 in Suse 10.1 I have configured cyrus to work with LDAP authentication where the admin user "cyrus" is based on simple pam authentication. So I have both PAM_Unix and PAM_ldap module in my system and configured accordingly. >>> What's in your /etc/pam.d/imap and /etc/pam.d/sieve? >>> >>> >> Thanks for your response. >> >> Here is /etc/pam.d/imap >> === >> auth sufficient /lib/security/pam_ldap.so >> auth required /lib/security/pam_unix.so try_first_pass >> accountsufficient /lib/security/pam_ldap.so >> accountrequired /lib/security/pam_unix.so >> === >> >> but I don't have any /etc/pam.d/sieve in my Suse 10.1 >> > > Interesting, but I think you need one. Try to make it a copy of > /etc/pam.d/imap. > > Dear Simon, Thanks a lot. it is working now. I honor your knowledge and help. > Simon > > >> >> >>> Simon >>> >>> >>> I have no problem to login as cyrus ( to do admin work) as well as I can also log in as an user based in LDAP database. I am using egroupware and felamimail is my webinterface for cyrus. I can send and received email. But I can't use the seiev. whenever I try to use; it gives error like = Mar 19 12:44:36 linux master[21414]: about to exec /usr/lib/cyrus/bin/timsieved Mar 19 12:44:36 linux sieve[21414]: executed Mar 19 12:44:36 linux sieve[21414]: accepted connection Mar 19 12:44:36 linux saslauthd[4894]: pam_warn(sieve:auth): function=[pam_sm_authenticate] service=[sieve] terminal=[] user=[aftab] ruser=[] rhost=[] Mar 19 12:44:36 linux saslauthd[4894]: DEBUG: auth_pam: pam_authenticate failed: Authentication failure Mar 19 12:44:36 linux saslauthd[4894]: do_auth : auth failure: [user=aftab] [service=sieve] [realm=kolkatainfoservices.in] [mech=pam] [reason=PAM auth error] Mar 19 12:44:36 linux sieve[21414]: Password verification failed Mar 19 12:44:36 linux sieve[21414]: badlogin: linux.kolkatainfoservices.in[127.0.0.1] PLAIN authentication failure = here is my /etc/imapd.conf == configdirectory: /var/lib/imap partition-default: /var/spool/imap sievedir: /var/lib/sieve admins: cyrus allowplaintext: yes sasl_mech_list: LOGIN PLAIN allowanonymouslogin: no autocreatequota: 1 reject8bit: no quotawarn: 90 timeout: 30 poptimeout: 10 dracinterval: 0 drachost: localhost sasl_pwcheck_method: saslauthd servername:linux.kolkatainfoservices.in lmtp_overquota_perm_failure: no lmtp_downcase_rcpt: yes unixhierarchysep: yes loginrealms: kolkatainfoservices.in hashimapspool: true lmtpsocket: /var/lib/imap/socket/lmtp == Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html >>> >>> > > > Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: please help to enable sieve
> Simon Matter wrote: >>> Dear list, >>> >>> this is my first ever mail to the cyrus group. Hope to get some help. >>> >>> I am using cyrus-imapd-2.2.12-27.6 in Suse 10.1 I have configured cyrus >>> to work with LDAP authentication where >>> the admin user "cyrus" is based on simple pam authentication. So I have >>> both PAM_Unix and PAM_ldap module >>> in my system and configured accordingly. >>> >> >> What's in your /etc/pam.d/imap and /etc/pam.d/sieve? >> > Thanks for your response. > > Here is /etc/pam.d/imap > === > auth sufficient /lib/security/pam_ldap.so > auth required /lib/security/pam_unix.so try_first_pass > accountsufficient /lib/security/pam_ldap.so > accountrequired /lib/security/pam_unix.so > === > > but I don't have any /etc/pam.d/sieve in my Suse 10.1 Interesting, but I think you need one. Try to make it a copy of /etc/pam.d/imap. Simon > > > >> Simon >> >> >>> I have no problem to login as cyrus ( to do admin work) as well as I >>> can also log in as an user based in LDAP database. >>> I am using egroupware and felamimail is my webinterface for cyrus. I >>> can >>> send and received email. >>> >>> But I can't use the seiev. whenever I try to use; it gives error like >>> = >>> Mar 19 12:44:36 linux master[21414]: about to exec >>> /usr/lib/cyrus/bin/timsieved >>> Mar 19 12:44:36 linux sieve[21414]: executed >>> Mar 19 12:44:36 linux sieve[21414]: accepted connection >>> Mar 19 12:44:36 linux saslauthd[4894]: pam_warn(sieve:auth): >>> function=[pam_sm_authenticate] service=[sieve] terminal=[] >>> user=[aftab] ruser=[] rhost=[] >>> Mar 19 12:44:36 linux saslauthd[4894]: DEBUG: auth_pam: >>> pam_authenticate >>> failed: Authentication failure >>> Mar 19 12:44:36 linux saslauthd[4894]: do_auth : auth failure: >>> [user=aftab] [service=sieve] [realm=kolkatainfoservices.in] [mech=pam] >>> [reason=PAM auth error] >>> Mar 19 12:44:36 linux sieve[21414]: Password verification failed >>> Mar 19 12:44:36 linux sieve[21414]: badlogin: >>> linux.kolkatainfoservices.in[127.0.0.1] PLAIN authentication failure >>> = >>> >>> >>> here is my /etc/imapd.conf >>> == >>> configdirectory: /var/lib/imap >>> partition-default: /var/spool/imap >>> sievedir: /var/lib/sieve >>> admins: cyrus >>> allowplaintext: yes >>> sasl_mech_list: LOGIN PLAIN >>> allowanonymouslogin: no >>> autocreatequota: 1 >>> reject8bit: no >>> quotawarn: 90 >>> timeout: 30 >>> poptimeout: 10 >>> dracinterval: 0 >>> drachost: localhost >>> sasl_pwcheck_method: saslauthd >>> servername:linux.kolkatainfoservices.in >>> lmtp_overquota_perm_failure: no >>> lmtp_downcase_rcpt: yes >>> unixhierarchysep: yes >>> loginrealms: kolkatainfoservices.in >>> hashimapspool: true >>> lmtpsocket: /var/lib/imap/socket/lmtp >>> == >>> >>> >>> >>> >>> >>> Cyrus Home Page: http://cyrusimap.web.cmu.edu/ >>> Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki >>> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html >>> >>> >> >> >> > Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: please help to enable sieve
Simon Matter wrote: >> Dear list, >> >> this is my first ever mail to the cyrus group. Hope to get some help. >> >> I am using cyrus-imapd-2.2.12-27.6 in Suse 10.1 I have configured cyrus >> to work with LDAP authentication where >> the admin user "cyrus" is based on simple pam authentication. So I have >> both PAM_Unix and PAM_ldap module >> in my system and configured accordingly. >> > > What's in your /etc/pam.d/imap and /etc/pam.d/sieve? > Thanks for your response. Here is /etc/pam.d/imap === auth sufficient /lib/security/pam_ldap.so auth required /lib/security/pam_unix.so try_first_pass accountsufficient /lib/security/pam_ldap.so accountrequired /lib/security/pam_unix.so === but I don't have any /etc/pam.d/sieve in my Suse 10.1 > Simon > > >> I have no problem to login as cyrus ( to do admin work) as well as I >> can also log in as an user based in LDAP database. >> I am using egroupware and felamimail is my webinterface for cyrus. I can >> send and received email. >> >> But I can't use the seiev. whenever I try to use; it gives error like >> = >> Mar 19 12:44:36 linux master[21414]: about to exec >> /usr/lib/cyrus/bin/timsieved >> Mar 19 12:44:36 linux sieve[21414]: executed >> Mar 19 12:44:36 linux sieve[21414]: accepted connection >> Mar 19 12:44:36 linux saslauthd[4894]: pam_warn(sieve:auth): >> function=[pam_sm_authenticate] service=[sieve] terminal=[] >> user=[aftab] ruser=[] rhost=[] >> Mar 19 12:44:36 linux saslauthd[4894]: DEBUG: auth_pam: pam_authenticate >> failed: Authentication failure >> Mar 19 12:44:36 linux saslauthd[4894]: do_auth : auth failure: >> [user=aftab] [service=sieve] [realm=kolkatainfoservices.in] [mech=pam] >> [reason=PAM auth error] >> Mar 19 12:44:36 linux sieve[21414]: Password verification failed >> Mar 19 12:44:36 linux sieve[21414]: badlogin: >> linux.kolkatainfoservices.in[127.0.0.1] PLAIN authentication failure >> = >> >> >> here is my /etc/imapd.conf >> == >> configdirectory: /var/lib/imap >> partition-default: /var/spool/imap >> sievedir: /var/lib/sieve >> admins: cyrus >> allowplaintext: yes >> sasl_mech_list: LOGIN PLAIN >> allowanonymouslogin: no >> autocreatequota: 1 >> reject8bit: no >> quotawarn: 90 >> timeout: 30 >> poptimeout: 10 >> dracinterval: 0 >> drachost: localhost >> sasl_pwcheck_method: saslauthd >> servername:linux.kolkatainfoservices.in >> lmtp_overquota_perm_failure: no >> lmtp_downcase_rcpt: yes >> unixhierarchysep: yes >> loginrealms: kolkatainfoservices.in >> hashimapspool: true >> lmtpsocket: /var/lib/imap/socket/lmtp >> == >> >> >> >> >> >> Cyrus Home Page: http://cyrusimap.web.cmu.edu/ >> Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki >> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html >> >> > > > Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: please help to enable sieve
> Dear list, > > this is my first ever mail to the cyrus group. Hope to get some help. > > I am using cyrus-imapd-2.2.12-27.6 in Suse 10.1 I have configured cyrus > to work with LDAP authentication where > the admin user "cyrus" is based on simple pam authentication. So I have > both PAM_Unix and PAM_ldap module > in my system and configured accordingly. What's in your /etc/pam.d/imap and /etc/pam.d/sieve? Simon > > I have no problem to login as cyrus ( to do admin work) as well as I > can also log in as an user based in LDAP database. > I am using egroupware and felamimail is my webinterface for cyrus. I can > send and received email. > > But I can't use the seiev. whenever I try to use; it gives error like > = > Mar 19 12:44:36 linux master[21414]: about to exec > /usr/lib/cyrus/bin/timsieved > Mar 19 12:44:36 linux sieve[21414]: executed > Mar 19 12:44:36 linux sieve[21414]: accepted connection > Mar 19 12:44:36 linux saslauthd[4894]: pam_warn(sieve:auth): > function=[pam_sm_authenticate] service=[sieve] terminal=[] > user=[aftab] ruser=[] rhost=[] > Mar 19 12:44:36 linux saslauthd[4894]: DEBUG: auth_pam: pam_authenticate > failed: Authentication failure > Mar 19 12:44:36 linux saslauthd[4894]: do_auth : auth failure: > [user=aftab] [service=sieve] [realm=kolkatainfoservices.in] [mech=pam] > [reason=PAM auth error] > Mar 19 12:44:36 linux sieve[21414]: Password verification failed > Mar 19 12:44:36 linux sieve[21414]: badlogin: > linux.kolkatainfoservices.in[127.0.0.1] PLAIN authentication failure > = > > > here is my /etc/imapd.conf > == > configdirectory: /var/lib/imap > partition-default: /var/spool/imap > sievedir: /var/lib/sieve > admins: cyrus > allowplaintext: yes > sasl_mech_list: LOGIN PLAIN > allowanonymouslogin: no > autocreatequota: 1 > reject8bit: no > quotawarn: 90 > timeout: 30 > poptimeout: 10 > dracinterval: 0 > drachost: localhost > sasl_pwcheck_method: saslauthd > servername:linux.kolkatainfoservices.in > lmtp_overquota_perm_failure: no > lmtp_downcase_rcpt: yes > unixhierarchysep: yes > loginrealms: kolkatainfoservices.in > hashimapspool: true > lmtpsocket: /var/lib/imap/socket/lmtp > == > > > > > > Cyrus Home Page: http://cyrusimap.web.cmu.edu/ > Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki > List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html > Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
please help to enable sieve
Dear list, this is my first ever mail to the cyrus group. Hope to get some help. I am using cyrus-imapd-2.2.12-27.6 in Suse 10.1 I have configured cyrus to work with LDAP authentication where the admin user "cyrus" is based on simple pam authentication. So I have both PAM_Unix and PAM_ldap module in my system and configured accordingly. I have no problem to login as cyrus ( to do admin work) as well as I can also log in as an user based in LDAP database. I am using egroupware and felamimail is my webinterface for cyrus. I can send and received email. But I can't use the seiev. whenever I try to use; it gives error like = Mar 19 12:44:36 linux master[21414]: about to exec /usr/lib/cyrus/bin/timsieved Mar 19 12:44:36 linux sieve[21414]: executed Mar 19 12:44:36 linux sieve[21414]: accepted connection Mar 19 12:44:36 linux saslauthd[4894]: pam_warn(sieve:auth): function=[pam_sm_authenticate] service=[sieve] terminal=[] user=[aftab] ruser=[] rhost=[] Mar 19 12:44:36 linux saslauthd[4894]: DEBUG: auth_pam: pam_authenticate failed: Authentication failure Mar 19 12:44:36 linux saslauthd[4894]: do_auth : auth failure: [user=aftab] [service=sieve] [realm=kolkatainfoservices.in] [mech=pam] [reason=PAM auth error] Mar 19 12:44:36 linux sieve[21414]: Password verification failed Mar 19 12:44:36 linux sieve[21414]: badlogin: linux.kolkatainfoservices.in[127.0.0.1] PLAIN authentication failure = here is my /etc/imapd.conf == configdirectory: /var/lib/imap partition-default: /var/spool/imap sievedir: /var/lib/sieve admins: cyrus allowplaintext: yes sasl_mech_list: LOGIN PLAIN allowanonymouslogin: no autocreatequota: 1 reject8bit: no quotawarn: 90 timeout: 30 poptimeout: 10 dracinterval: 0 drachost: localhost sasl_pwcheck_method: saslauthd servername:linux.kolkatainfoservices.in lmtp_overquota_perm_failure: no lmtp_downcase_rcpt: yes unixhierarchysep: yes loginrealms: kolkatainfoservices.in hashimapspool: true lmtpsocket: /var/lib/imap/socket/lmtp == Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: please help! username case sensitive
On Fri, 8 Jul 2005, Bartosz Jozwiak wrote: On 7/7/05, Bartosz Jozwiak <[EMAIL PROTECTED]> wrote: I am running web-cyradm with Cyrus SASL 2.1.17 and Cyrus impad 2.1.16 I have an issue with case sensitive usernames. To solve that problem, is there only one way to upgrade cyrus sasl and cyrus impad ? You may wish to consider the following: # Forcing recipient user to lowercase # Cyrus 2.1 is case-sensitive. If all your mail users are in lowercase, it is # probably a very good idea to set lmtp_downcase_rcpt to true. The default is # to assume the user knows what he is doing, and not downcase anything. #lmtp_downcase_rcpt: yes lmtp is only for delivery messages to cyrus imap. The problem is when using POP3 and IMAP servies while log in to users accounts. Will username_tolower help (see imapd.conf man page)? This only works for unix authorization mechanism. I do not have such a option "username_tolower" even in man pages of imapd.conf Bartosz --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: please help! username case sensitive
On Fri, 8 Jul 2005, Bartosz Jozwiak wrote: On 7/7/05, Bartosz Jozwiak <[EMAIL PROTECTED]> wrote: I am running web-cyradm with Cyrus SASL 2.1.17 and Cyrus impad 2.1.16 I have an issue with case sensitive usernames. To solve that problem, is there only one way to upgrade cyrus sasl and cyrus impad ? You may wish to consider the following: # Forcing recipient user to lowercase # Cyrus 2.1 is case-sensitive. If all your mail users are in lowercase, it is # probably a very good idea to set lmtp_downcase_rcpt to true. The default is # to assume the user knows what he is doing, and not downcase anything. #lmtp_downcase_rcpt: yes lmtp is only for delivery messages to cyrus imap. The problem is when using POP3 and IMAP servies while log in to users accounts. Will username_tolower help (see imapd.conf man page)? This only works for unix authorization mechanism. -- Igor --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: please help! username case sensitive
On 7/7/05, Bartosz Jozwiak <[EMAIL PROTECTED]> wrote: I am running web-cyradm with Cyrus SASL 2.1.17 and Cyrus impad 2.1.16 I have an issue with case sensitive usernames. To solve that problem, is there only one way to upgrade cyrus sasl and cyrus impad ? You may wish to consider the following: # Forcing recipient user to lowercase # Cyrus 2.1 is case-sensitive. If all your mail users are in lowercase, it is # probably a very good idea to set lmtp_downcase_rcpt to true. The default is # to assume the user knows what he is doing, and not downcase anything. #lmtp_downcase_rcpt: yes lmtp is only for delivery messages to cyrus imap. The problem is when using POP3 and IMAP servies while log in to users accounts. Bartosz --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
please help! username case sensitive
Hello, I am running web-cyradm with Cyrus SASL 2.1.17 and Cyrus impad 2.1.16 I have an issue with case sensitive usernames. To solve that problem, is there only one way to upgrade cyrus sasl and cyrus impad ? Bartosz --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Please help: Can auth but can't select
Hi Philip Thanks for the mail. One of my raid arrays was indeed having a problem but was used for nothing more than mp3 storage. I totaly discounted the idea that it might be responcable for Cyrus's problems but it was. If I bring the server up without that array mounted Cyrus works like it's old self again. Frankly I'm supprised that Cyrus had such a problem when none of the other apps on the server even seemed to notice. Thanks again for the push in the right direction. Nick --- Philip Edelbrock <[EMAIL PROTECTED]> wrote: > > Hi, I'm mostly a lurker and just receintly set up a > cyrus-imapd server. > > But, a few basic suggestions come to mind: Check > your harddrive(s) to > make sure they aren't failing (check dmesg, run > 'smartctl -a hdx', > etc.). When disks fail, they tend to get really, > really slow. > > Check to make sure you drives aren't full ('df'). > > Lastly, you might check to see if there's a specific > process slowing > things down (netstat, top, etc.). > > Good luck! > > > Phil > > Nick Fisher wrote: > > Hello! > > My Cyrus imapd installation suddenly slowed to a > crawl > > and stopped yesterday. As of now I can > authenticate > > (very quick and responsive) but I cannot do > anything > > after that. Very occasionally I can do a select > and > > retrieve a message but it take a *VERY* LONG time. > I > > have tested this with multiple clients and it's > > without a doubt a server problem. > > This is totally out of character for my Cyrus > install, > > it's always been very fast and stable. Nothing > much > > has changed on the server recently. Yesterday when > > this problem started I had a problem with a bunch > of > > unkillable processes (mostly rsync). I ended up > having > > to power cycle the machine and everything is back > to > > normal except Cyrus. > > I have combed through the Cyrus logs but I can't > find > > any errors, Cyrus appears to be perfectly happy. > > > > I am running Cyrus 2.2.12 on a gentoo system. > > I have no idea where to start troubleshooting this > > problem, mostly because I cant figure out what it > is. > > Any advice, pointers or links would be most > > appreciated. If there are any logs or additional > > information that would help, Im happy to supply > them. > > > > Many thanks > > > > Nick > > > > > > > > > > > ___ > > > How much free photo storage do you get? Store your > holiday > > snaps for FREE with Yahoo! Photos > http://uk.photos.yahoo.com > > --- > > Cyrus Home Page: http://asg.web.cmu.edu/cyrus > > Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu > > List Archives/Info: > http://asg.web.cmu.edu/cyrus/mailing-list.html > > > ___ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Please help: Can auth but can't select
Hello! My Cyrus imapd installation suddenly slowed to a crawl and stopped yesterday. As of now I can authenticate (very quick and responsive) but I cannot do anything after that. Very occasionally I can do a select and retrieve a message but it take a *VERY* LONG time. I have tested this with multiple clients and it's without a doubt a server problem. This is totally out of character for my Cyrus install, it's always been very fast and stable. Nothing much has changed on the server recently. Yesterday when this problem started I had a problem with a bunch of unkillable processes (mostly rsync). I ended up having to power cycle the machine and everything is back to normal except Cyrus. I have combed through the Cyrus logs but I can't find any errors, Cyrus appears to be perfectly happy. I am running Cyrus 2.2.12 on a gentoo system. I have no idea where to start troubleshooting this problem, mostly because I cant figure out what it is. Any advice, pointers or links would be most appreciated. If there are any logs or additional information that would help, Im happy to supply them. Many thanks Nick ___ How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
cyradm fails to see users when going virtual- please help
POSTED BEFORE- NO REPLIES I am implementing the Postfix-Cyrus-Web-Cyradm-howto http://www.delouw.ch/linux/Postfix-Cyrus-Web-cyradm-HOWTO/html/ Along with special instructions for FC3 http://www.totalinfosecurity.com/howto/t1.html With cheeto's FQUN patch My problem is by enabling virtual users, email is being stored in a different fashion (as expected) however- cyradm can no longer see the mailboxes when logging in as admin cyrus defined in imapd.conf. Since I cannot see the mailboxes I cannot delete them, thereby risking to fill up significant hard drive space as time goes on. Here is an example mail directory for my user mike on my test server mail.miketry.com: [root at mail ~]# cd /var/spool/imap/domain/m/miketry.com/m/user/mike/ [root at mail mike]# ls cyrus.cache cyrus.header cyrus.index and here's my imapd.conf: postmaster: postmaster configdirectory: /var/lib/imap partition-default: /var/spool/imap admins: cyrus sievedir: /var/lib/imap/sieve sendmail: /usr/sbin/sendmail hashimapspool: true sasl_pwcheck_method: auxprop sasl_auxprop_plugin: sql sasl_mech_list: PLAIN LOGIN sasl_sql_engine: mysql sasl_sql_user: mail sasl_sql_passwd: secret sasl_sql_hostnames: localhost sasl_sql_database: mail sasl_sql_select: SELECT password FROM accountuser WHERE username = '[EMAIL PROTECTED]'OR (us ername = '%u' AND domain_name = '') tls_cert_file: /usr/share/ssl/certs/cyrus-imapd.pem tls_key_file: /usr/share/ssl/certs/cyrus-imapd.pem tls_ca_file: /usr/share/ssl/certs/ca-bundle.crt allowanonymouslogin: no allowplaintext: yes servername: mail.miketry.com autocreatequota: 1 reject8bit: no quotawarn: 90 quotawarn: 90 timeout: 30 poptimeout: 10 dracinterval: 0 drachost: localhost sieve_maxscriptsize: 32 sieve_maxscripts: 5 virtdomains: yes #defaultdomain: miketry.com and here's the result when logging in to cyradm as cyrus and attempting to display mailboxes: [root at mail mike]# cyradm --user cyrus --server localhost --auth plain Password: IMAP Password: localhost.localdomain> lm INBOX (\HasNoChildren) and that is all that is displayed. Is there a configuration error that I am missing that is disabling cyradm from viewing mailboxes? -Amin --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: [Fwd: Sieve problem] Please help
> > > > Hi All, > I have problem with running sieve scripts. I use Cyrus 2.0.16, cyrus.conf > is normal.conf. imapd.conf contains: > > configdirectory: /var/imap > partition-default: /var/spool/imap > sieveusehomedir: false > sievedir: /usr/sieve > admins: adm > sasl_pwcheck_method: PAM > sendmail: /usr/sbin/sendmail > lmtpsocket: /var/imap/socket/lmtp > > fatemeh.script is in /usr/sieve/f/fatemeh_m/ using sieveshell command and > contains: > > require ["reject","fileinto"]; > > if address :is :all "From" "[EMAIL PROTECTED]" > { > reject "testing"; > } > > > Output of sieve test program seems to be OK : > > /usr/local/src/cyrus-imapd-2.0.16/sieve/test \ > /var/spool/imap/user/fatemeh_m/13857. \ > /usr/sieve/f/fatemeh_m/fatemeh.script > > rejecting message '/var/spool/imap/user/fatemeh_m/13857.' with 'testing' > notify msg = 'You have new mail > > To: [EMAIL PROTECTED] > From: Fatemeh Taj <[EMAIL PROTECTED]> > Subject: SIEVE > > Action(s) taken: > Rejected with: testing > ' with priority = medium > > But no action is taken. What could be my problem? Any help is appriciated. I don't know whats wrong here. But, does your /usr/sbin/sendmail exist and work as expected? You have it configured in imapd.conf but maybe it's not correct. > > Also I have another problem when get emails via webmail (squirrelmail). > > 1) Sometimes after retrieving emails cyrus can not recognize my folders > and just Trash, Drafts and Sent folder are available and the cyrus.sub > file in /var/imap/user/f is dissappeared then I have to create that file > by hand, remove cyrus.seen and then reconstruct the mailbox. > > 2) In other case Trash folders get dissapeared and I have to re-create > Trash folder. > > It happens for many of my clients. What can I do to solve the problem? Hm, since you're always talking about files in /var/xxx, I guess you have touched them in a way which is not good for cyrus. I suggest you check all file and directory permissions of cyrus, check you mailboxes db and then use reconstruct to fix your mail spool. Simon > > > > Regards > Fatemeh Taj > > > > > > > --- > Cyrus Home Page: http://asg.web.cmu.edu/cyrus > Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu > List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html > > > > --- > Cyrus Home Page: http://asg.web.cmu.edu/cyrus > Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu > List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html > > --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
[Fwd: Sieve problem] Please help
Hi All, I have problem with running sieve scripts. I use Cyrus 2.0.16, cyrus.conf is normal.conf. imapd.conf contains: configdirectory: /var/imap partition-default: /var/spool/imap sieveusehomedir: false sievedir: /usr/sieve admins: adm sasl_pwcheck_method: PAM sendmail: /usr/sbin/sendmail lmtpsocket: /var/imap/socket/lmtp fatemeh.script is in /usr/sieve/f/fatemeh_m/ using sieveshell command and contains: require ["reject","fileinto"]; if address :is :all "From" "[EMAIL PROTECTED]" { reject "testing"; } Output of sieve test program seems to be OK : /usr/local/src/cyrus-imapd-2.0.16/sieve/test \ /var/spool/imap/user/fatemeh_m/13857. \ /usr/sieve/f/fatemeh_m/fatemeh.script rejecting message '/var/spool/imap/user/fatemeh_m/13857.' with 'testing' notify msg = 'You have new mail To: [EMAIL PROTECTED] From: Fatemeh Taj <[EMAIL PROTECTED]> Subject: SIEVE Action(s) taken: Rejected with: testing ' with priority = medium But no action is taken. What could be my problem? Any help is appriciated. Also I have another problem when get emails via webmail (squirrelmail). 1) Sometimes after retrieving emails cyrus can not recognize my folders and just Trash, Drafts and Sent folder are available and the cyrus.sub file in /var/imap/user/f is dissappeared then I have to create that file by hand, remove cyrus.seen and then reconstruct the mailbox. 2) In other case Trash folders get dissapeared and I have to re-create Trash folder. It happens for many of my clients. What can I do to solve the problem? Regards Fatemeh Taj --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
NTLM with Outlook 2002 - Please help
Hi, With NTLM enabled in cyrus, I still can't get Outlook mail client authenticate with cyrus. The error is: Nov 2 12:56:23 at pop3[61182]: no secret in database Nov 2 12:56:26 at pop3[61182]: badlogin: [192.168.4.235] NTLM user not found I m sure the use id is in the sasldb2 file, because I can use Mozilla login cyrus with the same user id. I use cyrus-imapd 2.2 with sasl2. Mail client is Outlook 2002 with SPA check-box checked. Does anyone have any suggestion about this issue? Thanks sam --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: PLEASE HELP - cyrusdb errors after power failure
Thanks Simon. I did upgrade to 2.2.8 later in the day. I think our problems may have had a basis in the 2.2.5 version we were running, but I also think the power outage and filesystem errors also played a big role. For those who would like to know, most of the IOERRORs I was getting were tracked down to corrupted quota files (quotalegacy format). Either cyrus or the power failure caused a bunch to be truncated so that the second line in the quota file didn't include the end-of-line character or may have been empty. I simply removed those quota files and used a perl script I have to set the quota (similar to how cyradm does it) which recreated the file. I also ran into a weird issue where a "find" command or an "ls" command would say files weren't found or didn't exist, but using vi or similar, I could access them. There were IOERRORs in the imapd.log file about these missing files too, usually a message file. I found that on Sun Solaris 8 and 9, there is a patch that needs to be applied when a filesystem has lots of files, like a cyrus server. It has to do with DNLC which can't handle the large number of files unless the patch is applied or the workaround (turning off DNLC) is used. For those interested, the SunSolve SRDB article is 76085 and the patch (for Solaris 9) is 113073-13. -Shawn Simon Matter wrote: We recently had a power failure during a storm and the server required an fsck before it would mount up the file systems (eventhough I did have logging/journaling turned on). After running 2 fscks it seems clean, but there are issue with the cyrus files themselves. I had a problem with the mailboxes.db and the .seen files. I converted all these to "flat" using cvt_cyrusdb and back again to skiplist (I removed the originals before converting back). However, I'm still getting a lot of cyrusdb errors via the imap, pop3 and lmtpunix processes. I tried reconstructing those accounts with the errors but the problem returns in a short period of time. I notice that there is the cyrus.index.NEW and cyrus.cache.NEW files in the directory with their mail files. Running reconstruct removed them but they return with the next set of errors. So, it seems something else is causing the process to fail and leave the .NEW files around. I also tried removing the .NEW and the cyrus.cache and cyrus.index files totally before running a reconstruct, but that didn't seem to help. Any other suggestion on things to look at or try. We are running cyrus 2.2.5 (I know ... I should upgrade to 2.2.8) on I'm not sure but you may be hit now by the problem introduced after 2.2.3 which are all solved with 2.2.8. That's why I _strongly_ recommend to upgrade before you try anything else! Simon Solaris 9. Everything was working great before the power failure. Here's some of the error messages. Aug 13 10:46:05 cyrus pop3[6427]: [ID 237943 local6.notice] login: somewhereat.TCNJ.EDU [192.168.1.1] mary plaintext User logged in Aug 13 10:46:26 cyrus lmtpunix[25811]: [ID 335833 local6.error] DBERROR: error fetching user.mary: cyrusdb error Aug 13 10:46:26 cyrus lmtpunix[25811]: [ID 860734 local6.debug] verify_user(user.mary) failed: System I/O error Aug 13 10:47:46 cyrus imap[26412]: [ID 277583 local6.notice] login: mymail.TCNJ.EDU [192.168.100.1] kirk plaintext User logged in Aug 13 10:47:48 cyrus imap[26412]: [ID 335833 local6.error] DBERROR: error fetching user.kirk: cyrusdb error Aug 13 10:47:48 cyrus imap[26412]: [ID 677757 local6.debug] seen_db: user kirk opened /var/imap/user/k/kirk.seen Aug 13 10:47:48 cyrus imap[26412]: [ID 335833 local6.error] DBERROR: error fetching user.kirk: cyrusdb error Aug 13 10:47:48 cyrus imap[26412]: [ID 736213 local6.debug] open: user kirk opened INBOX Aug 13 10:47:48 cyrus imap[26412]: [ID 335833 local6.error] DBERROR: error fetching user.kirk: cyrusdb error Aug 13 10:47:48 cyrus imap[26412]: [ID 736213 local6.debug] open: user kirk opened INBOX Aug 13 10:47:48 cyrus imap[26412]: [ID 335833 local6.error] DBERROR: error fetching user.kirk: cyrusdb error Any help would be greatly appreciated! -Shawn Sivy The College of New Jersey --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: PLEASE HELP - cyrusdb errors after power failure
> We recently had a power failure during a storm and the server required > an fsck before it would mount up the file systems (eventhough I did have > logging/journaling turned on). After running 2 fscks it seems clean, > but there are issue with the cyrus files themselves. I had a problem > with the mailboxes.db and the .seen files. I converted all these to > "flat" using cvt_cyrusdb and back again to skiplist (I removed the > originals before converting back). However, I'm still getting a lot of > cyrusdb errors via the imap, pop3 and lmtpunix processes. I tried > reconstructing those accounts with the errors but the problem returns in > a short period of time. I notice that there is the cyrus.index.NEW and > cyrus.cache.NEW files in the directory with their mail files. Running > reconstruct removed them but they return with the next set of errors. > So, it seems something else is causing the process to fail and leave the > .NEW files around. I also tried removing the .NEW and the cyrus.cache > and cyrus.index files totally before running a reconstruct, but that > didn't seem to help. Any other suggestion on things to look at or try. > > We are running cyrus 2.2.5 (I know ... I should upgrade to 2.2.8) on I'm not sure but you may be hit now by the problem introduced after 2.2.3 which are all solved with 2.2.8. That's why I _strongly_ recommend to upgrade before you try anything else! Simon > Solaris 9. Everything was working great before the power failure. > Here's some of the error messages. > > Aug 13 10:46:05 cyrus pop3[6427]: [ID 237943 local6.notice] login: > somewhereat.TCNJ.EDU [192.168.1.1] mary plaintext User logged in > Aug 13 10:46:26 cyrus lmtpunix[25811]: [ID 335833 local6.error] DBERROR: > error fetching user.mary: cyrusdb error > Aug 13 10:46:26 cyrus lmtpunix[25811]: [ID 860734 local6.debug] > verify_user(user.mary) failed: System I/O error > > Aug 13 10:47:46 cyrus imap[26412]: [ID 277583 local6.notice] login: > mymail.TCNJ.EDU [192.168.100.1] kirk plaintext User logged in > Aug 13 10:47:48 cyrus imap[26412]: [ID 335833 local6.error] DBERROR: > error fetching user.kirk: cyrusdb error > Aug 13 10:47:48 cyrus imap[26412]: [ID 677757 local6.debug] seen_db: > user kirk opened /var/imap/user/k/kirk.seen > Aug 13 10:47:48 cyrus imap[26412]: [ID 335833 local6.error] DBERROR: > error fetching user.kirk: cyrusdb error > Aug 13 10:47:48 cyrus imap[26412]: [ID 736213 local6.debug] open: user > kirk opened INBOX > Aug 13 10:47:48 cyrus imap[26412]: [ID 335833 local6.error] DBERROR: > error fetching user.kirk: cyrusdb error > Aug 13 10:47:48 cyrus imap[26412]: [ID 736213 local6.debug] open: user > kirk opened INBOX > Aug 13 10:47:48 cyrus imap[26412]: [ID 335833 local6.error] DBERROR: > error fetching user.kirk: cyrusdb error > > Any help would be greatly appreciated! > > -Shawn Sivy >The College of New Jersey > > > --- > Cyrus Home Page: http://asg.web.cmu.edu/cyrus > Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu > List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html > > --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
PLEASE HELP - cyrusdb errors after power failure
We recently had a power failure during a storm and the server required an fsck before it would mount up the file systems (eventhough I did have logging/journaling turned on). After running 2 fscks it seems clean, but there are issue with the cyrus files themselves. I had a problem with the mailboxes.db and the .seen files. I converted all these to "flat" using cvt_cyrusdb and back again to skiplist (I removed the originals before converting back). However, I'm still getting a lot of cyrusdb errors via the imap, pop3 and lmtpunix processes. I tried reconstructing those accounts with the errors but the problem returns in a short period of time. I notice that there is the cyrus.index.NEW and cyrus.cache.NEW files in the directory with their mail files. Running reconstruct removed them but they return with the next set of errors. So, it seems something else is causing the process to fail and leave the .NEW files around. I also tried removing the .NEW and the cyrus.cache and cyrus.index files totally before running a reconstruct, but that didn't seem to help. Any other suggestion on things to look at or try. We are running cyrus 2.2.5 (I know ... I should upgrade to 2.2.8) on Solaris 9. Everything was working great before the power failure. Here's some of the error messages. Aug 13 10:46:05 cyrus pop3[6427]: [ID 237943 local6.notice] login: somewhereat.TCNJ.EDU [192.168.1.1] mary plaintext User logged in Aug 13 10:46:26 cyrus lmtpunix[25811]: [ID 335833 local6.error] DBERROR: error fetching user.mary: cyrusdb error Aug 13 10:46:26 cyrus lmtpunix[25811]: [ID 860734 local6.debug] verify_user(user.mary) failed: System I/O error Aug 13 10:47:46 cyrus imap[26412]: [ID 277583 local6.notice] login: mymail.TCNJ.EDU [192.168.100.1] kirk plaintext User logged in Aug 13 10:47:48 cyrus imap[26412]: [ID 335833 local6.error] DBERROR: error fetching user.kirk: cyrusdb error Aug 13 10:47:48 cyrus imap[26412]: [ID 677757 local6.debug] seen_db: user kirk opened /var/imap/user/k/kirk.seen Aug 13 10:47:48 cyrus imap[26412]: [ID 335833 local6.error] DBERROR: error fetching user.kirk: cyrusdb error Aug 13 10:47:48 cyrus imap[26412]: [ID 736213 local6.debug] open: user kirk opened INBOX Aug 13 10:47:48 cyrus imap[26412]: [ID 335833 local6.error] DBERROR: error fetching user.kirk: cyrusdb error Aug 13 10:47:48 cyrus imap[26412]: [ID 736213 local6.debug] open: user kirk opened INBOX Aug 13 10:47:48 cyrus imap[26412]: [ID 335833 local6.error] DBERROR: error fetching user.kirk: cyrusdb error Any help would be greatly appreciated! -Shawn Sivy The College of New Jersey --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Please help with Simon's Cyrus RPMS (2.2.8), SMP, and really slow performance
> Here are the bonnie results... Hm, this is bonnie 1.x, which is okay, but it has 2Gb filesize limit. Your big box has 2Gb of Ram, right? How big was your file size with bonnie? To make this test work, boot both boxes with mem=128M as kernel parameter so it will only use 128M of the memory. Then, run the bonnie with 'bonnie -s 1000' so the whole file will not fit in RAM! > This is the "beefy" machine > > ---Sequential Output ---Sequential Input-- > --Random-- > -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- > --Seeks--- > MachineMB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec > %CPU > 100 12991 100.0 105984 99.4 13171 8.2 15454 99.8 536628 99.6 > 480.1 2.5 > > > > This is the puny machine: > > > ---Sequential Output ---Sequential Input-- > --Random-- > -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- > --Seeks--- > MachineMB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec > %CPU > 100 6021 98.1 91309 25.9 4779 1.0 6176 99.5 1457838 99.7 > 50186.3 62.7 > > > > > > > >> Hm, you said SCSI Raid - that can mean alot. >> Could you run a good old bonnie on both boxes and compare the numbers? >> One thing that comes to mind when I hear such things is a system with >> disk write cache disabled. Now, if you have a raid controller without >> battery backed cache, your vendor will hopefully disable write cache on >> the controller and also disable WCE bit on the drives. That way it will >> perform very poorly but be as secure as possible. >> >> Simon >> > > --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Please help with Simon's Cyrus RPMS (2.2.8), SMP, and really slow performance
Here are the bonnie results... This is the "beefy" machine ---Sequential Output ---Sequential Input-- --Random-- -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks--- MachineMB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU 100 12991 100.0 105984 99.4 13171 8.2 15454 99.8 536628 99.6 480.1 2.5 This is the puny machine: ---Sequential Output ---Sequential Input-- --Random-- -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks--- MachineMB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU 100 6021 98.1 91309 25.9 4779 1.0 6176 99.5 1457838 99.7 50186.3 62.7 > Hm, you said SCSI Raid - that can mean alot. > Could you run a good old bonnie on both boxes and compare the numbers? > One thing that comes to mind when I hear such things is a system with > disk write cache disabled. Now, if you have a raid controller without > battery backed cache, your vendor will hopefully disable write cache on > the controller and also disable WCE bit on the drives. That way it will > perform very poorly but be as secure as possible. > > Simon > --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Please help with Simon's Cyrus RPMS (2.2.8), SMP, and really slow performance
> Today, we upgraded the machine to the latest redhat ES 3.0 > with kernel Linux 2.4.21-15.ELsmp -- no luck... imtest -z still took 19 > seconds to run... compared to 2-3 seconds on the cheapie machine. Hm, you said SCSI Raid - that can mean alot. Could you run a good old bonnie on both boxes and compare the numbers? One thing that comes to mind when I hear such things is a system with disk write cache disabled. Now, if you have a raid controller without battery backed cache, your vendor will hopefully disable write cache on the controller and also disable WCE bit on the drives. That way it will perform very poorly but be as secure as possible. Simon > > I generated the traces requested, but I'm not really sure what I'm looking > for... Mostly because I don't have any idea what to compare it to... > > It generates a ton of output, so instead of putting them in this message, > or attaching them, here are the urls > > http://mgrommet.dyndns.org/~mgrommet/traces/ltrace.txt > > http://mgrommet.dyndns.org/~mgrommet/traces/strace.txt > > If anyone has time, I'd appreciate any pointers in the right direction... > > >> I suggest you run cyrus-imapd with >> strace -f -tt /usr/lib/cyrus-imapd/cyrus-master >> ot >> ltrace -f -tt /usr/lib/cyrus-imapd/cyrus-master >> and try to find out what and where it's going slow. >> >> Simon > > --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Please help with Simon's Cyrus RPMS (2.2.8), SMP, and really slow performance
Today, we upgraded the machine to the latest redhat ES 3.0 with kernel Linux 2.4.21-15.ELsmp -- no luck... imtest -z still took 19 seconds to run... compared to 2-3 seconds on the cheapie machine. I generated the traces requested, but I'm not really sure what I'm looking for... Mostly because I don't have any idea what to compare it to... It generates a ton of output, so instead of putting them in this message, or attaching them, here are the urls http://mgrommet.dyndns.org/~mgrommet/traces/ltrace.txt http://mgrommet.dyndns.org/~mgrommet/traces/strace.txt If anyone has time, I'd appreciate any pointers in the right direction... > I suggest you run cyrus-imapd with > strace -f -tt /usr/lib/cyrus-imapd/cyrus-master > ot > ltrace -f -tt /usr/lib/cyrus-imapd/cyrus-master > and try to find out what and where it's going slow. > > Simon --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Please help with Simon's Cyrus RPMS (2.2.8), SMP, and really slow performance
> On Sat, 2004-07-31 at 23:33, [EMAIL PROTECTED] wrote: > >> Does this information help? What other info can I provide? > > Yep. Can you please run 'vmstat 1' while the test is running, and > redirect the output to a file? vmstat can help spot all sorts of issues. > > Also, what filesystem and disks are you using on your big box? Is it > sitting on a RAID 5 array - perhaps an ATA RAID array? > > -- > Craig Ringer The filesystem is using ext3, on SCSI raid 5... Below is the vmstat 1 output you requested: --- procs memory swap io system cpu r b swpd free buff cache si sobibo incs us sy id wa 0 0 0 20668 169448 55251600 415 5312 0 0 99 1 0 0 0 20668 169448 55251600 0 0 10317 0 0 100 0 0 0 0 20668 169448 55251600 0 0 10114 0 0 100 0 0 3 0 20668 169448 55251600 0 212 160 154 0 0 89 10 0 2 0 20668 169448 55253200 0 604 262 277 0 1 49 50 0 2 0 20668 169448 55275200 0 840 326 300 0 0 50 49 0 2 0 20852 169448 55252000 0 2292 284 426 4 2 52 42 0 2 0 20856 169448 55256000 0 676 281 281 0 2 49 50 0 2 0 20228 169448 55471200 0 2568 346 209 4 2 49 45 0 2 0 21276 169448 55253600 0 640 275 165 0 0 50 50 0 2 0 21276 169448 55256800 0 608 274 243 0 1 52 47 1 2 0 19964 169448 55471600 0 2496 337 185 5 2 47 46 0 2 0 21276 169448 55254400 0 692 287 247 0 0 50 50 0 2 0 21260 169448 55276400 0 844 317 257 0 1 51 48 0 2 0 21264 169448 55253600 0 2380 306 194 4 2 48 46 0 2 0 21264 169448 55257600 0 668 285 262 0 1 51 48 0 2 0 19940 169448 55472800 0 2500 333 192 4 2 48 46 0 2 0 21264 169448 55255600 0 636 271 229 0 1 50 49 0 2 0 21252 169448 55277600 0 848 330 261 0 1 50 49 0 2 0 19924 169448 55473600 0 2368 292 196 4 2 48 46 0 2 0 21260 169452 55258400 0 696 291 259 0 1 50 48 procs memory swap io system cpu r b swpd free buff cache si sobibo incs us sy id wa 0 2 0 19916 169452 55474000 0 2596 352 217 4 2 48 46 0 2 0 21252 169452 55256800 0 624 277 203 0 0 50 49 0 2 0 21236 169452 55278800 0 832 328 248 0 2 50 48 0 2 0 19900 169452 55474400 0 2348 292 192 4 1 48 47 0 2 0 21248 169452 55257600 0 652 279 226 0 2 50 48 0 2 0 19868 169452 55474800 0 2748 315 241 4 3 50 43 0 2 0 21240 169452 55256800 0 500 312 158 0 0 50 49 0 2 0 21240 169456 55260000 0 604 269 243 0 0 52 48 0 2 0 19916 169456 55475200 0 2604 349 168 3 4 47 46 0 0 0 21248 169460 55256000 0 304 196 126 0 1 74 25 0 0 0 21248 169460 55256000 0 0 10116 0 0 100 0 0 0 0 21248 169460 55256000 0 0 10112 0 0 100 0 0 0 0 21248 169460 55256000 0 0 10120 0 0 100 0 0 0 0 21248 169460 55256000 0 100 12623 0 0 97 3 0 0 0 21248 169460 55256000 0 0 10116 0 0 100 0 0 0 0 21248 169460 55256000 0 0 10112 0 0 100 0 0 0 0 21248 169460 55256000 0 0 10118 0 0 100 0 0 0 0 21248 169460 55256000 0 0 10116 0 0 100 0 0 0 0 21248 169460 55256000 028 10827 0 0 98 2 --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Please help with Simon's Cyrus RPMS (2.2.8), SMP, and really slow performance
> I'm really stumped here. > > I have two seperate machines... one very high end, dual CPU machine, raid > 5, etc, the other is a piece of crud (standard low end workstation). > > Both machines are running Redhat Enterprise Server 3... > the SMP machine is running the redhat 2.4.21-4.ELsmp stock kernel... > the cheapie machine is running he redhat 2.4.21-4.EL stock kernel... I'm testing the rpm build on RedHat 6.2, 7.2, 7.3, 9 and FC1 and FC2. I'm running production servers on RedHat 6.2, 7.2, 7.3, 9 and FC1. I'm running the servers on everything from small cheapy hardware with IDE softraid on ext3 and XFS up to quite big irons with 8Gb of memory and lots of SCSI and FC storage. Finally, I have never seen a performance problem like the one you describe. I suggest you run cyrus-imapd with strace -f -tt /usr/lib/cyrus-imapd/cyrus-master ot ltrace -f -tt /usr/lib/cyrus-imapd/cyrus-master and try to find out what and where it's going slow. Simon --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Please help with Simon's Cyrus RPMS (2.2.8), SMP, and really slow performance
On Sat, 2004-07-31 at 23:33, [EMAIL PROTECTED] wrote: > Does this information help? What other info can I provide? Yep. Can you please run 'vmstat 1' while the test is running, and redirect the output to a file? vmstat can help spot all sorts of issues. Also, what filesystem and disks are you using on your big box? Is it sitting on a RAID 5 array - perhaps an ATA RAID array? -- Craig Ringer --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Please help with Simon's Cyrus RPMS (2.2.8), SMP, and really slow performance
On Sat, 2004-07-31 at 02:20, [EMAIL PROTECTED] wrote: > I'm really stumped here. > > I have two seperate machines... one very high end, dual CPU machine, raid > 5, etc, the other is a piece of crud (standard low end workstation). > > Both machines are running Redhat Enterprise Server 3... > the SMP machine is running the redhat 2.4.21-4.ELsmp stock kernel... > the cheapie machine is running he redhat 2.4.21-4.EL stock kernel... > You are a bit behind on errata updates. The current kernel for RHEL 3.0 is 2.4.21-15.0.3.EL. I'd suggest bringing the system up to date before looking into the speed difference, if it still exists. -- The instructions said to use Windows 98 or better, so I installed RedHat. --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Please help with Simon's Cyrus RPMS (2.2.8), SMP, and really slow performance
> More recent kernel versions have improved memory management and I > wouldn't have expected RH ES 3.0 to be affected. What does top tell > you? Does the load get high? How much CPU time do the kernel tasks use > up? > -- Top shows zero load on the machine (its just sitting there running cyrus, its not even hooked up to sendmail yet). Memory usage on beefy machine (from top): Mem: 1028484k av, 1004088k used, 24396k free, 0k shrd, 167496k buff432436k actv 9108k in_d 16640k in_c Swap: 2096472k av, 0k used, 2096472k free 555096k cached Memory usage on cruddy machine: Mem: 642776k av, 619512k used, 23264k free, 0k shrd, 155808k buff 471552k actv, 0k in_d, k in_c Swap: 2096472k av, 837572k used, 1258900k free 254812k cached Does this information help? What other info can I provide? --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Please help with Simon's Cyrus RPMS (2.2.8), SMP, and really slow performance
Hi, -- [EMAIL PROTECTED] is rumored to have mumbled on Samstag, 31. Juli 2004 3:20 Uhr -0400 regarding Please help with Simon's Cyrus RPMS (2.2.8), SMP, and really slow performance: I have two seperate machines... one very high end, dual CPU machine, raid 5, etc, the other is a piece of crud (standard low end workstation). Both machines are running Redhat Enterprise Server 3... the SMP machine is running the redhat 2.4.21-4.ELsmp stock kernel... the cheapie machine is running he redhat 2.4.21-4.EL stock kernel... On the cheap machine, performance is blazingly fast... an imtest generates a full test in 2-3 seconds. On the SMP machine, performance is horrendous... taking ~27 seconds to generate the same test results. I've actually had the same problem on 2 completely different SMP machines running ES 3 It should be noticed that cyrus works 100%, just slowly. This same machine ran 2.0.16 very quickly for 2 years. I'm really hoping that someone has seen this problem, or can give me some ideas what to try, or what to look for. Are there any known problems with cyrus on SMP machines? RedHat ES? all I can think of is that we've had problems with RedHat AS 2.1 on machines with 8 GB of RAM. It happened quite often that the cache grew too large and then everything was very slow. A workaround for that was to cause the memory manager to flush the cache by allocating a lot of memory in a small program written for that purpose. More recent kernel versions have improved memory management and I wouldn't have expected RH ES 3.0 to be affected. What does top tell you? Does the load get high? How much CPU time do the kernel tasks use up? -- Sebastian Hagedorn M.A. - RZKR-R1 (Flachbau), Zi. 18, Robert-Koch-Str. 10 Zentrum für angewandte Informatik - Universitätsweiter Service RRZK Universität zu Köln / Cologne University - Tel. +49-221-478-5587 pgpwxtIEeX3Zx.pgp Description: PGP signature
Please help with Simon's Cyrus RPMS (2.2.8), SMP, and really slow performance
I'm really stumped here. I have two seperate machines... one very high end, dual CPU machine, raid 5, etc, the other is a piece of crud (standard low end workstation). Both machines are running Redhat Enterprise Server 3... the SMP machine is running the redhat 2.4.21-4.ELsmp stock kernel... the cheapie machine is running he redhat 2.4.21-4.EL stock kernel... On the cheap machine, performance is blazingly fast... an imtest generates a full test in 2-3 seconds. On the SMP machine, performance is horrendous... taking ~27 seconds to generate the same test results. I've actually had the same problem on 2 completely different SMP machines running ES 3 It should be noticed that cyrus works 100%, just slowly. This same machine ran 2.0.16 very quickly for 2 years. I'm really hoping that someone has seen this problem, or can give me some ideas what to try, or what to look for. Are there any known problems with cyrus on SMP machines? RedHat ES? --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Please Help Me Fix My Goofy Problem
Java Rockx wrote: I see that. I'm using perl-Mail-IMAPClient-2.1.4-1 Latest version on CPAN is 2.2.9 You could install that and see if it helps? Paul. --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Please Help Me Fix My Goofy Problem
Hi again, You have several, possibly related, error messages here. As far as I can see, Cyrus is returning an error in response to an Append operation that the imapsync tool is attempting. You're also getting errors from the Perl interpreter itself - It sounds like either imapsync, or perhaps the Perl module Mail::IMAPClient on which it depends, is transmitting malformed IMAP commands. What version of Mail::IMAPSync are you using? Paul. Java Rockx wrote: Paul, Thank You!! When I did the imapsync I did not include the --syncinternaldate option. Anyhow, when I include that option I get the following messages returned from imapsync and messages are not actually transferred. Any clues? Paul + Copying msg #1332:2501 to folder INBOX.INBOX flags from : [\Seen]["29-Apr-2004 16:17:32 -0400" UID 1332) 4298 OK FETCH completed. "] Error trying to append string: 539 BAD Missing required argument to Append command at /opt/software/imapsync-1.96/imapsync line 708 subject is all lower-case. May conflict with future methods. Change method name to be mixed case or all upper case to ensure upward compatability at /opt/software/imapsync-1.96/imapsync line 709 Use of uninitialized value in concatenation (.) or string at /opt/software/imapsync-1.96/imapsync line 709. Couldn't append msg #1332 (Subject:[]) to folder INBOX.INBOX: Error trying to append string: 539 BAD Missing required argument to Append command --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Please Help Me Fix My Goofy Problem
I see that. I'm using perl-Mail-IMAPClient-2.1.4-1 --- Paul Gargan <[EMAIL PROTECTED]> wrote: > Hi again, > > You have several, possibly related, error messages here. > > As far as I can see, Cyrus is returning an error in response to an > Append operation that the imapsync tool is attempting. > > You're also getting errors from the Perl interpreter itself - > > It sounds like either imapsync, or perhaps the Perl module > Mail::IMAPClient on which it depends, is transmitting malformed IMAP > commands. > > What version of Mail::IMAPSync are you using? > > Paul. > > Java Rockx wrote: > > Paul, > > > > Thank You!! When I did the imapsync I did not include the > --syncinternaldate > > option. > > > > Anyhow, when I include that option I get the following messages returned > from > > imapsync and messages are not actually transferred. > > > > Any clues? > > Paul > > > > + Copying msg #1332:2501 to folder INBOX.INBOX > > flags from : [\Seen]["29-Apr-2004 16:17:32 -0400" UID 1332) > > 4298 OK FETCH completed. > > "] > > Error trying to append string: 539 BAD Missing required argument to Append > > command > > at /opt/software/imapsync-1.96/imapsync line 708 > > subject is all lower-case. May conflict with future methods. Change method > name > > to be mixed case or all upper case to ensure upward compatability at > > /opt/software/imapsync-1.96/imapsync line 709 > > Use of uninitialized value in concatenation (.) or string at > > /opt/software/imapsync-1.96/imapsync line 709. > > Couldn't append msg #1332 (Subject:[]) to folder INBOX.INBOX: Error trying > to > > append string: 539 BAD Missing required argument to Append command > __ Do you Yahoo!? Vote for the stars of Yahoo!'s next ad campaign! http://advision.webevents.yahoo.com/yahoo/votelifeengine/ --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Please Help Me Fix My Goofy Problem
Paul, Thank You!! When I did the imapsync I did not include the --syncinternaldate option. Anyhow, when I include that option I get the following messages returned from imapsync and messages are not actually transferred. Any clues? Paul + Copying msg #1332:2501 to folder INBOX.INBOX flags from : [\Seen]["29-Apr-2004 16:17:32 -0400" UID 1332) 4298 OK FETCH completed. "] Error trying to append string: 539 BAD Missing required argument to Append command at /opt/software/imapsync-1.96/imapsync line 708 subject is all lower-case. May conflict with future methods. Change method name to be mixed case or all upper case to ensure upward compatability at /opt/software/imapsync-1.96/imapsync line 709 Use of uninitialized value in concatenation (.) or string at /opt/software/imapsync-1.96/imapsync line 709. Couldn't append msg #1332 (Subject:[]) to folder INBOX.INBOX: Error trying to append string: 539 BAD Missing required argument to Append command --- Paul Gargan <[EMAIL PROTECTED]> wrote: > Java Rockx wrote: > > It does not work when using Outlook or Outlook > > Express. When using either of these mail clients, the > > "recieved date" never seems to match the message > > headers, but rather shows when the actual mail message > > was migrated. > > Hi, > > We had a similar problem (same sync tool, same issue) at our site recently. > > Outlook apparantly displays the "Received" date, which in turn is > calculated by the IMAP server based on when the mail arrived. > Thus all mails moved during your sync appear to be only recently > arrived, and thus there received dates are messed up. > > You have two options. > > One is to change Outlook to dsplay the "Sent" field, and sort by this > date. Unfortunately, you have to do it for every folder view, and the > Sent columns will initially be null until you force Outlook to > redownload all the message headers. > > An easier option is to re-run the sync, but ask imapsync to preserve > Received ("internal") dates via the --syncinternaldates command line switch. > > Hope this helps. > Paul. > --- > Cyrus Home Page: http://asg.web.cmu.edu/cyrus > Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu > List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html > __ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. http://promotions.yahoo.com/new_mail --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Please Help Me Fix My Goofy Problem
Java Rockx wrote: It does not work when using Outlook or Outlook Express. When using either of these mail clients, the "recieved date" never seems to match the message headers, but rather shows when the actual mail message was migrated. Hi, We had a similar problem (same sync tool, same issue) at our site recently. Outlook apparantly displays the "Received" date, which in turn is calculated by the IMAP server based on when the mail arrived. Thus all mails moved during your sync appear to be only recently arrived, and thus there received dates are messed up. You have two options. One is to change Outlook to dsplay the "Sent" field, and sort by this date. Unfortunately, you have to do it for every folder view, and the Sent columns will initially be null until you force Outlook to redownload all the message headers. An easier option is to re-run the sync, but ask imapsync to preserve Received ("internal") dates via the --syncinternaldates command line switch. Hope this helps. Paul. --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Please Help Me Fix My Goofy Problem
Hello All. I have a goofy problem I cannot seem to fix. I was tasked with migrating all mail from an MS Exchange 5.5 server to Postfix. I am using SuSE Linux OpenExchange Server 4.1 which is running Postfix 1.1.12-34. Cyrus-imapd-2.1.9-92 is also used for IMAP. To actually perform the migration I used imapsync from http://www.linux-france.org/prj/ All worked well. Status indicators such as read, unread, forwareded, etc were all maintained. Attachments migrated successfully as well. Here is my problem. The received date does not always display correctly, even though it seems to be correct in the message headers. When using a web mail client such as Cyrus, the "Received Date" is always correct when looking at either a mailbox's inbox, or when actually viewing the message detail. This also works correctly when using a mail client such as Mozilla Mail or Thunderbird on Windoz or Linux. It does not work when using Outlook or Outlook Express. When using either of these mail clients, the "recieved date" never seems to match the message headers, but rather shows when the actual mail message was migrated. Here is an example. Note, I put bogus user/domain names in the example. According to the message headers, the Received Date should be 5/13/04 12:40PM not 7/18/04 which is when the message was migrated. If I double click the message in Outlook or Outlook Express it shows the correct date as "Sent Date". Please Help. Paul Outlook Express Inbox Item shows: >From Subject Received Size -- Joe Bow RE: Sun 7/18/2004 3:02 PM76KB But the message header is as follows: Received: from richexch03.from-company.com (exchange01.from-company.com [255.255.255.255]) by exmail.to-company.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id KLQTWWLS; Thu, 13 May 2004 12:29:36 -0400 Received: by richexch03.from-company.com with Internet Mail Service (5.5.2657.72) id ; Thu, 13 May 2004 12:41:59 -0400 Message-ID: <[EMAIL PROTECTED]> From: "Blow, Joe" <[EMAIL PROTECTED]> To: 'Jane Doe' <[EMAIL PROTECTED]> Subject:RE: Date: Thu, 13 May 2004 12:40:03 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: multipart/alternative; boundary="_=_NextPart_001_01C43908.F0FE0F40" __ Do you Yahoo!? Vote for the stars of Yahoo!'s next ad campaign! http://advision.webevents.yahoo.com/yahoo/votelifeengine/ --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Cyrus-Imapd SERIOUS problem Please HELP
Well thank you very Much Tony. Good point. It did work :D Now i have another problem. I need my passwords to be somehow encrypted in the back end MySql. As far as i know pam-mysql doesnt support CRAM-MD5 encryption, so the only encryption that i could have is the encryption that i can get is the encrypt() function of Mysql ? If you know know some others please inform me. Secondly, cyrus creates the directories using only the username, but i need to be created like [EMAIL PROTECTED]/ The only thing that i tried to do is to use the virtdomains: userid in imapd.conf but again it didnt work. I want all the users to enter their full email address as it is stored in Mysql and moreover cyrus to create their directory using the username i.e [EMAIL PROTECTED]/ Any ideas ? Thank you in advance :) --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Cyrus-Imapd SERIOUS problem Please HELP
> Well i have set up a postfix mailserver with cyrus sasl for smtp auth , cyrus > imapd as the IMAP with Mysql as a back-end. Authentication is being done with > pam-mysql > I have a strange problem. When you enter a valid username you can login with > ANY password, the IMAP responds .. OK User Loged in. > > i tried Almost ALL the how-to that exist but i couldnt find anything. so my > last chance is to post here my config files and tell me IF there is a chance > of fix that thing. Sorry for my big log but i am desperate . > > in order NOT to make a HUGE link i will post the config files in links so you > just click the link and you see the config > > postfix main.cf -> www.nightwish.gr/postfix/main.cf > cyrus -> www.nightwish.gr/postfix/cyrus.conf > cyrus-imapd -> www.nightwish.gr/postfix/imapd.conf > > mysql virtual files of postfix > www.nightwish.gr/postfix/mysql_virtual_alias_maps.cf > www.nightwish.gr/postfix/mysql_virtual_domains_maps.cf > www.nightwish.gr/postfix/mysql_virtual_mailbox_maps.cf > > the files of pam.d > www.nightwish.gr/postfix/imap > www.nightwish.gr/postfix/smtp In your pam.d files for imap & smtp. Change the following: auth sufficient pam_mysql.so to auth required pam_mysql.so > > and finaly the cyrus-sasl file > www.nightwish.gr/postfix/smtpd.conf > > and finaly see the output from the /var/log/messages > > Jul 14 21:29:56 verniki imap[38653]: mysql plugin couldnt connect to any host > Jul 14 21:29:56 verniki imap[38653]: mysql plugin couldnt connect to any host > Jul 14 21:29:56 verniki saslauthd[545]: pam_sm_authenticate called. > Jul 14 21:29:56 verniki saslauthd[545]: dbuser changed. > Jul 14 21:29:56 verniki saslauthd[545]: dbpasswd changed. > Jul 14 21:29:56 verniki saslauthd[545]: host changed. > Jul 14 21:29:56 verniki saslauthd[545]: database changed. > Jul 14 21:29:56 verniki saslauthd[545]: table changed. > Jul 14 21:29:56 verniki saslauthd[545]: usercolumn changed. > Jul 14 21:29:56 verniki saslauthd[545]: passwdcolumn changed. > Jul 14 21:29:56 verniki saslauthd[545]: crypt changed. > Jul 14 21:29:56 verniki saslauthd[545]: sqllog changed. > Jul 14 21:29:56 verniki saslauthd[545]: db_connect called. > Jul 14 21:29:56 verniki saslauthd[545]: returning 0 . > Jul 14 21:29:56 verniki saslauthd[545]: db_checkpasswd called. > Jul 14 21:29:56 verniki saslauthd[545]: pam_mysql: where clause = > Jul 14 21:29:56 verniki saslauthd[545]: SELECT password FROM mailbox WHERE > username='koko' > Jul 14 21:29:56 verniki saslauthd[545]: pam_mysql: select returned more than > one result > Jul 14 21:29:56 verniki saslauthd[545]: returning 9 after db_checkpasswd. > > Please help :s > Thank you in advance > > --- > Cyrus Home Page: http://asg.web.cmu.edu/cyrus > Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu > List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html > --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Cyrus-Imapd SERIOUS problem Please HELP
> Well i have set up a postfix mailserver with cyrus sasl for smtp auth , > cyrus imapd as the IMAP with Mysql as a back-end. Authentication is being > done with pam-mysql > I have a strange problem. When you enter a valid username you can login > with ANY password, the IMAP responds .. OK User Loged in. > > i tried Almost ALL the how-to that exist but i couldnt find anything. so > my last chance is to post here my config files and tell me IF there is a > chance of fix that thing. Sorry for my big log but i am desperate . > > in order NOT to make a HUGE link i will post the config files in links so > you just click the link and you see the config > > postfix main.cf -> www.nightwish.gr/postfix/main.cf > cyrus -> www.nightwish.gr/postfix/cyrus.conf > cyrus-imapd -> www.nightwish.gr/postfix/imapd.conf Seems you posted the wrong link, its http://nightwish.gr/postfix/ You should also tell the list which versions you are using. > > mysql virtual files of postfix > www.nightwish.gr/postfix/mysql_virtual_alias_maps.cf > www.nightwish.gr/postfix/mysql_virtual_domains_maps.cf > www.nightwish.gr/postfix/mysql_virtual_mailbox_maps.cf > > the files of pam.d > www.nightwish.gr/postfix/imap > www.nightwish.gr/postfix/smtp > > and finaly the cyrus-sasl file > www.nightwish.gr/postfix/smtpd.conf > > and finaly see the output from the /var/log/messages > > Jul 14 21:29:56 verniki imap[38653]: mysql plugin couldnt connect to any > host > Jul 14 21:29:56 verniki imap[38653]: mysql plugin couldnt connect to any > host > Jul 14 21:29:56 verniki saslauthd[545]: pam_sm_authenticate called. > Jul 14 21:29:56 verniki saslauthd[545]: dbuser changed. > Jul 14 21:29:56 verniki saslauthd[545]: dbpasswd changed. > Jul 14 21:29:56 verniki saslauthd[545]: host changed. > Jul 14 21:29:56 verniki saslauthd[545]: database changed. > Jul 14 21:29:56 verniki saslauthd[545]: table changed. > Jul 14 21:29:56 verniki saslauthd[545]: usercolumn changed. > Jul 14 21:29:56 verniki saslauthd[545]: passwdcolumn changed. > Jul 14 21:29:56 verniki saslauthd[545]: crypt changed. > Jul 14 21:29:56 verniki saslauthd[545]: sqllog changed. > Jul 14 21:29:56 verniki saslauthd[545]: db_connect called. > Jul 14 21:29:56 verniki saslauthd[545]: returning 0 . > Jul 14 21:29:56 verniki saslauthd[545]: db_checkpasswd called. > Jul 14 21:29:56 verniki saslauthd[545]: pam_mysql: where clause = > Jul 14 21:29:56 verniki saslauthd[545]: SELECT password FROM mailbox WHERE > username='koko' > Jul 14 21:29:56 verniki saslauthd[545]: pam_mysql: select returned more > than one result Without knowing much about pam_mysql, it seems that it doesn't like the results from the query. Are you sure your database entries are okay? Simon > Jul 14 21:29:56 verniki saslauthd[545]: returning 9 after db_checkpasswd. > > Please help :s > Thank you in advance > > --- > Cyrus Home Page: http://asg.web.cmu.edu/cyrus > Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu > List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html > > --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Cyrus-Imapd SERIOUS problem Please HELP
Well i have set up a postfix mailserver with cyrus sasl for smtp auth , cyrus imapd as the IMAP with Mysql as a back-end. Authentication is being done with pam-mysql I have a strange problem. When you enter a valid username you can login with ANY password, the IMAP responds .. OK User Loged in. i tried Almost ALL the how-to that exist but i couldnt find anything. so my last chance is to post here my config files and tell me IF there is a chance of fix that thing. Sorry for my big log but i am desperate . in order NOT to make a HUGE link i will post the config files in links so you just click the link and you see the config postfix main.cf -> www.nightwish.gr/postfix/main.cf cyrus -> www.nightwish.gr/postfix/cyrus.conf cyrus-imapd -> www.nightwish.gr/postfix/imapd.conf mysql virtual files of postfix www.nightwish.gr/postfix/mysql_virtual_alias_maps.cf www.nightwish.gr/postfix/mysql_virtual_domains_maps.cf www.nightwish.gr/postfix/mysql_virtual_mailbox_maps.cf the files of pam.d www.nightwish.gr/postfix/imap www.nightwish.gr/postfix/smtp and finaly the cyrus-sasl file www.nightwish.gr/postfix/smtpd.conf and finaly see the output from the /var/log/messages Jul 14 21:29:56 verniki imap[38653]: mysql plugin couldnt connect to any host Jul 14 21:29:56 verniki imap[38653]: mysql plugin couldnt connect to any host Jul 14 21:29:56 verniki saslauthd[545]: pam_sm_authenticate called. Jul 14 21:29:56 verniki saslauthd[545]: dbuser changed. Jul 14 21:29:56 verniki saslauthd[545]: dbpasswd changed. Jul 14 21:29:56 verniki saslauthd[545]: host changed. Jul 14 21:29:56 verniki saslauthd[545]: database changed. Jul 14 21:29:56 verniki saslauthd[545]: table changed. Jul 14 21:29:56 verniki saslauthd[545]: usercolumn changed. Jul 14 21:29:56 verniki saslauthd[545]: passwdcolumn changed. Jul 14 21:29:56 verniki saslauthd[545]: crypt changed. Jul 14 21:29:56 verniki saslauthd[545]: sqllog changed. Jul 14 21:29:56 verniki saslauthd[545]: db_connect called. Jul 14 21:29:56 verniki saslauthd[545]: returning 0 . Jul 14 21:29:56 verniki saslauthd[545]: db_checkpasswd called. Jul 14 21:29:56 verniki saslauthd[545]: pam_mysql: where clause = Jul 14 21:29:56 verniki saslauthd[545]: SELECT password FROM mailbox WHERE username='koko' Jul 14 21:29:56 verniki saslauthd[545]: pam_mysql: select returned more than one result Jul 14 21:29:56 verniki saslauthd[545]: returning 9 after db_checkpasswd. Please help :s Thank you in advance --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Please help, Perl Module problem.
I don't think you want or need to include the version or architecture in your path. And I think you want a space after the I. So try: x) exec perl -MCyrus::IMAP::Shell -I /usr/lib/perl5/site_perl -e shell -- ${1+"$@"} ;; And frankly, that path is already probably in your include path (try perl -V) You probably need to point to your cyrus installation instead. On my system, it's like this: x) exec perl -MCyrus::IMAP::Shell -I /opt/imapd/perl -e shell -- ${1+"$@"} ;; On Fri, May 28, 2004 at 11:00:27AM -0400, Kent L. Nasveschuk wrote: > This is what I added but I get the same db_version error :( > I have yet to get this to run, very frustrating. It obviously works > people use it. I'm so close on this... > > > case "x$BASH_VERSION" in > x) exec perl -MCyrus::IMAP::Shell > -I/usr/lib/perl5/site_perl/5.8.0/i486-linux -e shell -- ${1+"$@"} ;; > *) exec perl -MCyrus::IMAP::Shell > -I/usr/lib/perl5/site_perl/5.8.0/i486-linux -e shell -- "$@" ;; > esac > echo "$0: how did I get here?" >&2 > exit 1 > > > > On Fri, 2004-05-28 at 10:31, Andrew J Caird wrote: > > On Fri, 28 May 2004, Kent Nasveschuk wrote: > > > > > Hello, > > > You had a perl path problem back in April in cyradm (Cyrus IMAP) that it > > > seems many people had. I was just wondering if you solved it and exactly > > > what you did to solve it. I have Cyrus 2.2.4 installed and working on a > > > test machine with exception of cyradm. Any help would be appreciated, > > > I'm really beating my head against the wall on this one. > > > > Kent, > > If your problem is truely only a path problem, you might want to try > > what I do, which is adding: > > -I/usr/local/cyrus/lib/perl5/site_perl/5.8.3/sun4-solaris to the two > > "exec perl" lines at the top of cyradm (see below). Of course, if you > > aren't using solaris or Perl v5.8.3, the last two components of the path > > will be different for you. > > Hope this helps. > > -- > > Andrew Caird > > > > - > > Now the top of cyradm looks like: > > > > case "x$BASH_VERSION" in > > x) exec perl -MCyrus::IMAP::Shell > > -I/usr/local/cyrus/lib/perl5/site_perl/5.8.3/sun4-solaris -e shell -- ${1+"$@"} ;; > > *) exec perl -MCyrus::IMAP::Shell > > -I/usr/local/cyrus/lib/perl5/site_perl/5.8.3/sun4-solaris -e shell -- "$@" ;; > > esac > > echo "$0: how did I get here?" >&2 > > exit 1 > -- > Kent L. Nasveschuk <[EMAIL PROTECTED]> > > --- > Cyrus Home Page: http://asg.web.cmu.edu/cyrus > Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu > List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html -- Joe Rhett Chief Geek [EMAIL PROTECTED] Isite Services, Inc. --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Please help, Perl Module problem.
On Fri, 28 May 2004, Kent L. Nasveschuk wrote: > This is what I added but I get the same db_version error :( > I have yet to get this to run, very frustrating. It obviously works > people use it. I'm so close on this... > > > case "x$BASH_VERSION" in > x) exec perl -MCyrus::IMAP::Shell > -I/usr/lib/perl5/site_perl/5.8.0/i486-linux -e shell -- ${1+"$@"} ;; > *) exec perl -MCyrus::IMAP::Shell > -I/usr/lib/perl5/site_perl/5.8.0/i486-linux -e shell -- "$@" ;; > esac > echo "$0: how did I get here?" >&2 > exit 1 Kent, After reading the bug that you submitted, it looks like you might want to start from scratch with a fresh compile/install. I don't have a slackware system, but the following configure lines worked for me on a stock RH 8.0 install. # uname -a Linux localhost 2.4.20-24.8 #1 Mon Dec 1 14:35:45 EST 2003 i686 i686 i386 GNU/Linux # rpm -qa|grep db4 db4-4.0.14-14 db4-java-4.0.14-14 db4-devel-4.0.14-14 db4-utils-4.0.14-14 Using the stock Berkeley DB rpm that comes with rh8 (db4-4.0.14-14): $ ./configure --prefix=/usr/local/cyrus-2.2.4 --with-cyrus-prefix=/usr/local/cyrus-2.2.4 --enable-murder --without-ucdsnmp --enable-gssapi=/usr/kerberos Before compiling cyrus, I compiled and installed Berkley DB from source, added the following line to my /etc/ld.so.conf /usr/local/BerkeleyDB.4.2/lib and as root ran # ldconfig Using Berkeley DB 4.2 compiled from source: $ ./configure --prefix=/usr/local/cyrus-2.2.4-1 --with-cyrus-prefix=/usr/local/cyrus-2.2.4-1 --enable-murder --without-ucdsnmp --enable-gssapi=/usr/kerberos --with-bdb=/usr/local/BerkeleyDB.4.2 --with-bdb-libdir=/usr/local/BerkeleyDB.4.2/lib --with-bdb-incdir=/usr/local/BerkeleyDB.4.2/include After doing each of the above cyrus installs I created the appropriate symlinks for the cyrus perl modules. This for me made more sense than editing exec lines in multiple perl scripts: # ln -s /usr/local/cyrus-2.2.4-1/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Cyrus /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Cyrus # ln -s /usr/local/cyrus-2.2.4-1/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/Cyrus /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/Cyrus HTH, Bret --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Please help, Perl Module problem.
On Fri, 28 May 2004, Kent L. Nasveschuk wrote: > This is what I added but I get the same db_version error :( I have yet > to get this to run, very frustrating. It obviously works people use it. > I'm so close on this... Yes, when you said "path problem", I assumed that it was the same as mine. It isn't. I do remember you posting from a while ago, and I'm afraid that I can't help, as I don't use Berkeley DBs at all for Cyrus IMAP. -- Andrew --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Please help, Perl Module problem.
This is what I added but I get the same db_version error :( I have yet to get this to run, very frustrating. It obviously works people use it. I'm so close on this... case "x$BASH_VERSION" in x) exec perl -MCyrus::IMAP::Shell -I/usr/lib/perl5/site_perl/5.8.0/i486-linux -e shell -- ${1+"$@"} ;; *) exec perl -MCyrus::IMAP::Shell -I/usr/lib/perl5/site_perl/5.8.0/i486-linux -e shell -- "$@" ;; esac echo "$0: how did I get here?" >&2 exit 1 On Fri, 2004-05-28 at 10:31, Andrew J Caird wrote: > On Fri, 28 May 2004, Kent Nasveschuk wrote: > > > Hello, > > You had a perl path problem back in April in cyradm (Cyrus IMAP) that it > > seems many people had. I was just wondering if you solved it and exactly > > what you did to solve it. I have Cyrus 2.2.4 installed and working on a > > test machine with exception of cyradm. Any help would be appreciated, > > I'm really beating my head against the wall on this one. > > Kent, > If your problem is truely only a path problem, you might want to try > what I do, which is adding: > -I/usr/local/cyrus/lib/perl5/site_perl/5.8.3/sun4-solaris to the two > "exec perl" lines at the top of cyradm (see below). Of course, if you > aren't using solaris or Perl v5.8.3, the last two components of the path > will be different for you. > Hope this helps. > -- > Andrew Caird > > - > Now the top of cyradm looks like: > > case "x$BASH_VERSION" in > x) exec perl -MCyrus::IMAP::Shell > -I/usr/local/cyrus/lib/perl5/site_perl/5.8.3/sun4-solaris -e shell -- ${1+"$@"} ;; > *) exec perl -MCyrus::IMAP::Shell > -I/usr/local/cyrus/lib/perl5/site_perl/5.8.3/sun4-solaris -e shell -- "$@" ;; > esac > echo "$0: how did I get here?" >&2 > exit 1 -- Kent L. Nasveschuk <[EMAIL PROTECTED]> --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Please help, Perl Module problem.
On Fri, 28 May 2004, Kent Nasveschuk wrote: > Hello, > You had a perl path problem back in April in cyradm (Cyrus IMAP) that it > seems many people had. I was just wondering if you solved it and exactly > what you did to solve it. I have Cyrus 2.2.4 installed and working on a > test machine with exception of cyradm. Any help would be appreciated, > I'm really beating my head against the wall on this one. Kent, If your problem is truely only a path problem, you might want to try what I do, which is adding: -I/usr/local/cyrus/lib/perl5/site_perl/5.8.3/sun4-solaris to the two "exec perl" lines at the top of cyradm (see below). Of course, if you aren't using solaris or Perl v5.8.3, the last two components of the path will be different for you. Hope this helps. -- Andrew Caird - Now the top of cyradm looks like: case "x$BASH_VERSION" in x) exec perl -MCyrus::IMAP::Shell -I/usr/local/cyrus/lib/perl5/site_perl/5.8.3/sun4-solaris -e shell -- ${1+"$@"} ;; *) exec perl -MCyrus::IMAP::Shell -I/usr/local/cyrus/lib/perl5/site_perl/5.8.3/sun4-solaris -e shell -- "$@" ;; esac echo "$0: how did I get here?" >&2 exit 1 --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Please help, Perl Module problem.
Hello, You had a perl path problem back in April in cyradm (Cyrus IMAP) that it seems many people had. I was just wondering if you solved it and exactly what you did to solve it. I have Cyrus 2.2.4 installed and working on a test machine with exception of cyradm. Any help would be appreciated, I'm really beating my head against the wall on this one. Kent Nasveschuk --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Please help
Hello, I have the same problem on AIX 5.2. Configure for cyrus-sasl-2.1.18 and cyrus-imapd-2.2.3 cannot find Berkeley DB 4.2. I used switch --with-bdb-libdir but this not helps. I do not have a lot of experience in compiling. So any comments or suggestions will be highly appreciated. Thank you in advance. Grazvydas "Fatemeh Taj" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Sent by: cc: [EMAIL PROTECTED] [EMAIL PROTECTED] Subject: Please help rew.cmu.edu 2004.05.12 08:54 Dear All, I want move to cyrus imapd 2.2.3 with sasl2.0.18 and Berkeley DB4.2.1 on Linux Redhat Enterprise 3. The problem is that cyrus sasl does not find or has problem Berkeley DB 4. It finds db.h form BerkeleyDB_src/include but has probem with db_create and db_open in configuraetion step. I searched the mailing list archive and google, there was such problems but I could not find the answer. (Also I did reinstalled my BDBD with --without-uniquename flag but itdoesno't help) Any comment is highly appriciated. Here is the logs : in configure.log configure:6026: gcc -o conftest -Wall -W -g -O2 -I/usr/local/BerkeleyDB.4.2/include conftest.c -ldb -L/usr/local/BerkeleyDB.4.2/lib -Wl,-rpath,/usr/local/BerkeleyDB.4.2/lib >&5 /tmp/ccey6P67.o(.text+0xa): In function `main': /usr/local/src/cyrus-sasl-2.1.18/configure:6036: undefined reference to `db_open' /usr/local/BerkeleyDB.4.2/lib/libdb.so: undefined reference to `pthread_condattr_setpshared' /usr/local/BerkeleyDB.4.2/lib/libdb.so: undefined reference to `pthread_mutexattr_destroy' /usr/local/BerkeleyDB.4.2/lib/libdb.so: undefined reference to `pthread_mutexattr_setpshared' /usr/local/BerkeleyDB.4.2/lib/libdb.so: undefined reference to `pthread_mutexattr_init' /usr/local/BerkeleyDB.4.2/lib/libdb.so: undefined reference to `pthread_mutex_trylock' and the output in configuration step: checking for db_create in -ldb42... no checking for db_create in -ldb-4.1... no checking for db_create in -ldb4.1... no checking for db_create in -ldb41... no checking for db_create in -ldb-4.0... no checking for db_create in -ldb4.0... no checking for db_create in -ldb-4... no checking for db_create in -ldb40... no checking for db_create in -ldb4... no checking for db_create in -ldb-3.3... no checking for db_create in -ldb3.3... no checking for db_create in -ldb33... no checking for db_create in -ldb-3.2... no checking for db_create in -ldb3.2... no checking for db_create in -ldb32... no checking for db_create in -ldb-3.1... no checking for db_create in -ldb3.1... no checking for db_create in -ldb31... no checking for db_create in -ldb-3... no checking for db_create in -ldb30... no checking for db_create in -ldb3... no checking for db_create in -ldb... no checking for db_open in -ldb... no Regards --F. Taj --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Please help
Jim, Sorry, the version I am trying to install is 2.1.18 not 2.0.18. Thanks Original Message Subject: Re: Please help From:"Jim Levie" <[EMAIL PROTECTED]> Date:Wed, May 12, 2004 10:28 pm To: [EMAIL PROTECTED] Cc: "Fatemeh Taj" <[EMAIL PROTECTED]> -- > On Wed, 2004-05-12 at 00:54, Fatemeh Taj wrote: >> Dear All, >> I want move to cyrus imapd 2.2.3 with sasl2.0.18 and Berkeley DB4.2.1 on >> Linux Redhat Enterprise 3. > > Why are you trying to use an old version of SASL instead of the one > (2.1.15-3) furnished with RHEL 3.0? Cyrus IMAP 2.2.3 is quite happy to > build against the BDB & SASL furnished with 3.0 and I've yet to see any > problems with that combination. > -- > =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= > The instructions said to use Windows 98 or better, so I installed RedHat >Jim Levie email:[EMAIL PROTECTED] > > > > Regards --F. Taj --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Please help
On Wed, 2004-05-12 at 00:54, Fatemeh Taj wrote: > Dear All, > I want move to cyrus imapd 2.2.3 with sasl2.0.18 and Berkeley DB4.2.1 on > Linux Redhat Enterprise 3. Why are you trying to use an old version of SASL instead of the one (2.1.15-3) furnished with RHEL 3.0? Cyrus IMAP 2.2.3 is quite happy to build against the BDB & SASL furnished with 3.0 and I've yet to see any problems with that combination. -- =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= The instructions said to use Windows 98 or better, so I installed RedHat Jim Levie email:[EMAIL PROTECTED] --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Please help
Dear All, I want move to cyrus imapd 2.2.3 with sasl2.0.18 and Berkeley DB4.2.1 on Linux Redhat Enterprise 3. The problem is that cyrus sasl does not find or has problem Berkeley DB 4. It finds db.h form BerkeleyDB_src/include but has probem with db_create and db_open in configuraetion step. I searched the mailing list archive and google, there was such problems but I could not find the answer. (Also I did reinstalled my BDBD with --without-uniquename flag but itdoesno't help) Any comment is highly appriciated. Here is the logs : in configure.log configure:6026: gcc -o conftest -Wall -W -g -O2 -I/usr/local/BerkeleyDB.4.2/include conftest.c -ldb -L/usr/local/BerkeleyDB.4.2/lib -Wl,-rpath,/usr/local/BerkeleyDB.4.2/lib >&5 /tmp/ccey6P67.o(.text+0xa): In function `main': /usr/local/src/cyrus-sasl-2.1.18/configure:6036: undefined reference to `db_open' /usr/local/BerkeleyDB.4.2/lib/libdb.so: undefined reference to `pthread_condattr_setpshared' /usr/local/BerkeleyDB.4.2/lib/libdb.so: undefined reference to `pthread_mutexattr_destroy' /usr/local/BerkeleyDB.4.2/lib/libdb.so: undefined reference to `pthread_mutexattr_setpshared' /usr/local/BerkeleyDB.4.2/lib/libdb.so: undefined reference to `pthread_mutexattr_init' /usr/local/BerkeleyDB.4.2/lib/libdb.so: undefined reference to `pthread_mutex_trylock' and the output in configuration step: checking for db_create in -ldb42... no checking for db_create in -ldb-4.1... no checking for db_create in -ldb4.1... no checking for db_create in -ldb41... no checking for db_create in -ldb-4.0... no checking for db_create in -ldb4.0... no checking for db_create in -ldb-4... no checking for db_create in -ldb40... no checking for db_create in -ldb4... no checking for db_create in -ldb-3.3... no checking for db_create in -ldb3.3... no checking for db_create in -ldb33... no checking for db_create in -ldb-3.2... no checking for db_create in -ldb3.2... no checking for db_create in -ldb32... no checking for db_create in -ldb-3.1... no checking for db_create in -ldb3.1... no checking for db_create in -ldb31... no checking for db_create in -ldb-3... no checking for db_create in -ldb30... no checking for db_create in -ldb3... no checking for db_create in -ldb... no checking for db_open in -ldb... no Regards --F. Taj --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: DB4 hosed on production server: Please help!!
Can you just delete/move the deliver.db and restart Cyrus? That is not a critical database, considering that you are currently down. Andy On Thu, 22 Apr 2004, Nels Lindquist wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Our production Cyrus server is down; please CC replies directly to me > at "[EMAIL PROTECTED]" -- I can still get that mail, while my subscribed > address mailstore is on the affected server. > > I tried a routine restart of our IMAP server this morning, but it > would appear that db4 is toast, and ctl_cyrusdb isn't helping. > > I looked back in the logs and noticed these messages which first > appeared yesterday morning: > > > Apr 21 03:34:13 aerodrome ctl_cyrusdb[23220]: DBERROR db4: > > DB_LOGC->get: invalid log record header > > And here's what happened when I tried to restart the server: > > > Apr 22 10:06:55 aerodrome ctl_cyrusdb[28465]: DBERROR db4: > > DB_ENV->log_flush: LSN past current end-of-log > > Apr 22 10:06:55 aerodrome ctl_cyrusdb[28465]: DBERROR db4: > > /usr/lib/imap/deliver.db: unable to flush page: 0 > > Apr 22 10:06:55 aerodrome ctl_cyrusdb[28465]: DBERROR db4: > > txn_checkpoint: failed to flush the buffer cache Invalid argument > > Apr 22 10:06:55 aerodrome ctl_cyrusdb[28465]: DBERROR: couldn't > > checkpoint: Invalid argument > > Apr 22 10:06:55 aerodrome ctl_cyrusdb[28465]: DBERROR: sync > > /usr/lib/imap/db: cyrusdb error > > Apr 22 10:07:36 aerodrome master[28548]: setrlimit: Unable to set file > > descriptors limit to 2147483647: Operation not permitted > > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28550]: DBERROR db4: > > DB_ENV->log_flush: LSN past current end-of-log > > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28550]: DBERROR db4: > > /usr/lib/imap/deliver.db: unable to flush page: 0 > > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28550]: DBERROR db4: > > txn_checkpoint: failed to flush the buffer cache Invalid argument > > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28550]: DBERROR db4: PANIC: > > Invalid argument > > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28550]: DBERROR: critical > > database situation > > Apr 22 10:07:36 aerodrome master[28548]: process 28550 exited, status > > 75 > > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28556]: DBERROR db4: fatal > > region error detected; run recovery > > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28556]: DBERROR: dbenv->open > > '/usr/lib/imap/db' failed: DB_RUNRECOVERY: Fatal error, run database > > recovery > > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28556]: DBERROR: init() on > > berkeley > > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28556]: DBERROR db4: > > txn_checkpoint interface requires an environment configured for the > > transaction subsystem > > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28556]: DBERROR: couldn't > > checkpoint: Invalid argument > > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28556]: DBERROR: sync > > /usr/lib/imap/db: cyrusdb error > > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28556]: DBERROR db4: > > DB_ENV->log_archive interface requires an environment configured for > > the logging subsystem > > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28556]: DBERROR: error listing > > log files: Invalid argument > > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28556]: DBERROR: archive > > /usr/lib/imap/db: cyrusdb error > > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28556]: DBERROR db4: > > txn_checkpoint interface requires an environment configured for the > > transaction subsystem > > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28556]: DBERROR: couldn't > > checkpoint: Invalid argument > > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28556]: DBERROR: sync > > /usr/lib/imap/db: cyrusdb error > > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28556]: DBERROR db4: > > DB_ENV->log_archive interface requires an environment configured for > > the logging subsystem > > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28556]: DBERROR: error listing > > log files: Invalid argument > > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28556]: DBERROR: archive > > /usr/lib/imap/db: cyrusdb error > > Running "ctl_cyrusdb -r" manually as the cyrus user does the same > thing. > > How can I fix this and get my server back up? How can I prevent this > from happening again? > > Please help! > > - > Nels Lindquist <*> > Information Systems Manager > Morningstar Air Express Inc. > > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.2.4 (MingW32) > > iD8DBQFAh/q+bxRqvNchgLQRApzxAJ9hvbGOhd95b6kDy4vF94B+zl3JVACgofJo > gSjCHoz0a5kbpfiCB3ocJ5U= > =YdhC > -END PGP SIGNATURE- > --- > Cyrus Home Page: http://asg.web.cmu.edu/cyrus > Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu > List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html > --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: DB4 hosed on production server: Please help!!
Can you just delete/move the deliver.db and restart Cyrus? That is not a critical database, considering that you are currently down. Andy On Thu, 22 Apr 2004, Nels Lindquist wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Our production Cyrus server is down; please CC replies directly to me > at "[EMAIL PROTECTED]" -- I can still get that mail, while my subscribed > address mailstore is on the affected server. > > I tried a routine restart of our IMAP server this morning, but it > would appear that db4 is toast, and ctl_cyrusdb isn't helping. > > I looked back in the logs and noticed these messages which first > appeared yesterday morning: > > > Apr 21 03:34:13 aerodrome ctl_cyrusdb[23220]: DBERROR db4: > > DB_LOGC->get: invalid log record header > > And here's what happened when I tried to restart the server: > > > Apr 22 10:06:55 aerodrome ctl_cyrusdb[28465]: DBERROR db4: > > DB_ENV->log_flush: LSN past current end-of-log > > Apr 22 10:06:55 aerodrome ctl_cyrusdb[28465]: DBERROR db4: > > /usr/lib/imap/deliver.db: unable to flush page: 0 > > Apr 22 10:06:55 aerodrome ctl_cyrusdb[28465]: DBERROR db4: > > txn_checkpoint: failed to flush the buffer cache Invalid argument > > Apr 22 10:06:55 aerodrome ctl_cyrusdb[28465]: DBERROR: couldn't > > checkpoint: Invalid argument > > Apr 22 10:06:55 aerodrome ctl_cyrusdb[28465]: DBERROR: sync > > /usr/lib/imap/db: cyrusdb error > > Apr 22 10:07:36 aerodrome master[28548]: setrlimit: Unable to set file > > descriptors limit to 2147483647: Operation not permitted > > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28550]: DBERROR db4: > > DB_ENV->log_flush: LSN past current end-of-log > > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28550]: DBERROR db4: > > /usr/lib/imap/deliver.db: unable to flush page: 0 > > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28550]: DBERROR db4: > > txn_checkpoint: failed to flush the buffer cache Invalid argument > > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28550]: DBERROR db4: PANIC: > > Invalid argument > > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28550]: DBERROR: critical > > database situation > > Apr 22 10:07:36 aerodrome master[28548]: process 28550 exited, status > > 75 > > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28556]: DBERROR db4: fatal > > region error detected; run recovery > > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28556]: DBERROR: dbenv->open > > '/usr/lib/imap/db' failed: DB_RUNRECOVERY: Fatal error, run database > > recovery > > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28556]: DBERROR: init() on > > berkeley > > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28556]: DBERROR db4: > > txn_checkpoint interface requires an environment configured for the > > transaction subsystem > > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28556]: DBERROR: couldn't > > checkpoint: Invalid argument > > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28556]: DBERROR: sync > > /usr/lib/imap/db: cyrusdb error > > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28556]: DBERROR db4: > > DB_ENV->log_archive interface requires an environment configured for > > the logging subsystem > > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28556]: DBERROR: error listing > > log files: Invalid argument > > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28556]: DBERROR: archive > > /usr/lib/imap/db: cyrusdb error > > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28556]: DBERROR db4: > > txn_checkpoint interface requires an environment configured for the > > transaction subsystem > > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28556]: DBERROR: couldn't > > checkpoint: Invalid argument > > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28556]: DBERROR: sync > > /usr/lib/imap/db: cyrusdb error > > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28556]: DBERROR db4: > > DB_ENV->log_archive interface requires an environment configured for > > the logging subsystem > > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28556]: DBERROR: error listing > > log files: Invalid argument > > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28556]: DBERROR: archive > > /usr/lib/imap/db: cyrusdb error > > Running "ctl_cyrusdb -r" manually as the cyrus user does the same > thing. > > How can I fix this and get my server back up? How can I prevent this > from happening again? > > Please help! > > - > Nels Lindquist <*> > Information Systems Manager > Morningstar Air Express Inc. > > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.2.4 (MingW32) > > iD8DBQFAh/q+bxRqvNchgLQRApzxAJ9hvbGOhd95b6kDy4vF94B+zl3JVACgofJo > gSjCHoz0a5kbpfiCB3ocJ5U= > =YdhC > -END PGP SIGNATURE- > --- > Cyrus Home Page: http://asg.web.cmu.edu/cyrus > Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu > List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html > --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: DB4 hosed on production server: Please help!!
Sorry, I failed to mention any relevant version information. o Running on Redhat 6.2 (I know, I know) with ext2 fs. Should I have done a "chattr +S" on the db files? The docs only mention user quota, etc. o Berkely DB 4.1.25, compiled from source o Cyrus SASL 2.1.17 o Cyrus IMAPD 2.2.3 Again, please CC replies to "[EMAIL PROTECTED]" Thank you! Nels Lindquist <*> Information Systems Manager Morningstar Air Express Inc. --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
DB4 hosed on production server: Please help!!
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Our production Cyrus server is down; please CC replies directly to me at "[EMAIL PROTECTED]" -- I can still get that mail, while my subscribed address mailstore is on the affected server. I tried a routine restart of our IMAP server this morning, but it would appear that db4 is toast, and ctl_cyrusdb isn't helping. I looked back in the logs and noticed these messages which first appeared yesterday morning: > Apr 21 03:34:13 aerodrome ctl_cyrusdb[23220]: DBERROR db4: > DB_LOGC->get: invalid log record header And here's what happened when I tried to restart the server: > Apr 22 10:06:55 aerodrome ctl_cyrusdb[28465]: DBERROR db4: > DB_ENV->log_flush: LSN past current end-of-log > Apr 22 10:06:55 aerodrome ctl_cyrusdb[28465]: DBERROR db4: > /usr/lib/imap/deliver.db: unable to flush page: 0 > Apr 22 10:06:55 aerodrome ctl_cyrusdb[28465]: DBERROR db4: > txn_checkpoint: failed to flush the buffer cache Invalid argument > Apr 22 10:06:55 aerodrome ctl_cyrusdb[28465]: DBERROR: couldn't > checkpoint: Invalid argument > Apr 22 10:06:55 aerodrome ctl_cyrusdb[28465]: DBERROR: sync > /usr/lib/imap/db: cyrusdb error > Apr 22 10:07:36 aerodrome master[28548]: setrlimit: Unable to set file > descriptors limit to 2147483647: Operation not permitted > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28550]: DBERROR db4: > DB_ENV->log_flush: LSN past current end-of-log > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28550]: DBERROR db4: > /usr/lib/imap/deliver.db: unable to flush page: 0 > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28550]: DBERROR db4: > txn_checkpoint: failed to flush the buffer cache Invalid argument > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28550]: DBERROR db4: PANIC: > Invalid argument > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28550]: DBERROR: critical > database situation > Apr 22 10:07:36 aerodrome master[28548]: process 28550 exited, status > 75 > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28556]: DBERROR db4: fatal > region error detected; run recovery > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28556]: DBERROR: dbenv->open > '/usr/lib/imap/db' failed: DB_RUNRECOVERY: Fatal error, run database > recovery > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28556]: DBERROR: init() on > berkeley > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28556]: DBERROR db4: > txn_checkpoint interface requires an environment configured for the > transaction subsystem > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28556]: DBERROR: couldn't > checkpoint: Invalid argument > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28556]: DBERROR: sync > /usr/lib/imap/db: cyrusdb error > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28556]: DBERROR db4: > DB_ENV->log_archive interface requires an environment configured for > the logging subsystem > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28556]: DBERROR: error listing > log files: Invalid argument > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28556]: DBERROR: archive > /usr/lib/imap/db: cyrusdb error > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28556]: DBERROR db4: > txn_checkpoint interface requires an environment configured for the > transaction subsystem > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28556]: DBERROR: couldn't > checkpoint: Invalid argument > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28556]: DBERROR: sync > /usr/lib/imap/db: cyrusdb error > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28556]: DBERROR db4: > DB_ENV->log_archive interface requires an environment configured for > the logging subsystem > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28556]: DBERROR: error listing > log files: Invalid argument > Apr 22 10:07:36 aerodrome ctl_cyrusdb[28556]: DBERROR: archive > /usr/lib/imap/db: cyrusdb error Running "ctl_cyrusdb -r" manually as the cyrus user does the same thing. How can I fix this and get my server back up? How can I prevent this from happening again? Please help! - Nels Lindquist <*> Information Systems Manager Morningstar Air Express Inc. -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (MingW32) iD8DBQFAh/q+bxRqvNchgLQRApzxAJ9hvbGOhd95b6kDy4vF94B+zl3JVACgofJo gSjCHoz0a5kbpfiCB3ocJ5U= =YdhC -END PGP SIGNATURE- --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Please help, Perl Module problem.
> On Tue, 20 Apr 2004, Joe Rhett wrote: > > But if you will accept a patch that modifies the makemaker stuff, I'll hack > > one out over the next week or so, just so that we can stop getting the same > > FAQ from everyone ;-) On Tue, Apr 20, 2004 at 03:37:02PM -0400, Rob Siemborski wrote: > Yes. > > My main concern is running autoconf substitutions on perl scripts sounds > like a good place for all sorts of doom to happen. It's just a proxy thing, because you're pushing the macro into makemaker and then pushing it right onward to the destination file. But I can understand your logic ;-) -- Joe Rhett Chief Geek [EMAIL PROTECTED] Isite Services, Inc. --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Please help, Perl Module problem.
On Tue, 20 Apr 2004, Joe Rhett wrote: > > On Tue, 20 Apr 2004, Joe Rhett wrote: > > > But if you will accept a patch that modifies the makemaker stuff, I'll hack > > > one out over the next week or so, just so that we can stop getting the same > > > FAQ from everyone ;-) > > On Tue, Apr 20, 2004 at 03:37:02PM -0400, Rob Siemborski wrote: > > Yes. > > > > My main concern is running autoconf substitutions on perl scripts sounds > > like a good place for all sorts of doom to happen. > > It's just a proxy thing, because you're pushing the macro into makemaker > and then pushing it right onward to the destination file. But I can > understand your logic ;-) Really, I'm just more comfortable with the fact that the people who wrote makemaker were likely thinking about how to do the substitutions safely in perl scripts, where as the autoconf people probably weren't. -Rob -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456 Research Systems Programmer * /usr/contributed Gatekeeper --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Please help, Perl Module problem.
On Tue, 20 Apr 2004, Joe Rhett wrote: > No, mostly because I'm not that good with makemaker. When I wrote the > original I was hoping to inspire someone to Do The Right Thing. But after > looking at the layout, I'm not sure what you gain -- you'll have to add the > Makemaker stuff to the autoconf files, so it's the same amount of changes. > > But if you will accept a patch that modifies the makemaker stuff, I'll hack > one out over the next week or so, just so that we can stop getting the same > FAQ from everyone ;-) Yes. My main concern is running autoconf substitutions on perl scripts sounds like a good place for all sorts of doom to happen. -Rob -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456 Research Systems Programmer * /usr/contributed Gatekeeper --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Please help, Perl Module problem.
There's nothing like coming back to your own words a while later to make you realize what a wining b-otch you sounded like when you said: (more below) > On Thu, 15 Apr 2004, Joe Rhett wrote: > > This has been an ongoing bug that is indecently easy to fix, but Rob won't > > accept any patches on it. He evidently thinks that installing modules into > > the sitewide perl installation is the right idea. I believe that it's > > plain wrong, and want to use the libraries from the cyrus installation. > > It's a two-line patch, but nobody will accept it. On Tue, Apr 20, 2004 at 09:35:19AM -0400, Rob Siemborski wrote: > I just looked through the list archives -- the only patch I see that looks > remotely like this was one that modifies the perl source with autoconf > which as you say in the post is relatively poor. > > Was I missing the cleaner patch that does this all within makemaker? No, mostly because I'm not that good with makemaker. When I wrote the original I was hoping to inspire someone to Do The Right Thing. But after looking at the layout, I'm not sure what you gain -- you'll have to add the Makemaker stuff to the autoconf files, so it's the same amount of changes. But if you will accept a patch that modifies the makemaker stuff, I'll hack one out over the next week or so, just so that we can stop getting the same FAQ from everyone ;-) -- Joe Rhett Chief Geek [EMAIL PROTECTED] Isite Services, Inc. --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Please help, Perl Module problem.
On Thu, 15 Apr 2004, Joe Rhett wrote: > This has been an ongoing bug that is indecently easy to fix, but Rob won't > accept any patches on it. He evidently thinks that installing modules into > the sitewide perl installation is the right idea. I believe that it's > plain wrong, and want to use the libraries from the cyrus installation. > It's a two-line patch, but nobody will accept it. I just looked through the list archives -- the only patch I see that looks remotely like this was one that modifies the perl source with autoconf which as you say in the post is relatively poor. Was I missing the cleaner patch that does this all within makemaker? -Rob -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456 Research Systems Programmer * /usr/contributed Gatekeeper --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Please help, Perl Module problem.
cyradm and really any script you run that fails because of the error you listed. And yes, the lines that execute perl. On Fri, Apr 16, 2004 at 09:29:03AM +0100, Neil Marjoram X 663711 wrote: > Joe, > > Thanks for this, can you tell me which files I need to change. I assume > that you mean cyradm and to change the lines that execute the perl > command. > > Thanks, > > Neil. > On Thu, 2004-04-15 at 15:55, Joe Rhett wrote: > > Neil, open the files in question and modify the four real lines of the > > script so that you have -I/install/location/lib to where the perl modules are. > > > > This has been an ongoing bug that is indecently easy to fix, but Rob won't > > accept any patches on it. He evidently thinks that installing modules into > > the sitewide perl installation is the right idea. I believe that it's > > plain wrong, and want to use the libraries from the cyrus installation. > > It's a two-line patch, but nobody will accept it. > > > > On Thu, Apr 15, 2004 at 02:54:27PM +0100, Neil Marjoram X 663711 wrote: > > > Thanks for that, I have now recompiled SASL and imap in the default > > > location, it seems the PREFIX is set in the Perl makefile for imap, and > > > thus it loads in the Cyrus tree instead of the Perl tree. My recompile > > > used default locations and now all is installed where I think it should > > > be. How ever it still does not work. > > > > > > Executing the cyradm command now produces this error: > > > > > > Can't load > > > '/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/Cyrus/IMAP/IMAP.so' for > > > module Cyrus::IMAP: ld.so.1: perl: fatal: relocation error: file > > > /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/Cyrus/IMAP/IMAP.so: > > > symbol db_strerror: referenced symbol not found at > > > /usr/local/lib/perl5/5.8.0/sun4-solaris/DynaLoader.pm line 229. > > > at > > > /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Cyrus/IMAP/Admin.pm > > > line 44 > > > Compilation failed in require at > > > /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Cyrus/IMAP/Admin.pm > > > line 44. > > > BEGIN failed--compilation aborted at > > > /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Cyrus/IMAP/Admin.pm > > > line 44. > > > Compilation failed in require at > > > /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Cyrus/IMAP/Shell.pm > > > line 60. > > > BEGIN failed--compilation aborted at > > > /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Cyrus/IMAP/Shell.pm > > > line 60. > > > Compilation failed in require. > > > BEGIN failed--compilation aborted. > > > > > > I am still getting this error in the auth.log when I attempt to test the > > > imap server : > > > > > > Apr 15 14:45:35 lowestoft.adastral.ucl.ac.uk imtest[29027]: [ID 702911 > > > auth.warning] Could not find a dlname line in .la file: libsasldb.la > > > Apr 15 14:45:35 lowestoft.adastral.ucl.ac.uk imap[29026]: [ID 702911 > > > auth.notice] Bad IPREMOTEPORT value > > > Apr 15 14:45:35 lowestoft.adastral.ucl.ac.uk imap[29026]: [ID 702911 > > > auth.notice] Bad IPLOCALPORT value > > > Apr 15 14:45:35 lowestoft.adastral.ucl.ac.uk imtest[29027]: [ID 702911 > > > auth.notice] Bad IPLOCALPORT value > > > Apr 15 14:47:23 lowestoft.adastral.ucl.ac.uk lmtpunix[29031]: [ID 702911 > > > auth.warning] Could not find a dlname line in .la file: libsasldb.la > > > > > > Anybody any clues ? > > > > > > Thanks > > > > > > Neil. > > > > > > On Thu, 2004-04-15 at 14:21, Heinz Ulrich Stille wrote: > > > > On Thursday 15 April 2004 12:37, Neil Marjoram X 663711 wrote: > > > > > I have found the Cyrus Perl module located in the directory I installed > > > > > cyrus in : /opt/cyrus/lib/perl5/site_perl/5.8.0/sun4-solaris/. How do I > > > > > get it installed in the Perl tree? > > > > > > > > Did you install cyrus imap from a precompiled package? It should be installed > > > > into the perl tree if you compile it yourself. Alternatively set the perl > > > > include path (no idea how) or use an utility like "graft" (see freshmeat) to > > > > symbolically link it there, that's what I do. (I did compile everything > > > > myself, though, including perl.) > > > > > > > > No idea about the .la problem. > > > > > > > > MfG, Ulrich > > > > > > --- > > > Cyrus Home Page: http://asg.web.cmu.edu/cyrus > > > Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu > > > List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html -- Joe Rhett Chief Geek [EMAIL PROTECTED] Isite Services, Inc. --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Please help, Perl Module problem.
Joe, Thanks for this, can you tell me which files I need to change. I assume that you mean cyradm and to change the lines that execute the perl command. Thanks, Neil. On Thu, 2004-04-15 at 15:55, Joe Rhett wrote: > Neil, open the files in question and modify the four real lines of the > script so that you have -I/install/location/lib to where the perl modules are. > > This has been an ongoing bug that is indecently easy to fix, but Rob won't > accept any patches on it. He evidently thinks that installing modules into > the sitewide perl installation is the right idea. I believe that it's > plain wrong, and want to use the libraries from the cyrus installation. > It's a two-line patch, but nobody will accept it. > > On Thu, Apr 15, 2004 at 02:54:27PM +0100, Neil Marjoram X 663711 wrote: > > Thanks for that, I have now recompiled SASL and imap in the default > > location, it seems the PREFIX is set in the Perl makefile for imap, and > > thus it loads in the Cyrus tree instead of the Perl tree. My recompile > > used default locations and now all is installed where I think it should > > be. How ever it still does not work. > > > > Executing the cyradm command now produces this error: > > > > Can't load > > '/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/Cyrus/IMAP/IMAP.so' for > > module Cyrus::IMAP: ld.so.1: perl: fatal: relocation error: file > > /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/Cyrus/IMAP/IMAP.so: symbol > > db_strerror: referenced symbol not found at > > /usr/local/lib/perl5/5.8.0/sun4-solaris/DynaLoader.pm line 229. > > at > > /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Cyrus/IMAP/Admin.pm > > line 44 > > Compilation failed in require at > > /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Cyrus/IMAP/Admin.pm > > line 44. > > BEGIN failed--compilation aborted at > > /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Cyrus/IMAP/Admin.pm > > line 44. > > Compilation failed in require at > > /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Cyrus/IMAP/Shell.pm > > line 60. > > BEGIN failed--compilation aborted at > > /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Cyrus/IMAP/Shell.pm > > line 60. > > Compilation failed in require. > > BEGIN failed--compilation aborted. > > > > I am still getting this error in the auth.log when I attempt to test the > > imap server : > > > > Apr 15 14:45:35 lowestoft.adastral.ucl.ac.uk imtest[29027]: [ID 702911 > > auth.warning] Could not find a dlname line in .la file: libsasldb.la > > Apr 15 14:45:35 lowestoft.adastral.ucl.ac.uk imap[29026]: [ID 702911 > > auth.notice] Bad IPREMOTEPORT value > > Apr 15 14:45:35 lowestoft.adastral.ucl.ac.uk imap[29026]: [ID 702911 > > auth.notice] Bad IPLOCALPORT value > > Apr 15 14:45:35 lowestoft.adastral.ucl.ac.uk imtest[29027]: [ID 702911 > > auth.notice] Bad IPLOCALPORT value > > Apr 15 14:47:23 lowestoft.adastral.ucl.ac.uk lmtpunix[29031]: [ID 702911 > > auth.warning] Could not find a dlname line in .la file: libsasldb.la > > > > Anybody any clues ? > > > > Thanks > > > > Neil. > > > > On Thu, 2004-04-15 at 14:21, Heinz Ulrich Stille wrote: > > > On Thursday 15 April 2004 12:37, Neil Marjoram X 663711 wrote: > > > > I have found the Cyrus Perl module located in the directory I installed > > > > cyrus in : /opt/cyrus/lib/perl5/site_perl/5.8.0/sun4-solaris/. How do I > > > > get it installed in the Perl tree? > > > > > > Did you install cyrus imap from a precompiled package? It should be installed > > > into the perl tree if you compile it yourself. Alternatively set the perl > > > include path (no idea how) or use an utility like "graft" (see freshmeat) to > > > symbolically link it there, that's what I do. (I did compile everything > > > myself, though, including perl.) > > > > > > No idea about the .la problem. > > > > > > MfG, Ulrich > > > > --- > > Cyrus Home Page: http://asg.web.cmu.edu/cyrus > > Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu > > List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Please help, Perl Module problem.
Neil, open the files in question and modify the four real lines of the script so that you have -I/install/location/lib to where the perl modules are. This has been an ongoing bug that is indecently easy to fix, but Rob won't accept any patches on it. He evidently thinks that installing modules into the sitewide perl installation is the right idea. I believe that it's plain wrong, and want to use the libraries from the cyrus installation. It's a two-line patch, but nobody will accept it. On Thu, Apr 15, 2004 at 02:54:27PM +0100, Neil Marjoram X 663711 wrote: > Thanks for that, I have now recompiled SASL and imap in the default > location, it seems the PREFIX is set in the Perl makefile for imap, and > thus it loads in the Cyrus tree instead of the Perl tree. My recompile > used default locations and now all is installed where I think it should > be. How ever it still does not work. > > Executing the cyradm command now produces this error: > > Can't load > '/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/Cyrus/IMAP/IMAP.so' for > module Cyrus::IMAP: ld.so.1: perl: fatal: relocation error: file > /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/Cyrus/IMAP/IMAP.so: symbol > db_strerror: referenced symbol not found at > /usr/local/lib/perl5/5.8.0/sun4-solaris/DynaLoader.pm line 229. > at > /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Cyrus/IMAP/Admin.pm > line 44 > Compilation failed in require at > /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Cyrus/IMAP/Admin.pm > line 44. > BEGIN failed--compilation aborted at > /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Cyrus/IMAP/Admin.pm > line 44. > Compilation failed in require at > /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Cyrus/IMAP/Shell.pm > line 60. > BEGIN failed--compilation aborted at > /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Cyrus/IMAP/Shell.pm > line 60. > Compilation failed in require. > BEGIN failed--compilation aborted. > > I am still getting this error in the auth.log when I attempt to test the > imap server : > > Apr 15 14:45:35 lowestoft.adastral.ucl.ac.uk imtest[29027]: [ID 702911 > auth.warning] Could not find a dlname line in .la file: libsasldb.la > Apr 15 14:45:35 lowestoft.adastral.ucl.ac.uk imap[29026]: [ID 702911 > auth.notice] Bad IPREMOTEPORT value > Apr 15 14:45:35 lowestoft.adastral.ucl.ac.uk imap[29026]: [ID 702911 > auth.notice] Bad IPLOCALPORT value > Apr 15 14:45:35 lowestoft.adastral.ucl.ac.uk imtest[29027]: [ID 702911 > auth.notice] Bad IPLOCALPORT value > Apr 15 14:47:23 lowestoft.adastral.ucl.ac.uk lmtpunix[29031]: [ID 702911 > auth.warning] Could not find a dlname line in .la file: libsasldb.la > > Anybody any clues ? > > Thanks > > Neil. > > On Thu, 2004-04-15 at 14:21, Heinz Ulrich Stille wrote: > > On Thursday 15 April 2004 12:37, Neil Marjoram X 663711 wrote: > > > I have found the Cyrus Perl module located in the directory I installed > > > cyrus in : /opt/cyrus/lib/perl5/site_perl/5.8.0/sun4-solaris/. How do I > > > get it installed in the Perl tree? > > > > Did you install cyrus imap from a precompiled package? It should be installed > > into the perl tree if you compile it yourself. Alternatively set the perl > > include path (no idea how) or use an utility like "graft" (see freshmeat) to > > symbolically link it there, that's what I do. (I did compile everything > > myself, though, including perl.) > > > > No idea about the .la problem. > > > > MfG, Ulrich > > --- > Cyrus Home Page: http://asg.web.cmu.edu/cyrus > Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu > List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html -- Joe Rhett Chief Geek [EMAIL PROTECTED] Isite Services, Inc. --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Please help, Perl Module problem.
Some further information : Cyrus was configured with : ./configure --with-openssl=/usr/local/ssl --with-libwrap=/usr/local --with-sasl=/usr/local I had to move the sasl header files into the imap source tree under sasl/ otherwise it complained they were not present. The configure complained about com_err : configure: WARNING: Parts of com_err distribuion were found, but not compile_et. configure: WARNING: Will build com_err from included sources. During the compile I only received this error : Note (probably harmless): No library found for -ldb-4.1 SASL was configured with : ./configure --with-openssl=/usr/local/ssl --with-libwrap=/usr/local There were no complaints whilst building SASL. On Thu, 2004-04-15 at 14:54, Neil Marjoram X 663711 wrote: > Thanks for that, I have now recompiled SASL and imap in the default > location, it seems the PREFIX is set in the Perl makefile for imap, and > thus it loads in the Cyrus tree instead of the Perl tree. My recompile > used default locations and now all is installed where I think it should > be. How ever it still does not work. > > Executing the cyradm command now produces this error: > > Can't load > '/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/Cyrus/IMAP/IMAP.so' for > module Cyrus::IMAP: ld.so.1: perl: fatal: relocation error: file > /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/Cyrus/IMAP/IMAP.so: symbol > db_strerror: referenced symbol not found at > /usr/local/lib/perl5/5.8.0/sun4-solaris/DynaLoader.pm line 229. > at > /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Cyrus/IMAP/Admin.pm > line 44 > Compilation failed in require at > /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Cyrus/IMAP/Admin.pm > line 44. > BEGIN failed--compilation aborted at > /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Cyrus/IMAP/Admin.pm > line 44. > Compilation failed in require at > /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Cyrus/IMAP/Shell.pm > line 60. > BEGIN failed--compilation aborted at > /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Cyrus/IMAP/Shell.pm > line 60. > Compilation failed in require. > BEGIN failed--compilation aborted. > > I am still getting this error in the auth.log when I attempt to test the > imap server : > > Apr 15 14:45:35 lowestoft.adastral.ucl.ac.uk imtest[29027]: [ID 702911 > auth.warning] Could not find a dlname line in .la file: libsasldb.la > Apr 15 14:45:35 lowestoft.adastral.ucl.ac.uk imap[29026]: [ID 702911 > auth.notice] Bad IPREMOTEPORT value > Apr 15 14:45:35 lowestoft.adastral.ucl.ac.uk imap[29026]: [ID 702911 > auth.notice] Bad IPLOCALPORT value > Apr 15 14:45:35 lowestoft.adastral.ucl.ac.uk imtest[29027]: [ID 702911 > auth.notice] Bad IPLOCALPORT value > Apr 15 14:47:23 lowestoft.adastral.ucl.ac.uk lmtpunix[29031]: [ID 702911 > auth.warning] Could not find a dlname line in .la file: libsasldb.la > > Anybody any clues ? > > Thanks > > Neil. > > On Thu, 2004-04-15 at 14:21, Heinz Ulrich Stille wrote: > > On Thursday 15 April 2004 12:37, Neil Marjoram X 663711 wrote: > > > I have found the Cyrus Perl module located in the directory I installed > > > cyrus in : /opt/cyrus/lib/perl5/site_perl/5.8.0/sun4-solaris/. How do I > > > get it installed in the Perl tree? > > > > Did you install cyrus imap from a precompiled package? It should be installed > > into the perl tree if you compile it yourself. Alternatively set the perl > > include path (no idea how) or use an utility like "graft" (see freshmeat) to > > symbolically link it there, that's what I do. (I did compile everything > > myself, though, including perl.) > > > > No idea about the .la problem. > > > > MfG, Ulrich > > --- > Cyrus Home Page: http://asg.web.cmu.edu/cyrus > Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu > List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Please help, Perl Module problem.
Thanks for that, I have now recompiled SASL and imap in the default location, it seems the PREFIX is set in the Perl makefile for imap, and thus it loads in the Cyrus tree instead of the Perl tree. My recompile used default locations and now all is installed where I think it should be. How ever it still does not work. Executing the cyradm command now produces this error: Can't load '/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/Cyrus/IMAP/IMAP.so' for module Cyrus::IMAP: ld.so.1: perl: fatal: relocation error: file /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/Cyrus/IMAP/IMAP.so: symbol db_strerror: referenced symbol not found at /usr/local/lib/perl5/5.8.0/sun4-solaris/DynaLoader.pm line 229. at /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Cyrus/IMAP/Admin.pm line 44 Compilation failed in require at /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Cyrus/IMAP/Admin.pm line 44. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Cyrus/IMAP/Admin.pm line 44. Compilation failed in require at /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Cyrus/IMAP/Shell.pm line 60. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Cyrus/IMAP/Shell.pm line 60. Compilation failed in require. BEGIN failed--compilation aborted. I am still getting this error in the auth.log when I attempt to test the imap server : Apr 15 14:45:35 lowestoft.adastral.ucl.ac.uk imtest[29027]: [ID 702911 auth.warning] Could not find a dlname line in .la file: libsasldb.la Apr 15 14:45:35 lowestoft.adastral.ucl.ac.uk imap[29026]: [ID 702911 auth.notice] Bad IPREMOTEPORT value Apr 15 14:45:35 lowestoft.adastral.ucl.ac.uk imap[29026]: [ID 702911 auth.notice] Bad IPLOCALPORT value Apr 15 14:45:35 lowestoft.adastral.ucl.ac.uk imtest[29027]: [ID 702911 auth.notice] Bad IPLOCALPORT value Apr 15 14:47:23 lowestoft.adastral.ucl.ac.uk lmtpunix[29031]: [ID 702911 auth.warning] Could not find a dlname line in .la file: libsasldb.la Anybody any clues ? Thanks Neil. On Thu, 2004-04-15 at 14:21, Heinz Ulrich Stille wrote: > On Thursday 15 April 2004 12:37, Neil Marjoram X 663711 wrote: > > I have found the Cyrus Perl module located in the directory I installed > > cyrus in : /opt/cyrus/lib/perl5/site_perl/5.8.0/sun4-solaris/. How do I > > get it installed in the Perl tree? > > Did you install cyrus imap from a precompiled package? It should be installed > into the perl tree if you compile it yourself. Alternatively set the perl > include path (no idea how) or use an utility like "graft" (see freshmeat) to > symbolically link it there, that's what I do. (I did compile everything > myself, though, including perl.) > > No idea about the .la problem. > > MfG, Ulrich --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Please help, Perl Module problem.
On Thursday 15 April 2004 12:37, Neil Marjoram X 663711 wrote: > I have found the Cyrus Perl module located in the directory I installed > cyrus in : /opt/cyrus/lib/perl5/site_perl/5.8.0/sun4-solaris/. How do I > get it installed in the Perl tree? Did you install cyrus imap from a precompiled package? It should be installed into the perl tree if you compile it yourself. Alternatively set the perl include path (no idea how) or use an utility like "graft" (see freshmeat) to symbolically link it there, that's what I do. (I did compile everything myself, though, including perl.) No idea about the .la problem. MfG, Ulrich -- Heinz Ulrich Stille / Tel.: +49-541-9400463 / Fax: +49-541-9400450 design_d gmbh / Lortzingstr. 2 / 49074 Osnabrück / www.design-d.de --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Please help, Perl Module problem.
I have searched and searched but have not fond the answer to my problems. My server is a Sun Ultra 5 running latest Solaris 9 + Marches patches. First problem is when I run cyradm I get the message : Can't locate Cyrus/IMAP/Shell.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.0/sun4-solaris /usr/local/lib/perl5/5.8.0 /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris /usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl .). BEGIN failed--compilation aborted. I have found the Cyrus Perl module located in the directory I installed cyrus in : /opt/cyrus/lib/perl5/site_perl/5.8.0/sun4-solaris/. How do I get it installed in the Perl tree? Second problem is that I cannot test the imap server as I get this error returned from the command : /opt/cyrus/bin/imtest -m login -a USER WARNING: no hostname supplied, assuming localhost failure: SASL initialization And in the log : auth.log : Apr 15 11:35:03 lowestoft.adastral.ucl.ac.uk lmtpunix[790]: [ID 702911 auth.warning] Could not find a dlname line in .la file: libsasl2.la Apr 15 11:35:21 lowestoft.adastral.ucl.ac.uk imtest[791]: [ID 702911 auth.warning] Could not find a dlname line in .la file: libsasl2.la Apr 15 11:35:21 lowestoft.adastral.ucl.ac.uk imap[660]: [ID 702911 auth.notice] Bad IPREMOTEPORT value Apr 15 11:35:21 lowestoft.adastral.ucl.ac.uk imap[660]: [ID 702911 auth.notice] Bad IPLOCALPORT value Apr 15 11:35:21 lowestoft.adastral.ucl.ac.uk imtest[791]: [ID 702911 auth.notice] Bad IPLOCALPORT value Apr 15 11:35:31 lowestoft.adastral.ucl.ac.uk imtest[792]: [ID 702911 auth.warning] Could not find a dlname line in .la file: libsasl2.la Apr 15 11:35:31 lowestoft.adastral.ucl.ac.uk imap[660]: [ID 702911 auth.notice] Bad IPREMOTEPORT value Apr 15 11:35:31 lowestoft.adastral.ucl.ac.uk imap[660]: [ID 702911 auth.notice] Bad IPLOCALPORT value Apr 15 11:35:31 lowestoft.adastral.ucl.ac.uk imtest[792]: [ID 702911 auth.notice] Bad IPLOCALPORT value Has anyone seen these problems before ? Many Thanks, Neil. --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: createmailbox Please Help!
Thank You for your help! It works fine now! Best regards. Sergios --- Home Page: http://asg.web.cmu.edu/cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: createmailbox Please Help!
On Wed, 10 Mar 2004, tsg wrote: > > On Tue, 9 Mar 2004, tsg wrote: > > > > > tsg <[EMAIL PROTECTED]> 03/09/04 06:41pm >>> > > > > >Hi! > > > > >I tried to create virtual domain mailboxes with cyrus-imapd v2.2.3 as > > > > > > > > it > > > > > > > > >written in install-virtdomains.html, but I got error: > > > > > > > > > ># cyradm --user administrator --auth login localhost > > > > > > > > > >test> create [EMAIL PROTECTED] > > > > >createmailbox: Permission denied > > > > > > > > > >in the mean time I can create default domain users without any > > > > > > > > problems: > > > > >test> create user.jill > > > > >test> > > > > > > > > > >and users: > > > > >test> create [EMAIL PROTECTED] > > > > >test> > > > > >Can somebody tell me what I did wrong? > > > > Based on your setup example.net is not your default domain. My guess is > > you have 'virtualdomains: yes' and 127.0.0.1 resolves to > > localhost.example.net. > > > > For global admin you need to login as [EMAIL PROTECTED]: > > cyradm --user [EMAIL PROTECTED] --auth login localhost > > > > or > > > > Set 'virtualdomains: userid' > I use this option. So imapd shouldn't make any lookups. > I can create mailbox for > user.rick > [EMAIL PROTECTED] > [EMAIL PROTECTED] > but not for > [EMAIL PROTECTED] > as it written in the virtual domains doc Check your config again, you misspelled virtdomains option (there is no such option as virtualdomains). I also mistakenly assumed your config was correct when I wrote the previous message. -- Igor --- Home Page: http://asg.web.cmu.edu/cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: createmailbox Please Help!
> On Tue, 9 Mar 2004, tsg wrote: > > > > tsg <[EMAIL PROTECTED]> 03/09/04 06:41pm >>> > > > >Hi! > > > >I tried to create virtual domain mailboxes with cyrus-imapd v2.2.3 as > > > > > > it > > > > > > >written in install-virtdomains.html, but I got error: > > > > > > > ># cyradm --user administrator --auth login localhost > > > > > > > >test> create [EMAIL PROTECTED] > > > >createmailbox: Permission denied > > > > > > > >in the mean time I can create default domain users without any > > > > > > problems: > > > >test> create user.jill > > > >test> > > > > > > > >and users: > > > >test> create [EMAIL PROTECTED] > > > >test> > > > >Can somebody tell me what I did wrong? > > Based on your setup example.net is not your default domain. My guess is > you have 'virtualdomains: yes' and 127.0.0.1 resolves to > localhost.example.net. > > For global admin you need to login as [EMAIL PROTECTED]: > cyradm --user [EMAIL PROTECTED] --auth login localhost > > or > > Set 'virtualdomains: userid' I use this option. So imapd shouldn't make any lookups. I can create mailbox for user.rick [EMAIL PROTECTED] [EMAIL PROTECTED] but not for [EMAIL PROTECTED] as it written in the virtual domains doc > > -Igor > > > > >My imapd.conf: > > > >configdirectory:/var/lib/imap > > > >defaultpartition: default > > > >partition-default: /var/lib/imap/default > > > >partition-news: /var/lib/imap/news > > > >newsspool:/var/spool/imap/news > > > >admins: root administrator [EMAIL PROTECTED] > > > >sasl_pwcheck_method:saslauthd > > > >#sasl_maximum_layer: 256 > > > >#sasl_minimum_layer: 128 > > > >allowanonimouslogin:no > > > >allowplaintext: yes > > > >#servername: test.com > > > >tls_cert_file: /var/lib/imap/cyrus.crt > > > >tls_key_file: /var/lib/imap/cyrus.key > > > >tls_ca_path:/usr/share/ssl > > > >tls_ca_file:/usr/share/ssl/certs/ca.crt > > > >#tls_require_cert: yes > > > >imapidresponse: no > > > >sendmail: /usr/sbin/sendmail > > > >sievedir: /var/lib/imap/sieve > > > >virtualdomains: userid > > > >#hashimapspool: yes > > > >defaultdomain: test.com > > > > > > > >Please help! > > > >Best regards. Sergios > > > > > > Hi Sergios, > > > > > > In your imapd.conf, the value of the "virtualdomains:" key should _not_ > > > be "userid"; it should be "yes" or "t" or "1" > > > > > > Mike. > > > > Hi Mike! > > Thank you for your answer! > > > > From Cyrus-imapd documentation: > > In order to accomplish this, Cyrus needs to know which domain to look in > > when a mailbox is accessed. There are two ways in which Cyrus can > > determine the domain: > > > > * Fully qualified userid - the client logs in with a userid > > containing the domain in which the user belongs (e.g [EMAIL PROTECTED] or > > test%example.net) * IP address - the server looks up the domain based on > > the IP address of the receiving interface (useful for servers with > > multiple NICs or using IP aliasing) > > > > Both of these methods are active if the virtdomains option is set to on > > (or yes, 1, true) and can be used in conjunction with one another. If the > > virtdomains option is set to userid, then only the first method is used. > > Note that a fully qualified userid takes precedence over a domain > > obtained from the IP address. > > > > But I do not need any IP lookups. So I used > > virtualdomains: userid > > > > But anyhow > > virtualdomains: yes > > > > gives the same result. > > > > > --- > > > Home Page: http://asg.web.cmu.edu/cyrus > > > Wiki/FAQ: http://cyruswiki.andrew.cmu.edu > > > List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html > > > > --- > > Home Page: http://asg.web.cmu.edu/cyrus > > Wiki/FAQ: http://cyruswiki.andrew.cmu.edu > > List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html --- Home Page: http://asg.web.cmu.edu/cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: createmailbox Please Help!
> tsg wrote: > > Hi! > > I tried to create virtual domain mailboxes with cyrus-imapd v2.2.3 as it > > written in install-virtdomains.html, but I got error: > > > > # cyradm --user administrator --auth login localhost > > > > test> create [EMAIL PROTECTED] > > createmailbox: Permission denied > > What does imapd.log show when you try this? Nothing. Just Mar 10 11:38:41 test master[6778]: about to exec /usr/lib/cyrus/bin/imapd Mar 10 11:38:41 test imap[6778]: executed Mar 10 11:38:41 test imap[6778]: accepted connection Mar 10 11:38:45 test imap[6778]: login: test [127.0.0.1] administrator plaintext --- Home Page: http://asg.web.cmu.edu/cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: createmailbox Please Help!
On Tue, 9 Mar 2004, tsg wrote: > Âòîðíèê 09 Ìàðò 2004 19:21, Âû íàïèñàëè: > > > tsg <[EMAIL PROTECTED]> 03/09/04 06:41pm >>> > > >Hi! > > >I tried to create virtual domain mailboxes with cyrus-imapd v2.2.3 as > > > > it > > > > >written in install-virtdomains.html, but I got error: > > > > > ># cyradm --user administrator --auth login localhost > > > > > >test> create [EMAIL PROTECTED] > > >createmailbox: Permission denied > > > > > >in the mean time I can create default domain users without any > > > > problems: > > >test> create user.jill > > >test> > > > > > >and users: > > >test> create [EMAIL PROTECTED] > > >test> > > >Can somebody tell me what I did wrong? Based on your setup example.net is not your default domain. My guess is you have 'virtualdomains: yes' and 127.0.0.1 resolves to localhost.example.net. For global admin you need to login as [EMAIL PROTECTED]: cyradm --user [EMAIL PROTECTED] --auth login localhost or Set 'virtualdomains: userid' -Igor > > > > > >My imapd.conf: > > >configdirectory:/var/lib/imap > > >defaultpartition: default > > >partition-default: /var/lib/imap/default > > >partition-news: /var/lib/imap/news > > >newsspool:/var/spool/imap/news > > >admins: root administrator [EMAIL PROTECTED] > > >sasl_pwcheck_method:saslauthd > > >#sasl_maximum_layer: 256 > > >#sasl_minimum_layer: 128 > > >allowanonimouslogin:no > > >allowplaintext: yes > > >#servername: test.com > > >tls_cert_file: /var/lib/imap/cyrus.crt > > >tls_key_file: /var/lib/imap/cyrus.key > > >tls_ca_path:/usr/share/ssl > > >tls_ca_file:/usr/share/ssl/certs/ca.crt > > >#tls_require_cert: yes > > >imapidresponse: no > > >sendmail: /usr/sbin/sendmail > > >sievedir: /var/lib/imap/sieve > > >virtualdomains: userid > > >#hashimapspool: yes > > >defaultdomain: test.com > > > > > >Please help! > > >Best regards. Sergios > > > > Hi Sergios, > > > > In your imapd.conf, the value of the "virtualdomains:" key should _not_ > > be "userid"; it should be "yes" or "t" or "1" > > > > Mike. > Hi Mike! > Thank you for your answer! > > From Cyrus-imapd documentation: > In order to accomplish this, Cyrus needs to know which domain to look in when > a mailbox is accessed. There are two ways in which Cyrus can determine the > domain: > > * Fully qualified userid - the client logs in with a userid containing the > domain in which the user belongs (e.g [EMAIL PROTECTED] or test%example.net) > * IP address - the server looks up the domain based on the IP address of > the receiving interface (useful for servers with multiple NICs or using IP > aliasing) > > Both of these methods are active if the virtdomains option is set to on (or > yes, 1, true) and can be used in conjunction with one another. If the > virtdomains option is set to userid, then only the first method is used. Note > that a fully qualified userid takes precedence over a domain obtained from > the IP address. > > But I do not need any IP lookups. So I used > virtualdomains: userid > > But anyhow > virtualdomains: yes > > gives the same result. > > --- > > Home Page: http://asg.web.cmu.edu/cyrus > > Wiki/FAQ: http://cyruswiki.andrew.cmu.edu > > List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html > > --- > Home Page: http://asg.web.cmu.edu/cyrus > Wiki/FAQ: http://cyruswiki.andrew.cmu.edu > List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html > -- Igor --- Home Page: http://asg.web.cmu.edu/cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: createmailbox Please Help!
Mike O'Rourke wrote: tsg <[EMAIL PROTECTED]> 03/09/04 06:41pm >>> Hi! I tried to create virtual domain mailboxes with cyrus-imapd v2.2.3 as it written in install-virtdomains.html, but I got error: # cyradm --user administrator --auth login localhost test> create [EMAIL PROTECTED] createmailbox: Permission denied in the mean time I can create default domain users without any problems: test> create user.jill test> and users: test> create [EMAIL PROTECTED] test> Can somebody tell me what I did wrong? My imapd.conf: configdirectory:/var/lib/imap defaultpartition: default partition-default: /var/lib/imap/default partition-news: /var/lib/imap/news newsspool:/var/spool/imap/news admins: root administrator [EMAIL PROTECTED] sasl_pwcheck_method:saslauthd #sasl_maximum_layer: 256 #sasl_minimum_layer: 128 allowanonimouslogin:no allowplaintext: yes #servername: test.com tls_cert_file: /var/lib/imap/cyrus.crt tls_key_file: /var/lib/imap/cyrus.key tls_ca_path:/usr/share/ssl tls_ca_file:/usr/share/ssl/certs/ca.crt #tls_require_cert: yes imapidresponse: no sendmail: /usr/sbin/sendmail sievedir: /var/lib/imap/sieve virtualdomains: userid #hashimapspool: yes defaultdomain: test.com Please help! Best regards. Sergios Hi Sergios, In your imapd.conf, the value of the "virtualdomains:" key should _not_ be "userid"; it should be "yes" or "t" or "1" virtdomains is now a tri-mode option, and "userid" is valid. -- 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 --- Home Page: http://asg.web.cmu.edu/cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: createmailbox Please Help!
tsg wrote: Hi! I tried to create virtual domain mailboxes with cyrus-imapd v2.2.3 as it written in install-virtdomains.html, but I got error: # cyradm --user administrator --auth login localhost test> create [EMAIL PROTECTED] createmailbox: Permission denied What does imapd.log show when you try this? -- 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 --- Home Page: http://asg.web.cmu.edu/cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: createmailbox Please Help!
Вторник 09 Март 2004 19:21, Вы написали: > > tsg <[EMAIL PROTECTED]> 03/09/04 06:41pm >>> > >Hi! > >I tried to create virtual domain mailboxes with cyrus-imapd v2.2.3 as > > it > > >written in install-virtdomains.html, but I got error: > > > ># cyradm --user administrator --auth login localhost > > > >test> create [EMAIL PROTECTED] > >createmailbox: Permission denied > > > >in the mean time I can create default domain users without any > > problems: > >test> create user.jill > >test> > > > >and users: > >test> create [EMAIL PROTECTED] > >test> > >Can somebody tell me what I did wrong? > > > >My imapd.conf: > >configdirectory:/var/lib/imap > >defaultpartition: default > >partition-default: /var/lib/imap/default > >partition-news: /var/lib/imap/news > >newsspool:/var/spool/imap/news > >admins: root administrator [EMAIL PROTECTED] > >sasl_pwcheck_method:saslauthd > >#sasl_maximum_layer: 256 > >#sasl_minimum_layer: 128 > >allowanonimouslogin:no > >allowplaintext: yes > >#servername: test.com > >tls_cert_file: /var/lib/imap/cyrus.crt > >tls_key_file: /var/lib/imap/cyrus.key > >tls_ca_path:/usr/share/ssl > >tls_ca_file:/usr/share/ssl/certs/ca.crt > >#tls_require_cert: yes > >imapidresponse: no > >sendmail: /usr/sbin/sendmail > >sievedir: /var/lib/imap/sieve > >virtualdomains: userid > >#hashimapspool: yes > >defaultdomain: test.com > > > >Please help! > >Best regards. Sergios > > Hi Sergios, > > In your imapd.conf, the value of the "virtualdomains:" key should _not_ > be "userid"; it should be "yes" or "t" or "1" > > Mike. Hi Mike! Thank you for your answer! >From Cyrus-imapd documentation: In order to accomplish this, Cyrus needs to know which domain to look in when a mailbox is accessed. There are two ways in which Cyrus can determine the domain: * Fully qualified userid - the client logs in with a userid containing the domain in which the user belongs (e.g [EMAIL PROTECTED] or test%example.net) * IP address - the server looks up the domain based on the IP address of the receiving interface (useful for servers with multiple NICs or using IP aliasing) Both of these methods are active if the virtdomains option is set to on (or yes, 1, true) and can be used in conjunction with one another. If the virtdomains option is set to userid, then only the first method is used. Note that a fully qualified userid takes precedence over a domain obtained from the IP address. But I do not need any IP lookups. So I used virtualdomains: userid But anyhow virtualdomains: yes gives the same result. > --- > Home Page: http://asg.web.cmu.edu/cyrus > Wiki/FAQ: http://cyruswiki.andrew.cmu.edu > List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html --- Home Page: http://asg.web.cmu.edu/cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: createmailbox Please Help!
> tsg <[EMAIL PROTECTED]> 03/09/04 06:41pm >>> >Hi! >I tried to create virtual domain mailboxes with cyrus-imapd v2.2.3 as it >written in install-virtdomains.html, but I got error: > ># cyradm --user administrator --auth login localhost > >test> create [EMAIL PROTECTED] >createmailbox: Permission denied > >in the mean time I can create default domain users without any problems: > >test> create user.jill >test> > >and users: >test> create [EMAIL PROTECTED] >test> >Can somebody tell me what I did wrong? > >My imapd.conf: >configdirectory:/var/lib/imap >defaultpartition: default >partition-default: /var/lib/imap/default >partition-news: /var/lib/imap/news >newsspool:/var/spool/imap/news >admins: root administrator [EMAIL PROTECTED] >sasl_pwcheck_method:saslauthd >#sasl_maximum_layer: 256 >#sasl_minimum_layer: 128 >allowanonimouslogin:no >allowplaintext: yes >#servername: test.com >tls_cert_file: /var/lib/imap/cyrus.crt >tls_key_file: /var/lib/imap/cyrus.key >tls_ca_path:/usr/share/ssl >tls_ca_file:/usr/share/ssl/certs/ca.crt >#tls_require_cert: yes >imapidresponse: no >sendmail: /usr/sbin/sendmail >sievedir: /var/lib/imap/sieve >virtualdomains: userid >#hashimapspool: yes >defaultdomain: test.com > >Please help! >Best regards. Sergios Hi Sergios, In your imapd.conf, the value of the "virtualdomains:" key should _not_ be "userid"; it should be "yes" or "t" or "1" Mike. --- Home Page: http://asg.web.cmu.edu/cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
createmailbox Please Help!
Hi! I tried to create virtual domain mailboxes with cyrus-imapd v2.2.3 as it written in install-virtdomains.html, but I got error: # cyradm --user administrator --auth login localhost test> create [EMAIL PROTECTED] createmailbox: Permission denied in the mean time I can create default domain users without any problems: test> create user.jill test> and users: test> create [EMAIL PROTECTED] test> Can somebody tell me what I did wrong? My imapd.conf: configdirectory: /var/lib/imap defaultpartition: default partition-default: /var/lib/imap/default partition-news: /var/lib/imap/news newsspool: /var/spool/imap/news admins: root administrator [EMAIL PROTECTED] sasl_pwcheck_method: saslauthd #sasl_maximum_layer: 256 #sasl_minimum_layer: 128 allowanonimouslogin: no allowplaintext: yes #servername: test.com tls_cert_file: /var/lib/imap/cyrus.crt tls_key_file: /var/lib/imap/cyrus.key tls_ca_path: /usr/share/ssl tls_ca_file: /usr/share/ssl/certs/ca.crt #tls_require_cert: yes imapidresponse: no sendmail: /usr/sbin/sendmail sievedir: /var/lib/imap/sieve virtualdomains: userid #hashimapspool: yes defaultdomain: test.com Please help! Best regards. Sergios --- Home Page: http://asg.web.cmu.edu/cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Please help with Cyrus vs MS Outlook over TSL/SSL
Ilya Basin wrote: On Wednesday 19 November 2003 20:03, Ken Murchison wrote: I'd like to disable plaintext auth at all. Keep in mind that there is a difference between allowing plaintext authentication and allowing plaintext authentication mechanisms. You can enable plaintext authentication mechanisms (SASL PLAIN, IMAP LOGIN, POP3 USER/PASS) without allowing plaintext authentication by forcing the client to use SSL/TLS. In fact, some older clients use nothing but plaintext authentication mechanisms. I've changed the conf as you suggested to auxprop and t start to work FINE. THANK YOU som much. I shame of myself. If you already have an auxprop plugin populated with the user secrets, then this is the way to go. Ilya Basin wrote: Hi, I've spent a week trying to configure cyrus-imapd-2.1.15 to work with MS Outlook 2000 over TLS/SSL. I see no way to fix it... maybe I've missed something? System: Slackware 9.1 openssl-09.7c cyrus-imapd-cyrus-sasl-2.1.15 cyrus-imapd-2.1.15 compiled with no errors. Mozilla Messanger, PINE - checked & work fine with it over port 993 MS Oultook -> (with the options [secure auth], work over SSL (port 993)) gives an error "CRAM-MD5 auth failed" IMAPD.log: imapd[25702]: starttls: TLSv1 with cipher RC4-MD5(128/128 bits new) no authentication imapd[25702]: badlogin: [213.152.132.32] NTLM [SASL(-13): user not found: no secret in database] What kind of authentication do you want to do? Are you only going to allow plaintext auth mechanisms (via saslauthd), or do you want to allow shared secret mechanisms (via an auxprop plugin like sasldb, LDAP, SQL)? The only way you will be able to use Outlook's SPA (NTLM) is to allow the user secrets to be stored in an auxprop backend, or to proxy the NTLM authentication to an NT/2K server. My suggestion is to simply not use Outlook's SPA, since the authentication is already protected by SSL. Unchecking the SPA box should solve your problem. -- 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: Please help with Cyrus vs MS Outlook over TSL/SSL
On Wednesday 19 November 2003 20:03, Ken Murchison wrote: I'd like to disable plaintext auth at all. I've changed the conf as you suggested to auxprop and t start to work FINE. THANK YOU som much. I shame of myself. > Ilya Basin wrote: > > Hi, > > I've spent a week trying to configure cyrus-imapd-2.1.15 > > to work with MS Outlook 2000 over TLS/SSL. > > I see no way to fix it... maybe I've missed something? > > > > > > System: > > > > Slackware 9.1 > > openssl-09.7c > > cyrus-imapd-cyrus-sasl-2.1.15 > > cyrus-imapd-2.1.15 > > > > compiled with no errors. > > > > Mozilla Messanger, PINE - checked & work fine with it over port 993 > > MS Oultook -> (with the options [secure auth], work over SSL (port 993)) > > gives an error "CRAM-MD5 auth failed" > > IMAPD.log: > > > > imapd[25702]: starttls: TLSv1 with cipher RC4-MD5(128/128 bits new) no > > authentication > > imapd[25702]: badlogin: [213.152.132.32] NTLM [SASL(-13): user not found: > > no secret in database] > > What kind of authentication do you want to do? Are you only going to > allow plaintext auth mechanisms (via saslauthd), or do you want to allow > shared secret mechanisms (via an auxprop plugin like sasldb, LDAP, SQL)? > > The only way you will be able to use Outlook's SPA (NTLM) is to allow > the user secrets to be stored in an auxprop backend, or to proxy the > NTLM authentication to an NT/2K server. > > My suggestion is to simply not use Outlook's SPA, since the > authentication is already protected by SSL. Unchecking the SPA box > should solve your problem.
Re: Please help with Cyrus vs MS Outlook over TSL/SSL
Ilya Basin wrote: Hi, I've spent a week trying to configure cyrus-imapd-2.1.15 to work with MS Outlook 2000 over TLS/SSL. I see no way to fix it... maybe I've missed something? System: Slackware 9.1 openssl-09.7c cyrus-imapd-cyrus-sasl-2.1.15 cyrus-imapd-2.1.15 compiled with no errors. Mozilla Messanger, PINE - checked & work fine with it over port 993 MS Oultook -> (with the options [secure auth], work over SSL (port 993)) gives an error "CRAM-MD5 auth failed" IMAPD.log: imapd[25702]: starttls: TLSv1 with cipher RC4-MD5(128/128 bits new) no authentication imapd[25702]: badlogin: [213.152.132.32] NTLM [SASL(-13): user not found: no secret in database] What kind of authentication do you want to do? Are you only going to allow plaintext auth mechanisms (via saslauthd), or do you want to allow shared secret mechanisms (via an auxprop plugin like sasldb, LDAP, SQL)? The only way you will be able to use Outlook's SPA (NTLM) is to allow the user secrets to be stored in an auxprop backend, or to proxy the NTLM authentication to an NT/2K server. My suggestion is to simply not use Outlook's SPA, since the authentication is already protected by SSL. Unchecking the SPA box should solve your problem. -- 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: Please help with Cyrus vs MS Outlook over TSL/SSL
On Wednesday 19 November 2003 19:14, Ilya Basin wrote: I have some additional info. Sorry to provide you with so big bunch of info... ALL imtest passed with OK, like: [EMAIL PROTECTED]:~$ imtest -u ilya -p 993 -s localhost -m digest-md5 verify error:num=18:self signed certificate TLS connection established: TLSv1 with cipher AES256-SHA (256/256 bits) S: * OK torer Cyrus IMAP4 v2.1.15 server ready C: C01 CAPABILITY S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES IDLE AUTH=SRP AUTH=NTLM AUTH=PLAIN AUTH=OTP AUTH=DIGEST-MD5 AUTH=CRAM-MD5 S: C01 OK Completed C: A01 AUTHENTICATE DIGEST-MD5 S: + bm9uY2U9InNRVythSmQxaExpa3hJRzY1elZjanloYjdEZ3Jqdmg5VFhhUk5EcEcweGs9IixyZWFsbT0idG9yZXIiLHFvcD0iYXV0aCIsbWF4YnVmPTQwOTYsY2hhcnNldD11dGYtOCxhbGdvcml0aG09bWQ1LXNlc3M= Please enter your password: C: dXNlcm5hbWU9ImlseWEiLHJlYWxtPSJ0b3JlciIsbm9uY2U9InNRVythSmQxaExpa3hJRzY1elZjanloYjdEZ3Jqdmg5VFhhUk5EcEcweGs9Iixjbm9uY2U9InNuT2NqNWc3MklHenRmdjhEY2dhOXBZL3l1U1ByNnZBRUhtd1VCVk5uYms9IixuYz0wMDAwMDAwMSxxb3A9YXV0aCxtYXhidWY9MTAyNCxkaWdlc3QtdXJpPSJpbWFwL2xvY2FsaG9zdCIscmVzcG9uc2U9ZWYzMGMyZjg0NTFmYzhlNGY4ZDNmZmFlODFlOTBiMWU= S: + cnNwYXV0aD0xNzcxNTM4MDlkOTdkNWFhYTNkYjNlM2VjOWMzMTZjMg== C: S: A01 OK Success (tls protection) Authenticated. Security strength factor: 256 [EMAIL PROTECTED]:~$ imtest -u ilya -p 993 -s localhost -m ntlm verify error:num=18:self signed certificate TLS connection established: TLSv1 with cipher AES256-SHA (256/256 bits) S: * OK torer Cyrus IMAP4 v2.1.15 server ready C: C01 CAPABILITY S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES IDLE AUTH=SRP AUTH=NTLM AUTH=PLAIN AUTH=OTP AUTH=DIGEST-MD5 AUTH=CRAM-MD5 S: C01 OK Completed C: A01 AUTHENTICATE NTLM S: + C: TlRMTVNTUAABB4IgACA= S: + TlRMTVNTUAACCgAKADAFggIAbbWlQikzSmE6IE5UTE0gc2VydmVyIHN0VABPAFIARQBSAA== Please enter your password: C: TlRMTVNTUAADGAAYAEAYABgAWAoACgBwCAAIAHoAggCCBYIAAHEToITshuMXoNRGSZo1bdBAQShmOVTT3SkZ3vXxYZv/ qzD2aNXrN8FSAcpN8VASAVQATwBSAEUAUgBpAGwAeQBhAA== S: A01 OK Success (tls protection) Authenticated. Security strength factor: 256 [EMAIL PROTECTED]:~$ imtest -u ilya -p 993 -s localhost -m cram-md5 verify error:num=18:self signed certificate TLS connection established: TLSv1 with cipher AES256-SHA (256/256 bits) S: * OK torer Cyrus IMAP4 v2.1.15 server ready C: C01 CAPABILITY S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES IDLE AUTH=SRP AUTH=NTLM AUTH=PLAIN AUTH=OTP AUTH=DIGEST-MD5 AUTH=CRAM-MD5 S: C01 OK Completed C: A01 AUTHENTICATE CRAM-MD5 S: + PDM3NjY0NTMxMjQuMTIyOTU0NDVAdG9yZXI+ Please enter your password: C: aWx5YSAyNTdkNzgyODA1ZDBkZWFmOTU5YjdhNWQxZGM1YTY4ZA== S: A01 OK Success (tls protection) Authenticated. Security strength factor: 256 [EMAIL PROTECTED]:~$ imtest -u ilya -p 993 -s localhost -m OTP verify error:num=18:self signed certificate TLS connection established: TLSv1 with cipher AES256-SHA (256/256 bits) S: * OK torer Cyrus IMAP4 v2.1.15 server ready C: C01 CAPABILITY S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES IDLE AUTH=SRP AUTH=NTLM AUTH=PLAIN AUTH=OTP AUTH=DIGEST-MD5 AUTH=CRAM-MD5 S: C01 OK Completed C: A01 AUTHENTICATE OTP S: + Please enter your secret pass-phrase: C: aWx5YQBpbHlh S: + b3RwLW1kNSA0OTggdG81NTU5IGV4dA== C: aGV4OjZjZTI4MmFiZTk4ZDIyY2U= S: A01 OK Success (tls protection) Authenticated. Security strength factor: 256 [EMAIL PROTECTED]:~$ imtest -u ilya -p 993 -s localhost -m SRP verify error:num=18:self signed certificate TLS connection established: TLSv1 with cipher AES256-SHA (256/256 bits) S: * OK torer Cyrus IMAP4 v2.1.15 server ready C: C01 CAPABILITY S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES IDLE AUTH=SRP AUTH=NTLM AUTH=PLAIN AUTH=OTP AUTH=DIGEST-MD5 AUTH=CRAM-MD5 S: C01 OK Completed C: A01 AUTHENTICATE SRP S: + Please enter your password: C: DAAEaWx5YQAEaWx5YQ== S: + AAABIQEArGvbQTJKmpvxZt5eE4lYL69ytmUZh+4H/ DGSlD21YFCjcynLtKCZ7YGT4HV3Z6E91SMSq0sDMQ3Nf0ip2gT9UOgIOWntt2ewz2CVF5oWOrNmGgX71fqq6CkYqZYvC5O4Vfl5k +yXXuqoDXQK2/T/dHNZ0EHVwz6nHSgeRGsUdzvKl7Q6I/ uAFna9IHpDbGSB8dK5B4cXRhpbnTLmiPh3SFRFI7UksNV9Xqd6J3XS7PoDLPvb9S +zeGFgJ5AE5Xrmr4dOcwPOUymczAQce8MI2CpWmPOo0MOCca41+Onb +7aUtcgD2J965DXeI21SX1R1m2XjcvzWjvIPpxEfnkr/cwABAhBJ7hWfe/7e2sJFsO +sRX3PAAltZGE9U0hBLTE= C: AAABDQEAKWbjLQMWWmYoKrbk0FWHDsuvDjALFkKs9c2DYrAt/ TEouoqRBH1R74Bsrf6elkhou3QhhHT7D8
Please help with Cyrus vs MS Outlook over TSL/SSL
Hi, I've spent a week trying to configure cyrus-imapd-2.1.15 to work with MS Outlook 2000 over TLS/SSL. I see no way to fix it... maybe I've missed something? System: Slackware 9.1 openssl-09.7c cyrus-imapd-cyrus-sasl-2.1.15 cyrus-imapd-2.1.15 compiled with no errors. Mozilla Messanger, PINE - checked & work fine with it over port 993 MS Oultook -> (with the options [secure auth], work over SSL (port 993)) gives an error "CRAM-MD5 auth failed" IMAPD.log: imapd[25702]: starttls: TLSv1 with cipher RC4-MD5(128/128 bits new) no authentication imapd[25702]: badlogin: [213.152.132.32] NTLM [SASL(-13): user not found: no secret in database] ### my imapd.conf: ### configdirectory:/usr/local/var/imap partition-default: /usr/local/var/spool/imap sieveusehomedir:false admins: cyrus, ilya allowanonymouslogin: no allowplaintext: no sendmail: /usr/sbin/sendmail sasl_pwcheck_method: saslauthd #sasl_mech_list: srvtab: /etc/ssl tls_ca_path: /etc/ssl tls_ca_file:/etc/ssl/server.pem tls_cert_file: /etc/ssl/server.pem tls_key_file: /etc/ssl/server.pem my cyrus.conf: ### # standard standalone server implementation START { # do not delete this entry! recover cmd="ctl_cyrusdb -r" # this is only necessary if using idled for IMAP IDLE # idledcmd="idled" } # UNIX sockets start with a slash and are put into /var/imap/socket SERVICES { # add or remove based on preferences imapcmd="imapd" listen="imap" prefork=0 imaps cmd="imapd -s" listen="imaps" prefork=0 pop3cmd="pop3d" listen="pop3" prefork=0 pop3s cmd="pop3d -s" listen="pop3s" prefork=0 # sievecmd="timsieved" listen="sieve" prefork=0 # at least one LMTP is required for delivery # lmtp cmd="lmtpd" listen="lmtp" prefork=0 lmtpunix cmd="lmtpd" listen="/var/imap/socket/lmtp" prefork=0 # this is only necessary if using notifications # notify cmd="notifyd" listen="/var/imap/socket/notify" proto="udp" prefork=1 } EVENTS { # this is required checkpointcmd="ctl_cyrusdb -c" period=30 # this is only necessary if using duplicate delivery suppression delprune cmd="ctl_deliver -E 3" at=0400 # this is only necessary if caching TLS sessions tlsprune cmd="tls_prune" at=0400 } my imtest -u ilya -s output: ### [EMAIL PROTECTED]:~$ imtest -u ilya -s localhost verify error:num=18:self signed certificate TLS connection established: TLSv1 with cipher AES256-SHA (256/256 bits) S: * OK torer Cyrus IMAP4 v2.1.15 server ready C: C01 CAPABILITY S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES IDLE AUTH=SRP AUTH=NTLM AUTH=PLAIN AUTH=OTP AUTH=DIGEST-MD5 AUTH=CRAM-MD5 S: C01 OK Completed C: A01 AUTHENTICATE SRP S: + Please enter your password: C: DAAEaWx5YQAEaWx5YQ== S: + AAABIQEArGvbQTJKmpvxZt5eE4lYL69ytmUZh+4H/ DGSlD21YFCjcynLtKCZ7YGT4HV3Z6E91SMSq0sDMQ3Nf0ip2gT9UOgIOWntt2ewz2CVF5oWOrNmGgX71fqq6CkYqZYvC5O4Vfl5k +yXXuqoDXQK2/T/dHNZ0EHVwz6nHSgeRGsUdzvKl7Q6I/ uAFna9IHpDbGSB8dK5B4cXRhpbnTLmiPh3SFRFI7UksNV9Xqd6J3XS7PoDLPvb9S +zeGFgJ5AE5Xrmr4dOcwPOUymczAQce8MI2CpWmPOo0MOCca41+Onb +7aUtcgD2J965DXeI21SX1R1m2XjcvzWjvIPpxEfnkr/cwABAhBJ7hWfe/7e2sJFsO +sRX3PAAltZGE9U0hBLTE= C: AAABDQEAq7MXJsdRD843HkUEX8cH/ wwTuk4WqoZl97ZQ4PBjHVsz6WO81idFeHBO0r4AzdRTfJmPo32HtgleOLphf1usROjnKH3amiih0Kc7p8b8IBH6ZuWJ7HjcaIir0WiSJV3MnYKC5tcrYfra6rhlhnNO7zOcpQfNrywq8qHG7AMdOaSZYR8n60uhD3fPEdcTqaF2bgbvPDAtcfXW8AiDsElbY401Ck9Xl8r1UVsx8T9Sv3QQrbaN9CxPX8T006 +HQfRHJy8S46wnTSwn7y6bYbuwBhrXwGYPNqU4ancS7mY9cTUMb/fPdROWUwGkEbKt/ c0vWiNu8aUqZ+2b0ijGt7q0mwAJbWRhPVNIQS0x S: + AAABAgEAHfp4TXZTfSM+z0QC3NW4my/vcJOCoK0c/IJ5rjOSvP7XcBfbRFvIaKmR +K8qjK8feFciImSB4w +AuvtYArEuCXsTLAo31mFCWEfjQb8CkYQhqaWht3OIHpMHq2rcsS5hTWvszDQvx6eMhxoGSosJ82JSoXgDvQtP0WuhpvRdz8n88T4Y +O3TEFmEz8hktFKK5nvEvsyisOWrADzrjJUfvx/F5tl1AFLpMFB2lWgQ+/2zCbGq9ID+bpS +pfGoiY7WfntuLgVDiWbUZruTZyCAz2rKOICCASsVNtYVgAL0+WFeRfh/ sNQDtN1t6pJYKtXzn7zlgI67LaecWAVEGzSmsw== C: FRQMsbnVGJCD5pP5opXUXUnLXefjnA== S: + FRQKUgxKKRnoElg5H5Zj3wk1duK3jg== C: S: A01 OK Success (tls protection) Authenticated. Security strength factor: 256
Re: make all please help
> > > hai, > i got this error when i make all the imap >my configue > ./configure --with-auth=unix --with-cyrus-user=cyrus > --with-cyrus-group=mail --with-sasl=/usr/local/lib/sasl2/ > > > please help Since you're on RedHat Linux, you may want to try my rpms from http://home.teleport.ch/simix/ They compile fine on any RedHat from 6.2 to the newest beta severn. Simon > > here my follows > > > > > ### Making all in /usr/src/cyrus-imapd-2.1.15/man > make[1]: Entering directory `/usr/src/cyrus-imapd-2.1.15/man' > make[1]: Nothing to be done for `all'. > make[1]: Leaving directory `/usr/src/cyrus-imapd-2.1.15/man' > ### Making all in /usr/src/cyrus-imapd-2.1.15/et > make[1]: Entering directory `/usr/src/cyrus-imapd-2.1.15/et' > make[1]: Nothing to be done for `all'. > make[1]: Leaving directory `/usr/src/cyrus-imapd-2.1.15/et' > ### Making all in /usr/src/cyrus-imapd-2.1.15/sieve > make[1]: Entering directory `/usr/src/cyrus-imapd-2.1.15/sieve' > gcc -c -I. -I.. -I. -I./../lib -I./../et -I/usr/local/include > -I/usr/local/lib/sasl2//include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2 \ > sieve.c > gcc -c -I. -I.. -I. -I./../lib -I./../et -I/usr/local/include > -I/usr/local/lib/sasl2//include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2 \ > sieve-lex.c > gcc -c -I. -I.. -I. -I./../lib -I./../et -I/usr/local/include > -I/usr/local/lib/sasl2//include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2 \ > comparator.c > gcc -c -I. -I.. -I. -I./../lib -I./../et -I/usr/local/include > -I/usr/local/lib/sasl2//include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2 \ > interp.c > gcc -c -I. -I.. -I. -I./../lib -I./../et -I/usr/local/include > -I/usr/local/lib/sasl2//include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2 \ > message.c > gcc -c -I. -I.. -I. -I./../lib -I./../et -I/usr/local/include > -I/usr/local/lib/sasl2//include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2 \ > script.c > gcc -c -I. -I.. -I. -I./../lib -I./../et -I/usr/local/include > -I/usr/local/lib/sasl2//include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2 \ > tree.c > rm -f libsieve.a > ar cr libsieve.a sieve_err.o sieve.o sieve-lex.o comparator.o interp.o > message.o script.o tree.o addr.o addr-lex.o md5.o > ranlib libsieve.a > make[1]: Leaving directory `/usr/src/cyrus-imapd-2.1.15/sieve' > ### Making all in /usr/src/cyrus-imapd-2.1.15/acap > make[1]: Entering directory `/usr/src/cyrus-imapd-2.1.15/acap' > gcc -c -I/usr/local/include -I/usr/local/lib/sasl2//include -I. -I.. -I. > -I./../lib -DHAVE_CONFIG_H -Wall -g -O2 \ > acap.c > gcc -c -I/usr/local/include -I/usr/local/lib/sasl2//include -I. -I.. -I. > -I./../lib -DHAVE_CONFIG_H -Wall -g -O2 \ > acapsieve.c > rm -f libacap.a > ar cr libacap.a acap.o acapsieve.o skip-list.o acap_err.o > ranlib libacap.a > make[1]: Leaving directory `/usr/src/cyrus-imapd-2.1.15/acap' > ### Making all in /usr/src/cyrus-imapd-2.1.15/lib > make[1]: Entering directory `/usr/src/cyrus-imapd-2.1.15/lib' > gcc -c -I.. -I/usr/local/include -I/usr/local/lib/sasl2//include > -DHAVE_CONFIG_H -I. -I. -Wall -g -O2 \ > acl.c > gcc -c -I.. -I/usr/local/include -I/usr/local/lib/sasl2//include > -DHAVE_CONFIG_H -I. -I. -Wall -g -O2 \ > assert.c > gcc -c -I.. -I/usr/local/include -I/usr/local/lib/sasl2//include > -DHAVE_CONFIG_H -I. -I. -Wall -g -O2 \ > bsearch.c > gcc -c -I.. -I/usr/local/include -I/usr/local/lib/sasl2//include > -DHAVE_CONFIG_H -I. -I. -Wall -g -O2 \ > charset.c > gcc -c -I.. -I/usr/local/include -I/usr/local/lib/sasl2//include > -DHAVE_CONFIG_H -I. -I. -Wall -g -O2 \ > glob.c > gcc -c -I.. -I/usr/local/include -I/usr/local/lib/sasl2//include > -DHAVE_CONFIG_H -I. -I. -Wall -g -O2 \ > retry.c > gcc -c -I.. -I/usr/local/include -I/usr/local/lib/sasl2//include > -DHAVE_CONFIG_H -I. -I. -Wall -g -O2 \ > util.c > gcc -c -I.. -I/usr/local/include -I/usr/local/lib/sasl2//include > -DHAVE_CONFIG_H -I. -I. -Wall -g -O2 \ > prot.c > gcc -c -I.. -I/usr/local/include -I/usr/local/lib/sasl2//include > -DHAVE_CONFIG_H -I. -I. -Wall -g -O2 \ > parseaddr.c > gcc -c -I.. -I/usr/local/include -I/usr/local/lib/sasl2//include > -DHAVE_CONFIG_H -I. -I. -Wall -g -O2 \ > imclient.c > gcc -c -I.. -I/usr/local/include -I/usr/local/lib/sasl2//include > -DHAVE_CONFIG_H -I. -I. -Wall -g -O2 \ > imparse.c > gcc -c -I.. -I/usr/local/include -I/usr/local/lib/sasl2//include > -DHAVE_CONFIG_H -I. -I. -Wall -g -O2 \ > xmalloc.c > gcc -c -I.. -I/usr/local/include -I/usr/local/lib/sasl2//include > -DHAVE_CONFIG_H -I. -I. -Wall -g -O2 \ > hash.c > gcc -c -I.. -I/usr/local/include -I/usr/local/lib/sasl2//include > -DHAVE_CONFIG_H -I. -I. -Wall -g -O2 \ > mpool.c > gcc -c
make all please help
hai, i got this error when i make all the imap my configue ./configure --with-auth=unix --with-cyrus-user=cyrus --with-cyrus-group=mail --with-sasl=/usr/local/lib/sasl2/ please help here my follows ### Making all in /usr/src/cyrus-imapd-2.1.15/man make[1]: Entering directory `/usr/src/cyrus-imapd-2.1.15/man' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/src/cyrus-imapd-2.1.15/man' ### Making all in /usr/src/cyrus-imapd-2.1.15/et make[1]: Entering directory `/usr/src/cyrus-imapd-2.1.15/et' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/src/cyrus-imapd-2.1.15/et' ### Making all in /usr/src/cyrus-imapd-2.1.15/sieve make[1]: Entering directory `/usr/src/cyrus-imapd-2.1.15/sieve' gcc -c -I. -I.. -I. -I./../lib -I./../et -I/usr/local/include -I/usr/local/lib/sasl2//include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2 \ sieve.c gcc -c -I. -I.. -I. -I./../lib -I./../et -I/usr/local/include -I/usr/local/lib/sasl2//include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2 \ sieve-lex.c gcc -c -I. -I.. -I. -I./../lib -I./../et -I/usr/local/include -I/usr/local/lib/sasl2//include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2 \ comparator.c gcc -c -I. -I.. -I. -I./../lib -I./../et -I/usr/local/include -I/usr/local/lib/sasl2//include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2 \ interp.c gcc -c -I. -I.. -I. -I./../lib -I./../et -I/usr/local/include -I/usr/local/lib/sasl2//include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2 \ message.c gcc -c -I. -I.. -I. -I./../lib -I./../et -I/usr/local/include -I/usr/local/lib/sasl2//include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2 \ script.c gcc -c -I. -I.. -I. -I./../lib -I./../et -I/usr/local/include -I/usr/local/lib/sasl2//include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2 \ tree.c rm -f libsieve.a ar cr libsieve.a sieve_err.o sieve.o sieve-lex.o comparator.o interp.o message.o script.o tree.o addr.o addr-lex.o md5.o ranlib libsieve.a make[1]: Leaving directory `/usr/src/cyrus-imapd-2.1.15/sieve' ### Making all in /usr/src/cyrus-imapd-2.1.15/acap make[1]: Entering directory `/usr/src/cyrus-imapd-2.1.15/acap' gcc -c -I/usr/local/include -I/usr/local/lib/sasl2//include -I. -I.. -I. -I./../lib -DHAVE_CONFIG_H -Wall -g -O2 \ acap.c gcc -c -I/usr/local/include -I/usr/local/lib/sasl2//include -I. -I.. -I. -I./../lib -DHAVE_CONFIG_H -Wall -g -O2 \ acapsieve.c rm -f libacap.a ar cr libacap.a acap.o acapsieve.o skip-list.o acap_err.o ranlib libacap.a make[1]: Leaving directory `/usr/src/cyrus-imapd-2.1.15/acap' ### Making all in /usr/src/cyrus-imapd-2.1.15/lib make[1]: Entering directory `/usr/src/cyrus-imapd-2.1.15/lib' gcc -c -I.. -I/usr/local/include -I/usr/local/lib/sasl2//include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2 \ acl.c gcc -c -I.. -I/usr/local/include -I/usr/local/lib/sasl2//include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2 \ assert.c gcc -c -I.. -I/usr/local/include -I/usr/local/lib/sasl2//include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2 \ bsearch.c gcc -c -I.. -I/usr/local/include -I/usr/local/lib/sasl2//include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2 \ charset.c gcc -c -I.. -I/usr/local/include -I/usr/local/lib/sasl2//include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2 \ glob.c gcc -c -I.. -I/usr/local/include -I/usr/local/lib/sasl2//include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2 \ retry.c gcc -c -I.. -I/usr/local/include -I/usr/local/lib/sasl2//include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2 \ util.c gcc -c -I.. -I/usr/local/include -I/usr/local/lib/sasl2//include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2 \ prot.c gcc -c -I.. -I/usr/local/include -I/usr/local/lib/sasl2//include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2 \ parseaddr.c gcc -c -I.. -I/usr/local/include -I/usr/local/lib/sasl2//include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2 \ imclient.c gcc -c -I.. -I/usr/local/include -I/usr/local/lib/sasl2//include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2 \ imparse.c gcc -c -I.. -I/usr/local/include -I/usr/local/lib/sasl2//include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2 \ xmalloc.c gcc -c -I.. -I/usr/local/include -I/usr/local/lib/sasl2//include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2 \ hash.c gcc -c -I.. -I/usr/local/include -I/usr/local/lib/sasl2//include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2 \ mpool.c gcc -c -I.. -I/usr/local/include -I/usr/local/lib/sasl2//include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2 \ cyrusdb.c gcc -c -I.. -I/usr/local/include -I/usr/local/lib/sasl2//include -DHAVE_CONFIG_H -I. -I. -Wall -g -O2 \ mkchartable.c gcc -L/usr/local/lib -Wl,-rpath,/usr/local/lib -o mkchartable mkchartable.o xmalloc.o assert.o ### Building chartables... rm -f chartable.c ./mkchartable \ -m ./charset/unifix.txt\ -m ./charset/unidata2.txt \ ./charset/*.t \ > chartable.c \ || (rm -f chartable.c && exit 1) mkchartable: expanding unicode mappings... mkchartable: expanding unicode mappings... mkchartable: expanding unicode mappings... mkchartable: building expansion table... mkchartable: map
Please help me to set up a mail server system.
Hello! First of all, sorry about cross-posting in all lists, but I'm kind of desperate for help. I'm trying to set up a system for one of my customers, the system is a SuSE Linux 8.2 Pro and will be used as a web server and mail server hotel. The web server is solved, but not the mail. I'm not at all familiar with mail systems unfortunately, therefore I'm turning to you in the lists for help, either directly or if you can point me to where I can read more etc. Ideally, the whole system, both web, ftp and mail would have one "real" *nix user as administrator for the virtual domain, then all mail accounts belonging to that domain should all be virtual, no "real" user on the system. Now on to the software, in SuSE Pro there are the following included, and we should use those and no others, just to have a simple, no-hassle way of updating the system: Postfix, Cyrus-IMAPd, Cyrus-SASL and Squirrelmail. All users, both real and virtual should be able to use pop3, IMAP and to send mail via the system (relaying with smtp-auth). Can all those virtual users be easily stored in a database, MySQL or whichever? Can all users be easily managed and administered? The main administrator is going to set up a virtual domain, with one admin ("real" user) and create x numbers of virtual mail users per domain hosted on the system. I sincerely hope you can help! Regards, Anders Norrbring Norrbring Consulting Karlskoga / Sweden
Re: Please help! Probs with cyrus-imapd 2.1.9 and db3 - DBERROR db3: Unable to allocate memory
On Mon, 18 Nov 2002 19:53:17 +0100 Carsten Hoeger <[EMAIL PROTECTED]> wrote: > > I apply the patch and 'make clean' && re-compile db3, SASL and imapd > > but it doesnt work for me: > > > Sure that you installed the recompiled sasl libraries? Sure :) I found the error. There where an old installation of SuSE's db3 in /usr/lib. I removed the files and symlinked them against my fresh compiled db3 - and it works! :) Many thanks to Carsten! Regards, Marc.