RH7.1/rpm install/cyradm (again)
hi if you recall, i posted a question a couple of days ago about what the second password is which cyradm asks for with the cyrus-imapd-2.0.9-3.i386.rpm install that comes with RH7.1 haven't had any replies, but have found that using a very old cyradm which i have installed on another machine (1.5.something) seems to have the rights to create new user folders on my RH7.1 machine without asking for two passwords, whcih seems a little strange...surely thats a security hole of some kind, regardless of what the intent of the extra password is on the newer version? would still appreciate an explanation of the two passwords and their significance from anyone who understands it all ;-) also, trying to make everything as simple as possible for the install: the rpm does not seem to incluse a sendmail.cf or prototype for sendmail.cf...if i want to do this as far as possibel with rpms, what the best palce for me to find such a beats, and to install it (without downloading the whole cyrus source tree, preferably... thnx for any help - darrell
copying whole folder trees from one server to another
hi i asked a while back about migration tools which could copy whole user folder trees form one imap server to another, and had no repsonse...has anyone used such a tool? i've tried imapcopy, which is fone, but only does inbox, not subfolders thereof... all help very much appreciated! thx
Re: copying whole folder trees from one server to another
thats a help, but i'm hoping someone out there has scripts for this...we have 200+ users, some of whom have over 100 folders each (sigh) thx tho! on 23/10/01 4:10 pm, Louis LeBlanc at [EMAIL PROTECTED] wrote: able to connect to multiple servers. > > I had no hitches with Mutt, but I only had two accounts with probably > less than 20 folders to move. You may have enough to make this an > unfeasable MO. > > HTH > Lou
Re: copying whole folder trees from one server to another
i should have mentioned we're migrating from Netscape Messenger Server on NT... sorry on 23/10/01 4:57 pm, William K. Hardeman at [EMAIL PROTECTED] wrote: > Darrell, > > We just recently finished a migration to a new machine, and used the same > method that Kiarna suggested, except we tarred /var/spool/imap up > completely, instead of doing it user-by-user. We also did the same for our > /var/imap and /var/sieve directories. We were migrating from one machine to > another with identical Cyrus-Berkeley-SASL setups. I don't know how well > this method would work when mixing-n-matching software versions. >
migrating to cyrus from netscape messenger?
anyone got a tried and tested way of doing this? i'm looking at moving about 200 users, with all subfolders...i've found the mbxcopy util from i think the umich imapd system, however i'm unclear if there are issues with it and cyrus, and not sure how to make it work recursively...all help appreciated! thx
Re: migrating to cyrus from netscape messenger?
sorry! i meant migrating a netscape messenger SERVER to cyrus! thx on 16/10/01 5:55 pm, Richmond Dyes at [EMAIL PROTECTED] wrote: > Are you talking about the mail client, if so, everything should be fine or are > you talking about the server?
sendmail/procmail/cyrus/vipul's razor
hi i've been using cyrus for years (still on a 1.6.x verison, which works well)...i'm looking at incorporating vipul's razor for spam filtering, but am unclear how to hook it into cyrus...i'm on a redhat machine, with sendmail.cf build from the cyrus-proto template...i'm NOT a sendmail hacker, so don't really understand the intricacies of how & when procmail and cyrus' deliver are called, and where/how to add the razor-check call in to make it all work (basically i need to bounce mail to a 'bounce' address for all users if piping the full message into razor-check returns a specific result code... is this easy? do i just set up an /etc/procmailrc as shown in the razor docs and off it go? or do i need to hack sendmail.cf so that procmail even gets a lookin? thx for any help
imapd 2.2.8 crashing with any services enabled in cyrus.conf (REPOST)
(sorry, reposting as my original post didn't seem to hit the list) Hi I'm attempting to build imapd 2.2.8 with sasl 2.1.19 on linux 2.4.27 (debian sarge). I'm basically following the HOWTO at http://www.delouw.ch/linux/Postfix-Cyrus-Web-cyradm-HOWTO/html/t1.html, with things tweaked slightly for current versions. config for SASL was ./configure --enable-anon --enable-plain --enable-login --disable-krb4 --disable-otp --with-saslauthd=/var/run/saslauthd --with-pam=/lib/security --with-dblib=berkeley --with-bdb-libdir=/usr/local/bdb/lib --with-bdb-incdir=/usr/local/bdb/include --with-plugindir=/usr/local/lib/sasl2 --without-des --with-pam and for imapd: ./configure --with-sasl=/usr/local/lib --with-perl --with-auth=unix --with-bdb=/usr/local/bdb --with-bdb-libdir=/usr/local/bdb/lib --with-bdb-incdir=/usr/local/bdb/include --with-openssl=/usr/local/ssl --without-ucdsnmp Berkely DB is db-4.2.52.NC, installed into /usr/local/bdb -- Everything built cleanly. Config files are pretty much the ones from the HOWTO. If I start master with a cyrus.conf which only deals with the 'housekeeping', everything looks good: suitably housekeepingish message in /var/log/messages. However as soon as i uncommment any of hte SERVICES lines in cyrus.conf, and restart master, it (or the process its calling?) simply segfaults. Regardless of which service (imapd, pop etc), an strace of master always ends similar to this: open("/lib/libnss_files.so.2", O_RDONLY) = 7 read(7, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\35"..., 512) = 512 fstat64(7, {st_mode=S_IFREG|0644, st_size=34520, ...}) = 0 old_mmap(NULL, 33720, PROT_READ|PROT_EXEC, MAP_PRIVATE, 7, 0) = 0x4034d000 old_mmap(0x40355000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 7, 0x8000) = 0x40355000 close(7)= 0 open("/usr/local/ssl/lib/libdb3.so.3", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/bdb/lib/libdb3.so.3", O_RDONLY) = -1 ENOENT (No such file or directory) access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/usr/lib/libdb3.so.3", O_RDONLY) = 7 read(7, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\311"..., 512) = 512 fstat64(7, {st_mode=S_IFREG|0644, st_size=692456, ...}) = 0 old_mmap(NULL, 696044, PROT_READ|PROT_EXEC, MAP_PRIVATE, 7, 0) = 0x40356000 old_mmap(0x403ff000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 7, 0xa8000) = 0x403ff000 close(7)= 0 munmap(0x40018000, 51147) = 0 open("/etc/mtab", O_RDONLY) = 7 fstat64(7, {st_mode=S_IFREG|0644, st_size=185, ...}) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000 read(7, "/dev/hdc2 / reiserfs rw 0 0\nproc"..., 4096) = 185 close(7)= 0 munmap(0x40018000, 4096)= 0 open("/proc/stat", O_RDONLY)= 7 fstat64(7, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000 read(7, "cpu 530620 0 112755 2023022\ncpu"..., 4096) = 624 read(7, "", 4096) = 0 close(7)= 0 munmap(0x40018000, 4096)= 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ nesumi:~/src# ...now the only thing (from playing with cyrus years ago) that tweaks my intuition here is that its trying REALLY HARD to find a libdb3.so.3 just before it dies, and i know that cyrus and bdb have always been problematic if various bits of the system are compiled against different releases of it. But: ldd /usr/cyrus/bin/master libresolv.so.2 => /lib/libresolv.so.2 (0x40025000) libdb-4.2.so => /usr/local/bdb/lib/libdb-4.2.so (0x40037000) libssl.so.0.9.7 => /usr/local/ssl/lib/libssl.so.0.9.7 (0x400f1000) libcrypto.so.0.9.7 => /usr/local/ssl/lib/libcrypto.so.0.9.7 (0x4011f000) libc.so.6 => /lib/libc.so.6 (0x40212000) libdl.so.2 => /lib/libdl.so.2 (0x40345000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x4000) and ldd /usr/local/sbin/saslauthd libcrypt.so.1 => /lib/libcrypt.so.1 (0x40025000) libresolv.so.2 => /lib/libresolv.so.2 (0x40052000) libpam.so.0 => /lib/libpam.so.0 (0x40064000) libc.so.6 => /lib/libc.so.6 (0x4006c000) libdl.so.2 => /lib/libdl.so.2 (0x401a) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x4000) so i really don't knwo what gives -- anyone have any ideas? thanks --- 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: imapd 2.2.8 crashing with any services enabled in cyrus.conf (REPOST)
after ldd -v'ing ALL the libs on the system, turned out that it was libnss-db that is the culprit, calling libdb3.so and causing the segfault on startup. apt-get remove libnss-db and a complete rebuild of the cyrus tree seems to have solved this problem. thanks for reassuring me that i was at lest looking in the right direction! d Sebastian Hagedorn wrote: Hi, --- 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
automatically creating default sieve script for new users?
hi I've just installed a couple of cyrus-imapd 2.2.8 servers (with acoutns stored in and authenticated against mysql via SASL2/PAM). All works beautifully apart from the presence of the familiar 'IOERROR: cannot fstat...' errors which sieve generates if users haven't (via sieveshell or websieve) defined for themselves a default sieve script. Is there any way (can't find it on google, sorry) to automatically imbue new cyrus accounts with a default sieve scipt -- either blank, or a template (say to filter all tagged spam into a JUNK folder)? All help appreciated. Regards - Darrell --- 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 Compile Errors
the option is probably ./configure --without-ucsdsnmp (try ./configure --help for all the possibilities) but michael is using spamarrest, which is boring, so i hope he picks the answer up from the list... --- 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
2.2.8/timsieved/comparator-i;ascii-numeric support...?
Hi I'm running cyrus-imapd 2.2.8 with timsieved. Works perfectly. Just tried adding in the avelsieve (http://email.uoa.gr/projects/squirrelmail/avelsieve.php) plugin (similar to websieve, but more cutdown, and works within the squirrelmail framework. nice) to my squirrelmail webmail service. Seems to install ok, but the dependencies it announces for sieve include something called comparator-i;ascii-numeric but my timsieved only reports back "SIEVE" "fileinto reject envelope vacation imapflags notify subaddress relational regex" which i assume is why the 'vacation' stuff in avelsieve doen't autoreply... any ideas what i can do to either get this extra functionality into timsieved, or use avelsieve without it? thanks --- 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
websieve 0.61/can only connect as cyrus admin user/error says no error...?
Hi I've just installed websieve 0.61, connecting to another machine running cyrus imapd 2.0.16. I can successfully connect using websieve as the cyrus admin user (cyrus), but not as any other users. If I try and log in as a user other than cyrus, I get the rather cryptic response via the web: --- Login Error There was an error in login you to the server. Please click HERE and try again. System Error: No Errors --- and in imapd.log on the imap sever I see the equally cryptic: --- Nov 8 14:31:36 machine137 imapd[8232]: accepted connection Nov 8 14:31:36 machine137 imapd[8232]: login: zygote.hhcl.com[212.36.149.2] darrellb plaintext Nov 8 14:31:36 machine137 master[8237]: about to exec /usr/cyrus/bin/timsieved Nov 8 14:31:36 machine137 service-sieve[8237]: executed Nov 8 14:31:36 machine137 service-sieve[8237]: accepted connection Nov 8 14:31:36 machine137 timsieved[8237]: login: zygote.hhcl.com[212.36.149.2] darrellb PLAIN User logged in Nov 8 14:31:36 machine137 master[1034]: process 8237 exited, status 0 --- all of which seems to suggest that everything is OK, except that I get no further! any help much appreciated. thx
RE: websieve 0.61/can only connect as cyrus admin user/error says no error...?
ok, this seems to have been because our users do not by default have quotas set. Can whoever maintains the websieve code maybe shange the default behaviour so that it can cope with mailboxes without quotas set (or at least giev a more informative error message)? ALthough not having quotas is probably nominally a Bad THing, ist surely not reason for websieve to report a connection error! now it seems to work and i can set vcation messages via websieve and see the rules reported via sieveshell. however senders are NOT getting messages back, any ideas? fwiw, the rules its creating for vacation look like this: > get default # Mail rules for user darrellb # Created by Websieve version 0.61h ##PSEUDO script start #vacation&&1&&"[EMAIL PROTECTED]", "[EMAIL PROTECTED]", "[EMAIL PROTECTED]"&&Not Here. Leave a message please&&off #mode&&basic is that right? -Original Message- From: [EMAIL PROTECTED] [mailto:owner-info-cyrus@;lists.andrew.cmu.edu]On Behalf Of Darrell Berry Sent: 08 November 2002 14:38 To: [EMAIL PROTECTED] Subject: websieve 0.61/can only connect as cyrus admin user/error says no error...? Hi I've just installed websieve 0.61, connecting to another machine running cyrus imapd 2.0.16. I can successfully connect using websieve as the cyrus admin user (cyrus), but not as any other users. If I try and log in as a user other than cyrus, I get the rather cryptic response via the web: --- Login Error There was an error in login you to the server. Please click HERE and try again. System Error: No Errors --- and in imapd.log on the imap sever I see the equally cryptic: --- Nov 8 14:31:36 machine137 imapd[8232]: accepted connection Nov 8 14:31:36 machine137 imapd[8232]: login: zygote.hhcl.com[212.36.149.2] darrellb plaintext Nov 8 14:31:36 machine137 master[8237]: about to exec /usr/cyrus/bin/timsieved Nov 8 14:31:36 machine137 service-sieve[8237]: executed Nov 8 14:31:36 machine137 service-sieve[8237]: accepted connection Nov 8 14:31:36 machine137 timsieved[8237]: login: zygote.hhcl.com[212.36.149.2] darrellb PLAIN User logged in Nov 8 14:31:36 machine137 master[1034]: process 8237 exited, status 0 --- all of which seems to suggest that everything is OK, except that I get no further! any help much appreciated. thx -Original Message- From: [EMAIL PROTECTED] [mailto:owner-info-cyrus@;lists.andrew.cmu.edu]On Behalf Of Darrell Berry Sent: 08 November 2002 14:38 To: [EMAIL PROTECTED] Subject: websieve 0.61/can only connect as cyrus admin user/error says no error...? Hi I've just installed websieve 0.61, connecting to another machine running cyrus imapd 2.0.16. I can successfully connect using websieve as the cyrus admin user (cyrus), but not as any other users. If I try and log in as a user other than cyrus, I get the rather cryptic response via the web: --- Login Error There was an error in login you to the server. Please click HERE and try again. System Error: No Errors --- and in imapd.log on the imap sever I see the equally cryptic: --- Nov 8 14:31:36 machine137 imapd[8232]: accepted connection Nov 8 14:31:36 machine137 imapd[8232]: login: zygote.hhcl.com[212.36.149.2] darrellb plaintext Nov 8 14:31:36 machine137 master[8237]: about to exec /usr/cyrus/bin/timsieved Nov 8 14:31:36 machine137 service-sieve[8237]: executed Nov 8 14:31:36 machine137 service-sieve[8237]: accepted connection Nov 8 14:31:36 machine137 timsieved[8237]: login: zygote.hhcl.com[212.36.149.2] darrellb PLAIN User logged in Nov 8 14:31:36 machine137 master[1034]: process 8237 exited, status 0 --- all of which seems to suggest that everything is OK, except that I get no further! any help much appreciated. thx
RE: websieve 0.61/can only connect as cyrus admin user/error says no error...?
oops, actually the rules look like the following. I have sendmail: /usr/sbin/sendmail set in /etc/imapd.conf, but still not seeing any response being sent back to the senders of messages -- i've seen lots of discussion about sieve and vacation in the maciling lists, but nothing conclusive -- any ideas? i;m running cyrus imapd 2.0.16, built from the cyrus-imapd-2.0.16-5rm.src.rpm package. otherwise all seems fine. thx --- # Mail rules for user darrellb # Created by Websieve version 0.61h require ["fileinto","vacation"]; vacation :days 1 :addresses ["[EMAIL PROTECTED]", "[EMAIL PROTECTED]", "[EMAIL PROTECTED]"] text: Autogenerated Message: Not Here. Leave a message please . ; ##PSEUDO script start #vacation&&1&&"[EMAIL PROTECTED]", "[EMAIL PROTECTED]", "[EMAIL PROTECTED]"&&Not Here. Leave a message please&&on #mode&&basic
RE: SpamAssassin & Sieve?
We're just matching on the X-Spam-Level tag, and that seems ok for the moment -- does anyone have more information on the numeric comparison extension you mentioned? I'm sure there will come a day when we ned something more fine-grained... thx [EMAIL PROTECTED] wrote: > > I guess slightly off-topic, but I was wondering if any folks on here > are using SpamAssassin, and if so, what sort of Sieve scripts you're > using on such tagged mail. I know that recent releases of Sieve have > a numeric comparator. Are you using that somehow, or just a simple > match on the > "X-Spam-Level: ***" header? smime.p7s Description: application/pkcs7-signature
moving whole subtrees with cyradm?
We've just added an extra drive/partition to our cyrus server...i've added the partition into /etc/imapd.conf and can successfully use cyradm to move single folders across to the new drive...very easy! however, cyradm sees to only move SINGLE folders at a time... ie > renm user.darrellb user.darrellb imap-sdb1 will only move the 'inbox'...all the folders under user.darrellb stay on the orginal partition...and what i want is is to be able to move users wholesale, one-by-one, to the new partition, taking all their subfolders with them... has anyone any tips/scripts or ideas about how to automate this process? TIA - darrell