squatter error "Closing index: Cannot allocate memory"
root@imap:~# su - cyrus -c '/usr/bin/nice -n 19 /usr/bin/ionice -c 3 /usr/sbin/squatter -vis user/archive' Indexing mailbox user/archive... Closing index: Cannot allocate memory The mailbox has ~1,3 million emails with a total size of ~124Gb The 2.6.32-5-686 Debian squeeze kernel has total used free sharedbuffers cached Mem: 20663081639956 426352 0 52 875672 -/+ buffers/cache: 7642321302076 Swap: 979832 118400 861432 Using cyrus-imapd-2.32.3.16-1 cyrus dot something files have the following sizes: -rw--- 1 cyrus mail 58M Jun 20 09:28 cyrus.index -rw--- 1 cyrus mail 1.3G Jun 20 09:28 cyrus.cache -rw--- 1 cyrus mail 1.1G Jun 19 23:48 cyrus.squat.NEW -rw--- 1 cyrus mail 197 Jan 13 2011 cyrus.header Could this be a bug or should I make more memory room available for squatter to do it's job? Thanks. 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: auto create / subscribe folder patches
On Thu, Oct 4, 2012 at 1:00 AM, Bron Gondwana wrote: > On Wed, Oct 3, 2012, at 11:50 PM, mailing list subscriber wrote: >> On Wed, Oct 3, 2012 at 8:53 AM, Bron Gondwana wrote: >> > On Wed, Oct 3, 2012, at 07:22 AM, Simon Walter wrote: >> >> On 10/03/2012 01:32 PM, Andrew Morgan wrote: >> >> > If I remember right, the autocreate patches don't work in a Cyrus >> >> > Murder (cluster). Until the autocreate patches work with all the >> >> > supported ways of running Cyrus IMAP, I don't think they will be >> >> > included. >> >> > >> >> > I can understand your issue though. The bigger Cyrus sites already >> >> > use scripts to create new mailboxes when new users are created. The >> >> > really small sites probably don't mind creating mailboxes by hand. >> >> > The sites with more than 10 but fewer than 100 users probably are not >> >> > satisfied by either solution. >> >> > >> >> >> >> Understood. Hopefully something like that will be implemented that works >> >> with Murder. Perhaps the same code that cyradm uses to create mailboxes? >> >> >> >> We do have quite a few users. I'm pretty sure anyone managing users via >> >> LDAP would prefer to have mailboxes automatically created. I may look >> >> into an OpenLDAP overlay. Failing that, Dovecot. >> >> >> >> Anyway, thanks for explaining this. >> > >> > They're in the git repository now, and will be in Cyrus 2.5 when it's >> > ready for release. They still don't work with murder, but I'm looking >> > into that. Of course, it would need some form of "autocreatebackend" >> > option with murder... >> >> I noticed that everytime auto- patches have been brought into issue, >> murder was argued as a sensible impacted part. i'm curious how many >> admins out of total setups are actually using it. I myself just abuse >> cyrus as a single server for a soho office, so murder it's always >> ignored. I understand it's powerful and there are other setups with >> massive number of servers and users, but I'm just curious if maybe at >> some point would be better to give those with a couple of mailboxes a >> murder-free cyrus fork where you can easily patch things ("global >> sieve rules" dead thread?) without worrying about breaking murder? > > Who wants to maintain that? Not me. It's bad enough keeping 2.4 and > master (soon to be 2.5) following a similar path. > > That said, I'm happy to merge a patch that does global sieve rules in > a sane way, even if they don't work with murder (presumably - each > backend would have its own global rules and it's the admin's problem > to keep them in sync. That's cool - sieve doesn't really interact with > murder much anyway. > > I even don't mind if they don't replicate. > > But it had better bloody work with the different alt_namespace and > unixheirarchy settings, and not introduce and security problems. And > someone who actually cares had better write it if they want it. There was this patch in 2006, is it close to requirements? http://www.irbs.net/internet/info-cyrus/0612/0181.html Two months later Ken asked the author to upload the patch in a bug, but no bug I can find in bugzilla: http://www.irbs.net/internet/info-cyrus/0702/0057.html If is not compatible with current version, what can we ask the author to modify about it? I have bcc'ed this email to original patch author, Florian G Pflug > > I don't see how to make it work. I would much prefer to have an > @include syntax for sieve which made it easy for users to import the > rule from a central account or something, so it's manageable and > visible to the user controlling the sieve account. > > Or you can do what we do at FastMail which is provide a rule builder > interface and spit our boilerplate into everyone's sieve scripts before > uploading them to the server. That works fine too - and the user can > always see the raw script if they want to understand what's going on, > or override it completely if they'd rather do it themselves and forgo > the automated stuff. > > The automated stuff is peppered throughout the script, around their > various rules - doing everything from adjustible spam filtering to > automatically filing messages matching different "personalities" they > have created into separate folders. You can't have that much power > with a dumb global prepend. > > But hey - feel free to fork if there's something you feel strongly > enough about and are willing to support. > > Bron. > -- > Bron Gondwana > br...@fastmail.fm > 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: auto create / subscribe folder patches
On Wed, Oct 3, 2012 at 8:53 AM, Bron Gondwana wrote: > On Wed, Oct 3, 2012, at 07:22 AM, Simon Walter wrote: >> On 10/03/2012 01:32 PM, Andrew Morgan wrote: >> > If I remember right, the autocreate patches don't work in a Cyrus >> > Murder (cluster). Until the autocreate patches work with all the >> > supported ways of running Cyrus IMAP, I don't think they will be >> > included. >> > >> > I can understand your issue though. The bigger Cyrus sites already >> > use scripts to create new mailboxes when new users are created. The >> > really small sites probably don't mind creating mailboxes by hand. >> > The sites with more than 10 but fewer than 100 users probably are not >> > satisfied by either solution. >> > >> >> Understood. Hopefully something like that will be implemented that works >> with Murder. Perhaps the same code that cyradm uses to create mailboxes? >> >> We do have quite a few users. I'm pretty sure anyone managing users via >> LDAP would prefer to have mailboxes automatically created. I may look >> into an OpenLDAP overlay. Failing that, Dovecot. >> >> Anyway, thanks for explaining this. > > They're in the git repository now, and will be in Cyrus 2.5 when it's > ready for release. They still don't work with murder, but I'm looking > into that. Of course, it would need some form of "autocreatebackend" > option with murder... I noticed that everytime auto- patches have been brought into issue, murder was argued as a sensible impacted part. i'm curious how many admins out of total setups are actually using it. I myself just abuse cyrus as a single server for a soho office, so murder it's always ignored. I understand it's powerful and there are other setups with massive number of servers and users, but I'm just curious if maybe at some point would be better to give those with a couple of mailboxes a murder-free cyrus fork where you can easily patch things ("global sieve rules" dead thread?) without worrying about breaking murder? 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: simple php sieve script
On Thu, Aug 30, 2012 at 12:29 AM, Ron Vachiyer wrote: > Hello, > > I am looking for a rather simple php script to connect to the sieve server, > list any active script, and download one if it is active, and print its > contents as output. > > I have been looking at various libraries, but I have come up short of > examples. Pear's NetSieve seems particularily powerful yet inversely > proportionally documented :( Is anyone using something to do this task? > > Thanks in advance, I am not a programmer, but I'd dig into avelsieve (squirrelmail plugin) or roundcube code as a starting point. 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
Global default admin-enforced sieve script?
Do devs accept we admins need this, and if yes when can we expect it into release? This has been previously precisely described back in 2007: http://goo.gl/Lo33b Also in 2004, with reference to 2001: http://goo.gl/Gbo0k So ten years after the first occurence of this feature request, do I really have to start considering cyrus the sendmail of imap servers and move to something else, or is there any hope for $subject *REALLY*SOON*? Many thanks. Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
Re: Webmail
Thanks a lot to everyone!!! I'll try all the solutions you have suggested and I'm sure I'll solve my problems! Stefano C 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: Squirrelmail
Great!!! I was thinking that "login" were concened over Linux axxount, instead it refers to saslauthd demon. Perfect, it's running perfectly THANKS A LOT! :-) Stefano C. > Hi, > > [EMAIL PROTECTED] schrieb: >> Hello! >> Does anybody know how can I set Squirrelmail to work with Cyrus using >> sasldb authentication mode? > > Where is the problem? > Choose in conf.pl "2 Server Settings" -> "A IMAP-Settings" -> "8 Server > Software" = cyrus and it should work. > SQM doesn't need to know what authentication mode cyrus is using. > You only have to choose your > 6. Authentication type: digest-md5 > 7. Secure IMAP (TLS) : true > > in "2 Server Settings" and specify your IMAP-Server. > > Andi > > > 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
Webmail
Hello everyone! I would realize a webmail system based on Cyrus IMAP. What can you suggest me? I've find out these different products that could be usefull for my purposes: 1) Squirremail 2) Horde-IMP 3) Openwebmail I have set Cyrus to work with ssaslauth authentication style and I would maintain it. I would use Horde because it seems there is a gorupware Horde-based that should be so cool. It could be fantastic if Horde could interface with MS Outlook to share contacts and other informaions. Does anyone have some experiences in that way? Thakns a lot in advance!!! Stefano C. 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
Squirrelmail
Hello! Does anybody know how can I set Squirrelmail to work with Cyrus using sasldb authentication mode? Thanks a lot in advance! Stefano C. 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: Cyrus authentication failed
Thanks a lot! I'll try that but I've solved changing password for cyrus user in Linux: passwd cyrus etc. Thanks a lot for your smart support !! We have solved!! :-))) Stefano C. > Am Tuesday 03 October 2006 12:23 schrieb [EMAIL PROTECTED]: > >> > sasl_mech_list: plain login >> > >> > is missing. Then test again with cyrus and "other" users. Do "other" >> > users work anymore? >> > >> > Then show how you start saslauthd. >> >> Sorry I've forgotten >> I start saslauth as following: >> rcsaslauthd start > > Not that, the Options: > > saslauthd -a . > > -- > Andreas > > 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: Cyrus authentication failed
> sasl_mech_list: plain login > > is missing. Then test again with cyrus and "other" users. Do "other" users > work anymore? > > Then show how you start saslauthd. > Sorry I've forgotten I start saslauth as following: rcsaslauthd start Stefano C. 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: Cyrus authentication failed
After inserting: sasl_mech_list: plain login this is my telnet session: 0a010 login cyrus cyrus 0a010 NO Login failed: authentication failure 0a011 logout * BYE LOGOUT received 0a011 OK Completed Connection closed by foreign host. I can correctly login as other users that worked before the line you suggested me. Another problem: I would make a backup of mails. I've made a copy of: /var/spool/imap /var/lib/imap /var/lib/sieve according to my /etc/inid.conf and also made a ctl_cyrusdb -d mb.txt as cyrus user. When I try to recover mailboxes.db with: cvt_cyrusdb mb.txt flat mailboxes.db.stefano berkeley I receive: Sorry, you cannot use this tool with relative path names. This is because some database backends (mainly berkeley) do not always do what you would expect with them. Please use absolute pathnames instead. Where I'm going wrong? Thanks a lot in advance Stefano C. > Am Tuesday 03 October 2006 00:06 schrieb [EMAIL PROTECTED]: > >> My imapd.conf is: >> >> configdirectory: /var/lib/imap >> partition-default: /var/spool/imap >> sievedir: /var/lib/sieve >> admins: cyrus >> allowanonymouslogin: no >> autocreatequota: 1 >> reject8bit: no >> quotawarn: 90 >> timeout: 30 >> poptimeout: 10 >> dracinterval: 0 >> drachost: localhost >> sasl_pwcheck_method: saslauthd >> lmtp_overquota_perm_failure: no >> lmtp_downcase_rcpt: yes > > sasl_mech_list: plain login > > is missing. Then test again with cyrus and "other" users. Do "other" users > work anymore? > > Then show how you start saslauthd. > >> I think I understand what you mean, but I've always used saspasswd2 -c >> username, where username is an existing linux user, to create account >> for >> Cyrus and it has always worked. >> >> Stefano C. >> >> > Am Monday 02 October 2006 18:36 schrieb [EMAIL PROTECTED]: >> >> I was trying to make some test over backing up and recovery a simple >> >> IMAP >> >> server inside a LAN. >> >> First I have uninstalled cyrus-imapd and cyrus-sasl-saslathd RPMs >> from >> >> my >> >> SuSE 10.1. >> >> >> >> Second I've deleted cyrus user from my system. >> >> >> >> I overrided the folowing directories: >> >> /var/spool/imap >> >> /var/lib/imap >> >> /var/lib/sieve >> >> with the ones of te system I would recover. >> >> >> >> Then I've created a plaintext backup of mailboxes.db using (as root): >> >> su -cyrus -c "ctl_mailboxlist -d" > mailboxlist.txt >> >> >> >> I've build a database from the plaintext using: >> >> cvt_cyrusdb mailboxlist.txt >> >> >> >> Now I can connect to Cyrus with: >> >> telnet localhost 143 >> >> as every user listed with: >> >> sasldblistusers >> >> except as cyrus. > >> >> My server IMAP can receive mails from inside and outside the LAN. >> >> Anyway, it's unconfortable I receive: >> >> 0: NO "authentication failed" >> >> >> >> for the command: >> >> testsaslauthd -u cyrus -p cyrus >> > >> > Above you tell something about sasldb, here you test with saslauthd. >> How >> > did >> > you configure saslauthd? Is it really configured to use sasldb? >> > >> > Show your imapd.conf. > > -- > Andreas > > 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: Cyrus authentication failed
Thanx a lot! My imapd.conf is: configdirectory: /var/lib/imap partition-default: /var/spool/imap sievedir: /var/lib/sieve admins: cyrus allowanonymouslogin: no autocreatequota: 1 reject8bit: no quotawarn: 90 timeout: 30 poptimeout: 10 dracinterval: 0 drachost: localhost sasl_pwcheck_method: saslauthd lmtp_overquota_perm_failure: no lmtp_downcase_rcpt: yes I think I understand what you mean, but I've always used saspasswd2 -c username, where username is an existing linux user, to create account for Cyrus and it has always worked. Stefano C. > Am Monday 02 October 2006 18:36 schrieb [EMAIL PROTECTED]: > >> I was trying to make some test over backing up and recovery a simple >> IMAP >> server inside a LAN. >> First I have uninstalled cyrus-imapd and cyrus-sasl-saslathd RPMs from >> my >> SuSE 10.1. >> >> Second I've deleted cyrus user from my system. >> >> I overrided the folowing directories: >> /var/spool/imap >> /var/lib/imap >> /var/lib/sieve >> with the ones of te system I would recover. >> >> Then I've created a plaintext backup of mailboxes.db using (as root): >> su -cyrus -c "ctl_mailboxlist -d" > mailboxlist.txt >> >> I've build a database from the plaintext using: >> cvt_cyrusdb mailboxlist.txt >> >> Now I can connect to Cyrus with: >> telnet localhost 143 >> as every user listed with: >> sasldblistusers >> except as cyrus. >> >> I think this is the source for strange messages I find in >> /valr/log/messages like: >> lmtpunix[21679]: IOERROR: fstating sieve script >> /var/lib/sieve/u/utente/defaultbc: No such file or directory > > The User has no Sieve-Script. Either ignore these Errors or don't log > DEBUG-Messages in Syslog. > >> My server IMAP can receive mails from inside and outside the LAN. >> Anyway, it's unconfortable I receive: >> 0: NO "authentication failed" >> >> for the command: >> testsaslauthd -u cyrus -p cyrus > > Above you tell something about sasldb, here you test with saslauthd. How > did > you configure saslauthd? Is it really configured to use sasldb? > > Show your imapd.conf. > > -- > Andreas > > 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
Cyrus authentication failed
Hello everyone! I was trying to make some test over backing up and recovery a simple IMAP server inside a LAN. First I have uninstalled cyrus-imapd and cyrus-sasl-saslathd RPMs from my SuSE 10.1. Second I've deleted cyrus user from my system. I overrided the folowing directories: /var/spool/imap /var/lib/imap /var/lib/sieve with the ones of te system I would recover. Then I've created a plaintext backup of mailboxes.db using (as root): su -cyrus -c "ctl_mailboxlist -d" > mailboxlist.txt I've build a database from the plaintext using: cvt_cyrusdb mailboxlist.txt Now I can connect to Cyrus with: telnet localhost 143 as every user listed with: sasldblistusers except as cyrus. I think this is the source for strange messages I find in /valr/log/messages like: lmtpunix[21679]: IOERROR: fstating sieve script /var/lib/sieve/u/utente/defaultbc: No such file or directory My server IMAP can receive mails from inside and outside the LAN. Anyway, it's unconfortable I receive: 0: NO "authentication failed" for the command: testsaslauthd -u cyrus -p cyrus Any suggestions? Thanks in advance! Stefano C. 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: Two questions
Thanks a lot everyone for the answers!!! > > >> -Original Message- >> On Wed, 2006-09-27 at 19:26 -0500, [EMAIL PROTECTED] wrote: >> > su - cyrus -c "ctl_mboxlist -d" > /var/lib/imap/mboxlist.txt >> > >> > but how can I recover my mailboxes from mboxlist.txt? >> >> cvt_cyrusdb will build a database from the dump. > > This will only rebuild the mailbox database. You also need to back up > all the files in the cyrus directories. > Do you mean I have to backup also /var/lib/imap? Just another question ;-) Working with ACLs I was able to assign rights to Cyrus users on different mailboxes. Now I try to explain with an example. Let's say I have a mailbox user.A and a mailbox user.B and that user A can access (read) user.B. Is it possible to connect Cyrus from Evolution as user A and access, with that connection, also user.B? Thank all of you very much!!! Stefano C. 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
Two questions
Hello everyone! I have two problems, maybe very simple but I cannot find out a solution. 1) How can I backup and recover Cyrus mailboxes? I've found something like this to backup: su - cyrus -c "ctl_mboxlist -d" > /var/lib/imap/mboxlist.txt but how can I recover my mailboxes from mboxlist.txt? 2) How can I delete messages inside my IMAP mailboxes from Evolution? I try to cancel them but I cannot completely remove from IMAP mailbox. Thanks a lot for attention and any help you could give me! Stefano C. 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
(no subject)
unsubscribe 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
SASL Authentication
Perhaps it could be usefull for someone... If I try: imtest -a cyrus -m plain -p imap localhost I receive: 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 STARTTLS LISTEXT LIST-SUBSCRIBED ANNOTATEMORE X-NETSCAPE S: C01 OK Completed Authentication failed. no mechanism available Security strength factor: 0 Could it be usefull? Thanks a lot! Stefano C. 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
Another SASL...
Thanks again for your support! I restarted cyrus but the provlem was the same. My sasldb is in: /var/lib/sasl2/sasl.db I use mdk 10. I've tried to delete user cyrus and recreate it. Trying: cyradm localhost -u cyrus I receive the following message in /var/log/mail/info: Dec 16 15:40:35 server imapd[2438]: accepted connection Dec 16 15:40:35 server cyrus-master[2477]: about to exec /usr/lib/cyrus-imapd/imapd Dec 16 15:40:35 server imap[2477]: executed Dec 16 15:40:37 server imapd[2438]: badlogin: localhost[127.0.0.1] plaintext cyrus SASL(-13): user not found: checkpass failed The file /var/lib/sasl2/sasl.db has 777 attributes and if I try sasldblistuser2 cyrus appears normally. About deliver...I find something strange... don't u think? -rwxr-xr-x 1 root root 0 2005-12-09 14:49 deliver ... Perhaps I deleted it in some way during a lot of test... Thank u so much!!! I feel we're next to the solution! P.S. Just a general question: if I use saslauthd I have a daemon listening on a socket where application can pass parameters to use SASL support, and I can configure that daemon with /etc/sysconfig/saslauthd, but when I use auxprop, isn't there a daemon listening on a socket? Stefano C. 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
SASL...
I was forgotting...I cannot locate file sasldb2...How can I know where it is? Stefano C. 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
SASL problems again...and more...
Thanks in advance to all the ones that answered me!!! I haven't solve the problem yet... :-( My imapd.conf contains: sasl_pwcheck_method: auxprop sasl_auxprop_plugin: sasldb sasl_mech_list: plain login cram-md5 digest-md5 and sasldblistusers2 shows me all the users I inserted in SASL authentication system. If I try: telnet localhost imap 0a100 login cyrus cyrus I receive: 0a100 NO Login failed: user not found and no message in /var/log/messages. If I try: testsaslauthd -u cyrus -p cyrus in /var/log/messages I read: Dec 15 17:12:01 server imap(pam_unix)[2565]: authentication failure; logname= uid=0 euid=0 tty= ruser= rhost= user=cyrus Dec 15 17:12:03 server saslauthd[2565]: do_auth : auth failure: [user=cyrus] [service=imap] [realm=] [mech=pam] [reason=PAM auth error] If I try: saslpasswd2 -c cyrus I receive: Could not set secret for cyrus saslpasswd2: requested change was not needed Trying: cyradm localhost -u cyrus write the following in /var/log/messages: Dec 15 17:17:06 server perl: No worthy mechs found and the followin in shell: Login failed: user not found at /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi/Cyrus/IMAP/Admin.pm line 118 cyradm: cannot authenticate to server with as cyrus I'm using the same configuration files on a Mandrake 10 and Mandrake 10.1 and SuSE 9.2, and all the problems are on mdk 10. On SuSE 9.2 I cannot use the deliver program to send mails to Cyrus from shell or procmail. Could it be due for the same reason? Thank you very very VERY MUCH Stefano C. 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
SASL problems
I do apologize but I have a problem I cannot solve. I type: sasldblistusers2 and I see that user cyrus exists in sasl2.db, that has 644 permissions. When I try testsaslauthd -u cyrus -p cyrus I found in /var/log/messages the following: Dec 14 12:42:19 server imap(pam_unix)[2999]: authentication failure; logname= uid=0 euid=0 tty= ruser= rhost= user=cyrus Dec 14 12:42:22 server saslauthd[2999]: do_auth : auth failure: [user=cyrus] [service=imap] [realm=] [mech=pam] [reason=PAM auth error] My /etc/imapd.conf has: sasl_pwcheck_method: saslauthd sasl_mech_list: PLAIN and ps -elf | grep sasl returns: 1 S root 2997 1 0 85 0 - 1048 interr 12:35 ?00:00:00 saslauthd -a pam 1 S root 2998 2997 0 85 0 - 1059 interr 12:35 ?00:00:00 saslauthd -a pam 1 S root 2999 2997 0 85 0 - 1059 interr 12:35 ?00:00:00 saslauthd -a pam 1 S root 3000 2997 0 85 0 - 1048 schedu 12:35 ?00:00:00 saslauthd -a pam 1 S root 3002 2997 0 85 0 - 1048 interr 12:35 ?00:00:00 saslauthd -a pam Please, can anyone help me? Thank you in advance Stefano C. 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
Deliver problem
Hello everyone! I'm using Cyrus since last summer and I've been able to solve all my problems (with help from this mailing list ;-) ) but now I cannot solve the following. I use SuSE professionale 9.2 and I run cyrus without problem, I can connect with telnet localhost imap and authenticate with 0a100 login test test Also I can read my mailbox from Evolution but when I try to use deliver command in the form of the book "Managing IMAP" deliver -m user.test test < mail nothing happens. I've looked in some log files: /var/log/messsages /var/log/mail.info but I can't see anything about errors in communication between deliver and imapd. Please, can someone help me? Thank you so much!!! Stefano 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
Delivery problem
Sorry if I ask it again but I really would find a solution to my problem that I cannot solve by my own. The problem is that I try to use deliver from procmail I receive the following error in /var/log/messages: connect(/var/lib/imap/socket/lmtp) failed: Permission denied Cyrus IMAP is running ok and I can connect to it from Eudora or other MUA. Can someone help me? Thank you so much Stefano C. --- 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
Local delivery problem
Hi everyone! I have a problem with delivery of my local mails. I download mails from my ISP with fetchmail a pipe them to procmail who calls deliver to send mail to cyrus server. Everything goes all right but the last step: in the $HOME/.procmaillog file I receive the following error: procmail: Executing "/usr/lib/cyrus/bin/deliver,-e,-a,prova,-m,user.prova" couldn't connect to lmtpd: Bad file descriptor I've tried also as root but nothing happens. Can you suggest something please? Stefano C. --- 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
Segmentation no more!!!!
I'd like to thank you every one who posted me a solution, but in particular Stefan Berger !!! Stefan you are my superman!!! I think the key was putting: sasl_mech_list: cram-md5 in /etc/imapd.conf. One day I'll undestand why, but by now I wanna THHANNK YO SOO MHHH!!! See you in Italy, one day or another ... Thank you again!!! Stefano
Segmentation no more?
Ok, something seems to happen... This is my shell results: [EMAIL PROTECTED]:/home/stefano> cyradm -u cyrus localhost Password: cyradm: cannot authenticate to server with as cyrus [EMAIL PROTECTED]:/home/stefano> I added: sasl_mech_list: cram-md5 plain and I 've tried: sasl_mech_list: cram-md5 to /etc/imad.conf but the result is the same. We are near to the solution I think! I think the problem of the client will come after that at least the user cyrus could connect. Am I wrong? Stefano
Re: Segmentation
Alle 17:31, lunedì 2 maggio 2005, Stefan Berger ha scritto: > [EMAIL PROTECTED] schrieb: > > I've installed every cyrus, cyrus-sasl packages and sasldauth is > > running as imad. > > > > My /etc/sysconfig/saslauthd is the following: > > > > ## Path: System/Security/SASL > > > > ## Type: list(getpwent,kerberos5,pam,rimap,shadow,ldap) > > > > ## Default: pam > > > > ## ServiceRestart: saslauthd > > > > # > > > > # Authentication mechanism to use by saslauthd. > > > > # See man 8 saslauthd for available mechanisms. > > > > # > > > > SASLAUTHD_AUTHMECH=pam > > > > The packages I've installed related to PAM are the following: > > > > pam > > > > pam-develop > > > > pam-modules > > > > PyPam > > > > YAST-pam > > > > I've looked for /etc/pam.conf and /etc/sysconfig/pam.conf but I > > haven't found them. > > > > Panic! :-) > > wich email client do you use? Mutt? No, I use KMail but my purpose is to use Cyrus also from Outlook Express and probably Eudora. Do you think I could have any problem from the mail client? --- 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
Segmentation
I've installed every cyrus, cyrus-sasl packages and sasldauth is running as imad. My /etc/sysconfig/saslauthd is the following: ## Path: System/Security/SASL ## Type: list(getpwent,kerberos5,pam,rimap,shadow,ldap) ## Default:pam ## ServiceRestart: saslauthd # # Authentication mechanism to use by saslauthd. # See man 8 saslauthd for available mechanisms. # SASLAUTHD_AUTHMECH=pam The packages I've installed related to PAM are the following: pam pam-develop pam-modules PyPam YAST-pam I've looked for /etc/pam.conf and /etc/sysconfig/pam.conf but I haven't found them. Panic! :-)
Segmentation fault again
I've installed Cyrus from RPM. The version is 2.2.8-6 on SuSE Linux Professional 9.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
Segmentation fault again
I've tried to start cyradm with modified rights 644 but I receive the same error: Segmentation fault. The log /var/messages contains: May 2 14:32:46 vlad master[7472]: about to exec /usr/lib/cyrus/bin/imapd May 2 14:32:46 vlad imap[7472]: executed May 2 14:32:46 vlad imap[7472]: accepted connection May 2 14:32:46 vlad imap[7472]: DIGEST-MD5 server step 1 May 2 14:32:46 vlad perl: DIGEST-MD5 client step 2 May 2 14:32:51 vlad imap[7472]: DIGEST-MD5 server step 2 May 2 14:32:51 vlad imap[7472]: client response doesn't match what we generated May 2 14:32:51 vlad imap[7472]: badlogin: localhost [127.0.0.1] DIGEST-MD5 [SASL(-13): authentication failure: client response doesn't match what we generated] My /etc/imad.conf is: configdirectory: /var/lib/imap partition-default: /var/spool/imap sievedir: /var/lib/sieve admins: cyrus allowanonymouslogin: no autocreatequota: 1 reject8bit: no quotawarn: 90 timeout: 30 poptimeout: 10 dracinterval: 0 drachost: localhost sasl_pwcheck_method: saslauthd lmtp_overquota_perm_failure: no Thank you Stefano
Segmentation fault2
In the meanwhile I've tried the following: testsaslauthd -u cyrus -p cyrus and I' received: 0: OK "Success." Then I've tried: imtest -u cyrus and I' received: S: * OK vlad Cyrus IMAP4 v2.2.8 server ready C: C01 CAPABILITY S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE IDLE AUTH=GSSAPI AUTH=CRAM-MD5 AUTH=DIGEST-MD5 SASL-IR X-NETSCAPE S: C01 OK Completed Authentication failed. generic failure Security strength factor: 0 Could it be usefull? Thanks a lot Stefano
Segmentation fault
Hi everyone! I've installed Cyrus on my SuSE 9.2 professional and as I try to use cyradm with: cyradm localhost I enter my password and I receive: Segmentation fault I think it depends on SASL authentication or some other type of permission, at least from what I can understand form the log file /var/log/messages, the reports the following after a sequence that I've described before: May 1 09:58:19 vlad master[6282]: about to exec /usr/lib/cyrus/bin/imapd May 1 09:58:19 vlad imap[6282]: executed May 1 09:58:19 vlad imap[6282]: accepted connection May 1 09:58:19 vlad imap[6282]: OTP unavailable because can't read/write key database /etc/opiekeys: No such file or directory May 1 09:58:19 vlad perl: GSSAPI Error: Miscellaneous failure (see text) (unable to find realm of host localhost) May 1 09:58:19 vlad imap[6282]: DIGEST-MD5 server step 1 May 1 09:58:19 vlad perl: DIGEST-MD5 client step 2 May 1 09:58:23 vlad imap[6282]: DIGEST-MD5 server step 2 May 1 09:58:23 vlad imap[6282]: unable to open Berkeley db /etc/sasldb2: Permission denied May 1 09:58:23 vlad imap[6282]: unable to open Berkeley db /etc/sasldb2: Permission denied May 1 09:58:23 vlad imap[6282]: no secret in database May 1 09:58:23 vlad imap[6282]: badlogin: localhost [127.0.0.1] DIGEST-MD5 [SASL(-13): user not found: no secret in database] I also tried something with gdb but I'm not so good with it, and everything I was able to reach for the command: gdb cyradm localhost was: /usr/bin/cyradm": not in executable format: File format not recognized /home/stefano/localhost: No such file or directory. Could someone help me? I'm having this problem for a log time... Thank you so much! Stefano
Start problems
Hello everyone! This is my first time in the mailing list and I'm a new Cyrus user sobe patient... ;-) I'm running Cyrus on SuSE 9.2 professional, I've my user "cyrus" and cyrus is running, but when I try to run cyradm as cyrus I receive the following message: Segmentation fault and the prompt returns. Could someone help me? Thank you so much! Stefano --- 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 logfile
Christoph Krempe said: > > Hi, > > is there any possibility to configure cyurus server so that the server > messages are not logged in /var/log/messages but in a seperate file? This is nothing about cyrus. man syslog is your answer to make the choice you need to edit /etc/syslog.cong ++ luc > > Thanks, > > Gruß Ch. Krempe > > - > FU Berlin > - Universitaetsbibliothek - > Ch. Krempe > Garystr. 39 > 14195 Berlin
re: pros over courier
Dave C said: > Hello, > > I was wondering if people could give me some pros/cons > with courier and cyrus. I'm currently testing both. > The package must use ldap auth, do the maildir format > and also be setup for tls. any thoughts or suggestions > would be welcome If you want maildir, you have only courier (or qmail but it was not your question). > > __ > Do You Yahoo!? > Try FREE Yahoo! Mail - the world's greatest free email! > http://mail.yahoo.com/
Re: Vacation not working, seeing 2 return paths in headers
Hello, I also have 2 return-path from the beginning : Return-Path: X-Sieve: cmu-sieve 2.0 Return-Path: <[EMAIL PROTECTED]> Received: by mail.slortar.net (Postfix, from userid 102) id 4D61372C006; Wed, 27 Feb 2002 08:27:47 +0100 (CET) X-Sieve: cmu-sieve 2.0 Received: from lists2.andrew.cmu.edu (LISTS2.ANDREW.CMU.EDU [128.2.10.216]) by mail.slortar.net (Postfix) with ESMTP id 3832972C005 for <[EMAIL PROTECTED]>; Wed, 27 Feb 2002 08:27:46 +0100 (CET) The 2 are added by sieve, one when it comes to my mailing-lists account and is forwarded to my main account, the 2nd one from my account when sieve file it into the correct folder. slortar.net is my domain, nynaeve is the name of my server >From the little that I know They don't seem to be a bother at all, they are added by the local delivery agent when mail is already accepted and therefore there is no need to have a return-path that is used by the MTA when, for example, local recipient doesn't exist. Vacation should better used the from header ? Maybe I am completly wrong ... Regards Luc Mike Grommet said: > Hmmm ok, I've gotten much closer... > > Actually, I got vacation to properly respond... but I'm not really > happy with what is going on yet... mainly because I'm still seeing 2 > return paths but things at least work right... > > Part of my problem is that somehow on my machine, under my sendmail > config files I have a > mailer/cyrus.m4 > > When I specified MAILER(cyrus) it was pulling in a bunch of definitions > from there... In my sendmail .mc file, I had my own definition for the > cyrus mailer, but the others were getting dumped in there too, and my > guess is that sendmail was taking the first one... Here is the > relevant part of my generated sendmail.cf... the last Mcyrus is mine, > the others were just added from the cyrus.m4 file > > Well, I'm still getting multiple return paths, but they are just copies > of each other... Still, I dont like having 2 of them, and this concerns > me... > > Example Headers: > Return-Path: <[EMAIL PROTECTED]> > X-Sieve: cmu-sieve 2.0 > Return-Path: <[EMAIL PROTECTED]> > Received: from elucidations.net ([64.9.213.129]) > From: "Mike Grommet" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Subject: blah > > > I'm happy its working, don't get me wrong, I've working on this for way > too long, but isnt the fact that I have to return paths a Really Bad > Thing(tm) ? > > Any ideas where its coming from? Understanding is a good thing, yes? > >
Re: Cyrus-Imap - Postfix : Mailbox does not exist (Urgent problem...)
It is a postfix configuration problem. I had this for a few days when I had : local_transport = cyrus when I use : mailbox_transport = cyrus It was solved. luc said: > Hello, > > I have looked in the maillist archives and seen this problem mentioned > a few times but i do not find any satisfactory answers. I need an aswer > fast.. > > I have 2 setups > > 1st: > localhost> ver > name : Cyrus > version: v2.0.16 > vendor : Project Cyrus > support-url: http://asg.web.cmu.edu/cyrus > os : Linux > os-version : 2.4.14 > environment: Cyrus SASL 1.5.24 > Sleepycat Software: Berkeley DB 3.1.17: (July 31, 2000) > OpenSSL 0.9.6b [engine] 9 Jul 2001 > > 2nd: > localhost> ver > name : Cyrus IMAPD > version: v2.1.1 2002/01/14 20:08:56 > vendor : Project Cyrus > support-url: http://asg.web.cmu.edu/cyrus > os : Linux > os-version : 2.4.10-4GB > environment: Cyrus SASL 2.1.1 > Sleepycat Software: Berkeley DB 3.1.17: (July 31, 2000) > OpenSSL 0.9.6b [engine] 9 Jul 2001 > CMU Sieve 2.0 > TCP Wrappers > UCD-SNMP 4.2.1 > lock = flock > auth = unix > idle = poll > mboxlist = db3 > > On both setups I have the same problem. > > I have several mailboxes wich work ok and are accessible without > problems. Mail arrives without problem and can be read. > > The problem arises when mail gets sent to multiple mailboxes on the > server. In that case the mail *does* get deleiverd ok but the sender > (Internal and/or external) > gets an errormessage stating that the mailbox does not exist > > This is what I find in my logfiles. > > Feb 5 11:31:33 venus postfix/pipe[20613]: 2DEE2234D: > to=<[EMAIL PROTECTED]>, relay=cyrus, delay=0, status=bounced > (data format error. Command output: : Mailbox does not exist ) > > Feb 5 11:31:33 venus postfix/pipe[20613]: 2DEE2234D: > to=<[EMAIL PROTECTED]>, relay=cyrus, delay=0, status=bounced > (data format error. Command output: : Mailbox does not exist ) > > My Os : > SuSE 7.3 > Linux venus 2.4.14 #5 Thu Jan 24 23:31:57 CET 2002 i686 unknown > > Thaks for some quick help, > If this does not get resolved soon I will have to replace Cyrus with > another server... > > > Stefan Goethals > System Engineer > > --- > Adept n.v. > The partner to make IT happen! > > Vlamingstraat 4, B-8560 Wevelgem > E-mail : [EMAIL PROTECTED] > Tel : +32-(0)56-432.888 > Fax : +32-(0)56-432.881 > > The information transmitted is intended only for the person or entity > to which > it is addressed. It may contain confidential, proprietary or legally > privileged > information. No confidentiality or privilege is waived or lost by any > mistransmission. If you receive this message in error, please > immediately delete it and all copies of it from your system, destroy > any hard copies of it > and notify the sender. You must not, directly or indirectly, use, > disclose, > distribute, print, or copy any part of this message if you are not the > intended > recipient. ADEPT and each of its subsidiaries each reserve the right > to monitor all e-mail communications through its networks. Any views > expressed in this message are those of the individual sender, except > where the message states otherwise and the sender is authorised to > state them to be the views of any such entity. Unless otherwise stated, > any pricing information given in this message is indicative only, is > subject to change and does not constitute an offer to deal at any price > quoted. Any reference > > to the terms of executed transactions should be treated as preliminary > only > > and subject to our formal written confirmation.
RE: Too many users?
Mattias Nilsson said: > >> > Is there any way to make cyrus use some kind of >> subdirectory tree for >> > the user directories, which would (to me) be the obvious solution. >> >> cyrus 2.0.16 creates such subdirectories (i use that version not sure >> this feature was added) > > Cyrus creates a subdirectory tree for var/imap/user, but not for > var/spool/imap/users. true. I didn't checked that. I don't go in there very often ... and i have very few users. > -- > Best Regards, Mattias Nilsson > Ballou Internet Services > http://www.ballou.se/
Re: Too many users?
Mattias Nilsson said: > > Hi > > We are currently running cyrus with postfix quite successfully, but now > we've run into the problem that we cannot create any more mailboxes. > Issuing 'cm.username' in cyradm only produces the error message > 'createmailbox: System I/O error'. My best guess is that there are too > many user mailbox directories in the var/spool/imap/user directory, > which currently holds exactly 32768 directories. > > Is there any way to make cyrus use some kind of subdirectory tree for > the user directories, which would (to me) be the obvious solution. cyrus 2.0.16 creates such subdirectories (i use that version not sure this feature was added) > > BTW. We're running FreeBSD 4.3-STABLE, if it matters. What matters is the version of cyrus. > > Any input would be helpful. Thanks. > > -- > Mvh, Mattias Nilsson > Ballou Internet Services > http://www.ballou.se/
Re: user unknown?
Jure Pecar said: > On Tue, 15 Jan 2002 14:39:03 -0500 > Lawrence Greenfield <[EMAIL PROTECTED]> wrote: > >> You're authenticating as an administrative user? > > Yes. I have admins: cyrus line in imapd.conf. > >> So for my mailbox, cyradm should be like: >> mail1.andrew.cmu.edu> lm user.leg >> user.leg (\HasChildren) >> mail1.andrew.cmu.edu> > > $ cyradm -u cyrus imap > IMAP Password: > imap> > imap> cm test If I remember correctly you should be creating the user with 'cm user.test'