understanding a 2.4 db directory?
G'day, I have an old 2.4.17 installation, and am planning to bump it up to 3.0 soon-ish. It's on an older NetBSD system running from a pkgsrc install. As part of this, I am trying to understand the old directory structure, and in particular, the contents of the old conf directory, which in 2.4 has a couple of directories called db, db.backup1 and db.backup2 db is pretty big : du -sh db* 11G db 94K db.backup1 94K db.backup2 db is full if log.0xxx files, and a "skipstamp" file The log.... files are all Berkeley DB, which is why I am concerned about an in-place upgrade to 3.0. bash-4.3# file log.001340 log.001340: Berkeley DB (Log, version 16, native byte-order) bash-4.3# file skipstamp skipstamp: data Can anyone tell me what they are? As well as being Berkeley DB, can they be cleaned up/deleted? 11GB of "I don't know what this is?" isn't doing me any favours. The doco here : http://www.cyrusimap.org/imap/reference/admin/locations/configuration-state.html doesn't seem to help much for this version of imapd. Pointers to relevant doco much appreciated! Thank you, Carl 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: db directory filling up - normal or config error?
On 12/02/2016 00:34, Patrick Boutilier via Info-cyrus wrote: It fits because your Cyrus is configured to use BerkleyDB for some 9or all) of the databases. You should not have to stop Cyrus. Running this command (with proper -h location) should show you what log files are no longer used: db_archive -h /var/imap/db And this command should get rid of them: db_archive -d -h /var/imap/db Thank you! On my NetBSD 5 box this is db4_archive, as it's got db4 installed. Carl On 02/09/2016 10:53 PM, Carl Brewer via Info-cyrus wrote: On 10/02/2016 9:08 AM, Patrick Boutilier via Info-cyrus wrote: Not sure if Cyrus is supposed to clean up (been using skiplist exclusively for years now) but according to this link you can remove the old log files. http://www-rohan.sdsu.edu/doc/BerkeleyDB/ref/transapp/logfile.html How does that fit in with Cyrus? Do I need to stop imapd before I use db_archive? thank you! Carl On 02/09/2016 04:05 PM, Carl Brewer via Info-cyrus wrote: I asked this a few months ago, but now it's getting urgent. I have a NetBSD 5.x server, running Cyrus imapd 2.4.17 from pkgsrc, /var/imap/db is getting very full : bash-4.3# du -sh db 7.0Gdb (this is on a reasonably small server) and it grows every day, it's full of these : -rw--- 1 cyrus mail 10485760 Feb 1 03:47 log.000953 -rw--- 1 cyrus mail 10485760 Feb 2 03:48 log.000954 -rw--- 1 cyrus mail 10485760 Feb 3 03:47 log.000955 -rw--- 1 cyrus mail 10485760 Feb 4 03:46 log.000956 -rw--- 1 cyrus mail 10485760 Feb 5 03:47 log.000957 -rw--- 1 cyrus mail 10485760 Feb 6 03:46 log.000958 -rw--- 1 cyrus mail 10485760 Feb 7 03:46 log.000959 -rw--- 1 cyrus mail 10485760 Feb 8 03:46 log.000960 -rw--- 1 cyrus mail 10485760 Feb 9 03:47 log.000961 -rw--- 1 cyrus mail 10485760 Feb 10 03:48 log.000962 a new one every day. This is not sustainable on this little server. I'm not sure if cyrus itself is supposed to clean these up? My cyrus.conf is : # 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 imap cmd="imapd" listen="localhost:imap" prefork=0 imaps cmd="imapd -s" listen="imaps" prefork=0 pop3 cmd="pop3d" listen="pop3" prefork=0 pop3s cmd="pop3d -s" listen="pop3s" prefork=0 #sievecmd="timsieved" listen="sieve" prefork=0 # these are only necessary if receiving/exporting usenet via NNTP # nntp cmd="nntpd" listen="nntp" prefork=0 # nntpscmd="nntpd -s" listen="nntps" 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" prefo rk=1 # Carl, 20140806 smmapd cmd="smmapd" listen="/var/imap/socket/smmapd" prefork=1 } EVENTS { # this is required checkpointcmd="ctl_cyrusdb -c" period=30 # this is only necessary if using duplicate delivery suppression, # Sieve or NNTP delprune cmd="cyr_expire -E 3" at=0400 # this is only necessary if caching TLS sessions tlsprune cmd="tls_prune" at=0400 } Have I done something wrong, config-wise? Or is there a way to safely purge these db log files? Thank you! Carl 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 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
db directory filling up - normal or config error?
I asked this a few months ago, but now it's getting urgent. I have a NetBSD 5.x server, running Cyrus imapd 2.4.17 from pkgsrc, /var/imap/db is getting very full : bash-4.3# du -sh db 7.0Gdb (this is on a reasonably small server) and it grows every day, it's full of these : -rw--- 1 cyrus mail 10485760 Feb 1 03:47 log.000953 -rw--- 1 cyrus mail 10485760 Feb 2 03:48 log.000954 -rw--- 1 cyrus mail 10485760 Feb 3 03:47 log.000955 -rw--- 1 cyrus mail 10485760 Feb 4 03:46 log.000956 -rw--- 1 cyrus mail 10485760 Feb 5 03:47 log.000957 -rw--- 1 cyrus mail 10485760 Feb 6 03:46 log.000958 -rw--- 1 cyrus mail 10485760 Feb 7 03:46 log.000959 -rw--- 1 cyrus mail 10485760 Feb 8 03:46 log.000960 -rw--- 1 cyrus mail 10485760 Feb 9 03:47 log.000961 -rw--- 1 cyrus mail 10485760 Feb 10 03:48 log.000962 a new one every day. This is not sustainable on this little server. I'm not sure if cyrus itself is supposed to clean these up? My cyrus.conf is : # 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 imap cmd="imapd" listen="localhost:imap" prefork=0 imaps cmd="imapd -s" listen="imaps" prefork=0 pop3 cmd="pop3d" listen="pop3" prefork=0 pop3s cmd="pop3d -s" listen="pop3s" prefork=0 #sievecmd="timsieved" listen="sieve" prefork=0 # these are only necessary if receiving/exporting usenet via NNTP # nntp cmd="nntpd" listen="nntp" prefork=0 # nntpscmd="nntpd -s" listen="nntps" 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" prefo rk=1 # Carl, 20140806 smmapd cmd="smmapd" listen="/var/imap/socket/smmapd" prefork=1 } EVENTS { # this is required checkpointcmd="ctl_cyrusdb -c" period=30 # this is only necessary if using duplicate delivery suppression, # Sieve or NNTP delprune cmd="cyr_expire -E 3" at=0400 # this is only necessary if caching TLS sessions tlsprune cmd="tls_prune" at=0400 } Have I done something wrong, config-wise? Or is there a way to safely purge these db log files? Thank you! Carl 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: db directory filling up - normal or config error?
On 10/02/2016 9:08 AM, Patrick Boutilier via Info-cyrus wrote: Not sure if Cyrus is supposed to clean up (been using skiplist exclusively for years now) but according to this link you can remove the old log files. http://www-rohan.sdsu.edu/doc/BerkeleyDB/ref/transapp/logfile.html How does that fit in with Cyrus? Do I need to stop imapd before I use db_archive? thank you! Carl On 02/09/2016 04:05 PM, Carl Brewer via Info-cyrus wrote: I asked this a few months ago, but now it's getting urgent. I have a NetBSD 5.x server, running Cyrus imapd 2.4.17 from pkgsrc, /var/imap/db is getting very full : bash-4.3# du -sh db 7.0Gdb (this is on a reasonably small server) and it grows every day, it's full of these : -rw--- 1 cyrus mail 10485760 Feb 1 03:47 log.000953 -rw--- 1 cyrus mail 10485760 Feb 2 03:48 log.000954 -rw--- 1 cyrus mail 10485760 Feb 3 03:47 log.000955 -rw--- 1 cyrus mail 10485760 Feb 4 03:46 log.000956 -rw--- 1 cyrus mail 10485760 Feb 5 03:47 log.000957 -rw--- 1 cyrus mail 10485760 Feb 6 03:46 log.000958 -rw--- 1 cyrus mail 10485760 Feb 7 03:46 log.000959 -rw--- 1 cyrus mail 10485760 Feb 8 03:46 log.000960 -rw--- 1 cyrus mail 10485760 Feb 9 03:47 log.000961 -rw--- 1 cyrus mail 10485760 Feb 10 03:48 log.000962 a new one every day. This is not sustainable on this little server. I'm not sure if cyrus itself is supposed to clean these up? My cyrus.conf is : # 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 imap cmd="imapd" listen="localhost:imap" prefork=0 imaps cmd="imapd -s" listen="imaps" prefork=0 pop3 cmd="pop3d" listen="pop3" prefork=0 pop3s cmd="pop3d -s" listen="pop3s" prefork=0 #sievecmd="timsieved" listen="sieve" prefork=0 # these are only necessary if receiving/exporting usenet via NNTP # nntp cmd="nntpd" listen="nntp" prefork=0 # nntpscmd="nntpd -s" listen="nntps" 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" prefo rk=1 # Carl, 20140806 smmapd cmd="smmapd" listen="/var/imap/socket/smmapd" prefork=1 } EVENTS { # this is required checkpointcmd="ctl_cyrusdb -c" period=30 # this is only necessary if using duplicate delivery suppression, # Sieve or NNTP delprune cmd="cyr_expire -E 3" at=0400 # this is only necessary if caching TLS sessions tlsprune cmd="tls_prune" at=0400 } Have I done something wrong, config-wise? Or is there a way to safely purge these db log files? Thank you! Carl 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
tidy up/remove imap/db/log.* files?
G'day, I have a NetBSD box with a very full /var/imap/db directory. It's full of these : -rw--- 1 cyrus mail 10485760 Sep 3 08:45 log.000779 file log.000779 log.000779: Berkeley DB (Log, version 16, native byte-order) There's 534 of them. Roughly one a day. What's the recommended way to tidy them up and/or get rid of them? Cyrus imapd 2.4.17 (from NetBSD pkgsrc) Thanks! Carl 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 imapd, lmtp, postfix and case sensitivity bouncing emails
G'day, I have a NetBSD (pkgsrc) box that I'm moving email from an old sendmail setup over to, using cyrus imapd and the new box is using postfix (from pkgsrc, v2.11.3). A weird problem, it's bouncing emails if the domain name is uppercase. I have set lmtp_downcase_rcpt: 1 but it doesn't seem to have helped. my imapd.conf file is : configdirectory: /var/imap partition-default: /var/spool/imap sieveusehomedir: true hashimapspool: false sendmail: /usr/sbin/sendmail sasl_mech_list: PLAIN altnamespace: yes unixhierarchysep: yes virtdomains: userid defaultdomain: bl.echidna.id.au allowplaintext: yes admins: cyrus sasl_pwcheck_method: auxprop tls_cert_file: /var/imap/server.pem tls_key_file: /var/imap/server.pem lmtp_downcase_rcpt: 1 and postfix's main.cf : mailbox_transport = lmtp:unix:/var/imap/socket/lmtp virtual_transport = lmtp:unix:/var/imap/socket/lmtp Relevant versions of everything : cyrus-sasl-2.1.26nb3 Simple Authentication and Security Layer cyrus-imapd-2.4.17nb6 Cyrus IMAP server cyrus-saslauthd-2.1.26nb2 Cyrus SASL plaintext authentication daemon postfix-2.11.3 Postfix SMTP server and tools here's an example log : Feb 13 08:26:44 postfix/smtpd[4578]: NOQUEUE: reject: RCPT from unknown[175.107.182.124]: 450 4.1.1 c...@aboc.com.au: Recipient address rejected: unverified address: host rollcage3.bl.echidna.id.au[/var/imap/socket/lmtp] said: 550-Mailbox unknown. Either there is no mailbox associated with this 550-name or you do not have authorization to see it. 550 5.1.1 User unknown (in reply to RCPT TO command); from=c...@svr4.aboc.net.au to=c...@aboc.com.au proto=ESMTP helo=svr4.aboc.net.au It's fine with lowercase domain names though ... Feb 13 08:36:33 postfix/lmtp[8436]: CBA4A1B3D4A3: to=c...@aboc.com.au, relay=rollcage3.bl.echidna.id.au[/var/imap/socket/lmtp], delay=0, delays=0/0/0/0, dsn=2.1.5, status=deliverable (250 2.1.5 ok) Any ideas? Thank you Carl 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
in place upgrade from 2.2 to 2.4?
G'day, I'm running Cyrus imapd on NetBSD (pkgsrc), my current version is 2.2.13, and I figure it's about time to bump it to 2.4 (.7 ATM). Via pkgsrc I can build it, but am a bit reluctant to do a make update, does anyone have any experience with doing this in place on a current site? Will it 'just work' if I shut down the 2.2 processes, update cyrus and restart the daemons or will weird things happen? any doco on how to do this? Thanks! Carl Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
Re: in place upgrade from 2.2 to 2.4?
On 9/04/2011 11:09 PM, OBATA Akio wrote: Hi, On Sat, 09 Apr 2011 19:40:50 +0900, Carl Brewerc...@bl.echidna.id.au wrote: G'day, I'm running Cyrus imapd on NetBSD (pkgsrc), my current version is 2.2.13, and I figure it's about time to bump it to 2.4 (.7 ATM). Via pkgsrc I can build it, but am a bit reluctant to do a make update, does anyone have any experience with doing this in place on a current site? Will it 'just work' if I shut down the 2.2 processes, update cyrus and restart the daemons or will weird things happen? any doco on how to do this? As a maintainer of pkgsrc/cyrus-imapd{23,24}, pkgsrc have no patches other than build fixes, so /usr/pkg/share/doc/cyrus-imapd/install-upgrade.html will help you. It is important reminder that pkgsrc have nothing to do migration of configuration files unless you have no customization. If so, you need to migrate by hand. For me (NetBSD/i386), with step-by-step update, I cannot remember what I did something special. As you wrote, just stop, update package, start new cyrus. so far so good, I haven't had to untar my backups :) Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
Some broken cyrus. files may be hanging new versions of thunderbird 3.0.x
G'day, I'm running into a problem with Thunderbird 3 (3.0.3, but I got it with 3.0 as well) with an account hosted on a Cyrus IMAP server running cyrus 2.2.13 on NetBSD from NetBSD's pkgsrc system. The symptom is that Thunderbird hangs forever saying looking for folders. The cause is, I suspect, some brain damage in Thunderbird 3 that chokes on some IMAP error messages. I have 4 IMAP accounts running from the same server and the other three are ok, and the one that fails works ok with Squirrelmail and also older Thunderbird 2.0.x releases. So the other MUA's cope with whatever Cyrus is telling them, but T3 hangs forever, I think it's trying to be too clever with indexing, but I can't be sure. I've tried to use reconstruct to rebuild the account in Cyrus as one of the email sub folders was broken, but I can't find the 'right way' to reconstruct the cyrus. files in an account. reconstruct -r doesn't rebuild them as far as I can tell. Can anyone here advise me as to the best way to fix up a possibly slightly corrupt cyrus user directory tree with cyrus. files that are broken and/or missing? Thankyou Carl 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: merging two cyrus imap spools into one?
Simon Matter wrote: Hello, I've got a couple of servers running standalone Cyrus for imap services (linked to sendmail). Recently due to some enforced downtime, I had to get one server to accept mail for another one, and now that the original server is back up I want to move the mail that's sitting on the repacement back onto the original. Is there some easy way to do this? I can't just tar up the relevant user directories as (at the very least!) the message id's will probably clash. There are several imapcopy tools around which you can use to copy messages vi a the IMAP protocol. However one requirement is that both servers are up and running at the same time. I can do that, and I guess I can do that with a good (Thunderbird) MUA. Thanks for the suggestion, it's so obvious I should have guessed it! It also may depend on how much data you have to transfer and how many users are affected. It's only one user, so it's easy ... thanks Carl --- 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
merging two cyrus imap spools into one?
Hello, I've got a couple of servers running standalone Cyrus for imap services (linked to sendmail). Recently due to some enforced downtime, I had to get one server to accept mail for another one, and now that the original server is back up I want to move the mail that's sitting on the repacement back onto the original. Is there some easy way to do this? I can't just tar up the relevant user directories as (at the very least!) the message id's will probably clash. I didn't find anything in the FAQ about this. thanks for any suggestions Carl --- 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: integrating sendmail and cyrus realtime - supported with sendmail without Andrzej's patched cyrus m4 files?
Andrzej Adam Filip wrote: Carl Brewer wrote: I'm just wondering if anyone on this list knows if there's any official support for cyrus realtime integration into sendmail? I've been using Andrzej's patched cyrusv2.m4 files for some time and they work well, are they going to get rolled into sendmail proper at some point? Has that already happened and I just haven't noticed?! There a few things (3) I would like to do at Cyrus-IMAP side before final freeze of the integration recipes: A) explanation strings provided with TEMP/PERM replies are not available in sendmail.cf. Cyrus-IMAP uses such replies to signalize over quota situation. It is sendmail fault/deficiency but it may be easier (faster) to fix in cyrus-imap (smmapd.c). So far smampd ignores map name provided in the queries. It may generate different format of replies based on map name e.g. map=cyrus key=xxx = already existing format map=cyrusv3 key=xxx = NOMATCH : mailbox does not exist OK:xxx : mailbox exists and it is ready to accept message ERROR:D.S.N:4???/5?? text - mailbox exist but unavailable (e.g. over quota) B) it would simplify sendmail configuration if cyrus-imap could provide list of all configured virtual domains and default domain Yes, that would be pretty good! I have a few sites with 3-5 virtual domains, and I have to maintain them in far too many files. What would also be good would be a way to map one-to-many addresses in cyrus with virtual domains, rather than having to map them to an /etc/aliases entry that then expands them out (which is a really clunky hack). I don't think that's necessarily relevant to your work though. Just a wishlist item :) Postfixes' virtual file does this sensibly, sendmail's virtusertable is too limiting. P.S. Only A is necessary before making it official but I am sufferer of over optimalization syndrome :-) If you're ever in Australia, I owe you beer and pizza! --- 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
integrating sendmail and cyrus realtime - supported with sendmail without Andrzej's patched cyrus m4 files?
I'm just wondering if anyone on this list knows if there's any official support for cyrus realtime integration into sendmail? I've been using Andrzej's patched cyrusv2.m4 files for some time and they work well, are they going to get rolled into sendmail proper at some point? Has that already happened and I just haven't noticed?! thanks! Carl --- 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: replacment for shared calander (with outlook client)
Ronen Amity wrote: Hi all, we are looking for a shared calander. the boss loves his outlook, and will not part from it. IT may or may not be enough, but Mozilla Calendar (sunbird) may be worth a look. --- 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: replacment for shared calander (with outlook client)
Ronen Amity wrote: Hi Carl, Shared is the MAJOR issue here. Sunbird can share calenders with a DAV server. Again, might not be enough outlook is the M$ killer app, unfortunatly ... - Original Message - From: Carl Brewer [EMAIL PROTECTED] To: Ronen Amity [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, October 20, 2004 9:13 AM Subject: Re: replacment for shared calander (with outlook client) Ronen Amity wrote: Hi all, we are looking for a shared calander. the boss loves his outlook, and will not part from it. IT may or may not be enough, but Mozilla Calendar (sunbird) may be worth a look. --- 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
OT: migrating exchange mailboxes to cyrus?
My applogies for the off topic question, but I figure that here is likely to be a huge pool of experience with what I'm trying to do. I'm migrating a small business away from exchange to a cyrus imapd mail server (one for the good guys!). There's only one mail account, but it's got thousands of archived emails sitting on the exchange server - so many that I tried to import them into Mozilla Thunderbird with the import tool, and after letting it run for 12 hours, it had hardly moved the progress bar. I think the PC hasn't enough grunt to do it. It's an old win98 box with abuot 64 MB or so of RAM. Can anyone here suggest another way to extract this email from the exchange server onto my new NetBSD cyrus server, so my user can get at his old email? thanks! Carl --- 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: convert sasldb to sasldb2
I'm seeing the same problem with trying to use SMTP AUTH for postfix with a converted /etc/sasldb - /etc/sasldb2 file. any clues? A Clockwork Orange wrote: Hi there I had /usr/local/etc/sasldb user: a realm: www.s.ru mech: PLAIN-APOP user: a realm: www.s.ru mech: DIGEST-MD5 user: a realm: www.s.ru mech: PLAIN I used dbconverter-2 for it and I got [EMAIL PROTECTED]: cmusaslsecretPLAIN [EMAIL PROTECTED]: cmusaslsecretCRAM-MD5 [EMAIL PROTECTED]: cmusaslsecretDIGEST-MD5 [EMAIL PROTECTED]: userPassword and user can not autentithicate using his old login a But can using [EMAIL PROTECTED]. It is not correct. What can I do --- 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: Problem with Sendmail 8.13.0 / Cyrus Imap 2.2.6 and virtual hosting
Hello Jesper, I'm using sendmail 8.12.11, with Andrzej's stuff, as follows : VERSIONID(`$Id: rollcage2.mc,v 1.1 2004/05/08 22:42:23 carl Exp carl $') FEATURE(always_add_domain)dnl FEATURE(mailertable, hash /etc/mail/mailertable)dnl FEATURE(virtusertable, hash /etc/mail/virtusertable)dnl VIRTUSER_DOMAIN_FILE(`/etc/mail/virthosts')dnl FEATURE(access_db, hash -TTMPF /etc/mail/access)dnl DAEMON_OPTIONS(`Name=MTA-v4, Family=inet') DAEMON_OPTIONS(`Name=MTA-v6, Family=inet6') define(`confME_TOO', True)dnl define(`confTRUSTED_USERS', majordom)dnl OSTYPE(bsd4.4)dnl DOMAIN(generic)dnl INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/spamass.sock,F=,T=C:15m;S:4m;R:4m;E:10m') INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clamav.sock,F=,T=S:4m;R:4m')dnl dnl dnl Enforce valid Message-Id to help stop spammers dnl LOCAL_RULESETS HMessage-Id:$CheckMessageId SCheckMessageId R $+ @ $+ $@ OK R$* $#error $: 553 Header Error MAILER(local) MAILER(smtp) MAILER(cyrusv2) /etc/mail/virthosts contains each domain I'm hosting : rollcage2# more virthosts bl.echidna.id.au aboc.com.au stealstopper.com sharks.org.au lilydaleairport.com.au aliases for the virtual domain get hidden in virtusertable : rollcage2# more virtusertable [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED][EMAIL PROTECTED] [EMAIL PROTECTED][EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED][EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] @sharks.org.au @bl.echidna.id.au [EMAIL PROTECTED] info_lilydaleairport The @rollcage2.bl.echidna.id.au is how I've got around virtusertable being a 1:1 mapping, I hide the expanding aliases in /etc/mail/aliases for the local server (rollcage2), which then expands them, as normal local aliases. It's messy, but virtusertables can't do 1:many mappings, mailertable looks like this : bl.echidna.id.aucyrusv2d:/var/imap/socket/lmtp and so on for each domain FWIW, the virthosts file I found difficult to track down in any doco. HTH Carl Jesper K. Pedersen wrote: I am trying to get a system up and running with Sendmail to run with cyrus imap using virtual hosting of several domains. I have created my user in the sasldb and a mailbox in the cyrus imap database and it tests out okey using imtest -u [EMAIL PROTECTED] -a [EMAIL PROTECTED] localhost I am able to send mail through the sendmail daemon to other servers but when I try to send to [EMAIL PROTECTED] it wont deliver. I have narrowed the problem down to sendmail is trying to deliver to the user jesper instead of [EMAIL PROTECTED] This is verified by running a : sendmail -d60.1 -bv [EMAIL PROTECTED] map_lookup(dequote, root) = NOT FOUND (0) map_lookup(host, k-w-r.dk) = k-w-r.dk. (0) map_lookup(dequote, jesper) = NOT FOUND (0) [EMAIL PROTECTED] deliverable: mailer cyrusv2, user jesper Where the cyrus expect the user to be [EMAIL PROTECTED] My sendmail local-host-names contain the k-w-r.dk entry. My sendmail.mc looks like this: divert(-1)dnl include(`/usr/share/sendmail/cf/m4/cf.m4')dnl VERSIONID(`SolNet Data Service')dnl OSTYPE(`linux')dnl define(`confDEF_USER_ID',``8:13'')dnl define(`confTO_CONNECT', `1m')dnl define(`confTRY_NULL_MX_LIST',true)dnl define(`confDONT_PROBE_INTERFACES',true)dnl define(`ALIAS_FILE', `/etc/aliases')dnl define(`confUSERDB_SPEC', `/etc/mail/userdb.db')dnl define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,restrictqrun')dnl define(`confAUTH_OPTIONS', `A')dnl define(`confCACERT_PATH', `/etc/mail/certs')dnl define(`confCACERT', `/etc/mail/certs/cacert.pem')dnl define(`confSERVER_CERT', `/etc/mail/certs/sendmail.pem')dnl define(`confSERVER_KEY', `/etc/mail/certs/sendmail.pem')dnl define(`confCLIENT_CERT', `/etc/mail/certs/sendmail.pem')dnl define(`confCLIENT_KEY', `/etc/mail/certs/sendmail.pem')dnl TRUST_AUTH_MECH(`LOGIN PLAIN DIGEST-MD5 CRAM-MD5')dnl define(`confAUTH_MECHANISMS', `LOGIN PLAIN DIGEST-MD5 CRAM-MD5')dnl define(`confTRUSTED_USER', `cyrus')dnl define(`confLOCAL_MAILER', `cyrusv2')dnl GENERICS_DOMAIN_FILE(`/etc/mail/generics-domains')dnl FEATURE(use_cw_file)dnl FEATURE(use_ct_file)dnl FEATURE(`smrsh',`/usr/sbin/smrsh')dnl FEATURE(`mailertable',`hash -o /etc/mail/mailertable.db')dnl FEATURE(`genericstable', `hash -o /etc/mail/genericstable.db')dnl FEATURE(`access_db',`hash -TTMPF -o /etc/mail/access.db')dnl FEATURE(`blacklist_recipients')dnl FEATURE(local_lmtp)dnl EXPOSED_USER(`root')dnl MAILER(local)dnl MAILER(cyrusv2)dnl MAILER(smtp)dnl When I try to mail to the user [EMAIL PROTECTED] I get this in my imap debuglog: Jul 11 04:08:57 rhea lmtpunix[12743]: executed Jul 11 04:08:57 rhea lmtpunix[12743]: accepted connection Jul 11 04:08:57 rhea lmtpunix[12743]: lmtp connection preauth'd as postman Jul 11 04:08:57 rhea lmtpunix[12743]: verify_user(user.jesper) failed: Mailbox does not exist Any idea of how to set up
recomendations for a passord changing utility for cyrus over a web page?
Hello, Before I knock my own up, has anyone here got a recommendation for a simple SASL password changing CGI web page that I can integrate into a cyrus 2.2.6 server environment (on NetBSD) so that users can change their own passwords? I know there's a few of these about, what seems to be the simplest (I'm not proving webmail or anything else complex) and most secure? thanks! Carl --- 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: domain stripping in virtual domain addresses
Chris Harms wrote: Hello, After going into production from a working test installation, I cannot seem to get mail to cyrus from sendmail without the domain getting stripped and summarily replaced by the local host name. At present I'm attempting to use the new cyrusv2d mailer defs as follows: [ sendmail.mc ] define(`confLOCAL_MAILER', `cyrusv2d')dnl MAILER(`cyrusv2')dnl MAILER(`local')dnl MAILER(`smtp')dnl I think th eorder of the MAILER() defs is wrong. Mine looks like : VERSIONID(`$Id: rollcage2.mc,v 1.1 2004/05/08 22:42:23 carl Exp carl $') FEATURE(always_add_domain)dnl FEATURE(mailertable, hash /etc/mail/mailertable)dnl FEATURE(virtusertable, hash /etc/mail/virtusertable)dnl VIRTUSER_DOMAIN_FILE(`/etc/mail/virthosts')dnl FEATURE(access_db, hash -TTMPF /etc/mail/access)dnl DAEMON_OPTIONS(`Name=MTA-v4, Family=inet') DAEMON_OPTIONS(`Name=MTA-v6, Family=inet6') define(`confME_TOO', True)dnl define(`confTRUSTED_USERS', majordom)dnl OSTYPE(bsd4.4)dnl DOMAIN(generic)dnl INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/spamass.sock, F=,T=C:15m;S:4 m;R:4m;E:10m') dnl dnl Enforce valid Message-Id to help stop spammers dnl LOCAL_RULESETS HMessage-Id:$CheckMessageId SCheckMessageId R $+ @ $+ $@ OK R$* $#error $: 553 Header Error MAILER(local) MAILER(smtp) MAILER(cyrusv2) And it works fine. The virtuserdomain file is useful :) Carl --- 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: domain stripping in virtual domain addresses [SOLVED]
Chris Harms wrote: FEATURE(virtusertable, hash /etc/mail/virtusertable)dnl VIRTUSER_DOMAIN_FILE(`/etc/mail/virthosts')dnl Thanks for responding. I did end up making that change, however I had complicated things by adding the domain to the local-host-names file to get rid of another error, which was obviously a no-no. I was getting some relaying_denied errors until adding: To:domain.tld RELAY to access db I'm afraid to do domain.tld RELAY as I have a hunch that puts me at risk for being a spam relay. If someone has better advice on that, please inform. That's where the virtuserdomain file helps. I have my virtual domains listed in that and in access : To:my.domainRELAY The to directive is pretty handy :) Thanks for the help, Chris --- 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: sendmail and virtual domains and catchalls?
Hello Andrzej, I have uploaded new modified FEATURE(`mrs_cyrus') http://anfi.homeunix.net/sendmail/rtcyrus2.html RTCyrus2 uses socket map to ask cyrus smmapd daemon if given mailbox is serviced by cyrus. RTCyrus2 requires cyrus 2.2.3 and patched sendmail-8.12 (to get socketmap support). Socket map support is available in unpatched sendmail-8.13.0.Alpha0. I'm not familiar enough with the NetBSD ports to deal with patching sendmail, or rolling my own port for 8.13 alpha, so I'm going to have to wait until someone more clueful does an 8.13 port to use your mrs stuff. In the mean time, I can survive without a catchall, but I do need to be able to have aliases for accounts in my virtual domains. eg: [EMAIL PROTECTED] should go to [EMAIL PROTECTED] aliases seem to only work for 'local' delivery, not delivery to cyrus mailboxes? I figure that the virtusertable is the best (only?) place that this can happen? Do not forget to add the domains to $={VirtHost}. *.mc file: LOCAL_CONFIG C{VirtHost}foo.com.au bl.echidna.id.au I've done this and it works! I've never seen VirtHost in any documentation though? Is this new to 8.12? --- 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: sendmail and virtual domains and catchalls?
Hello Andrzej, Andrzej Filip wrote: [chomp] My recommendation: Implement http://anfi.webhop.org/sendmail/rtcyrus2.html solution in its mailertable version [it rejects messages to non existing cyrus mailboxes], I can easily modify it to make it support per domain catch remaining. I have now tried most of your suggestions, as well as numerous other things, and I now have the following setup : I'm using your cyrsv2d mailer copied over the top of the sendmail cyrusv2.mc file My sendmail.mc file is : VERSIONID(`$Id: generic-bsd4.4.mc,v 8.10 1999/02/07 07:26:02 gshapiro Exp $') FEATURE(always_add_domain)dnl FEATURE(mailertable, hash /etc/mail/mailertable)dnl FEATURE(virtusertable, hash /etc/mail/virtusertable)dnl FEATURE(access_db, hash -TTMPF /etc/mail/access)dnl DAEMON_OPTIONS(`Name=MTA-v4, Family=inet') DAEMON_OPTIONS(`Name=MTA-v6, Family=inet6') define(`confME_TOO', True)dnl define(`confTRUSTED_USERS', majordom)dnl OSTYPE(bsd4.4)dnl DOMAIN(generic)dnl MAILER(local) MAILER(smtp) MAILER(cyrusv2) My mailertable : foo.com.au cyrusv2d:/var/imap/socket/lmtp bl.echidna.id.aucyrusv2d:/var/imap/socket/lmtp My virtusertable : [EMAIL PROTECTED] [EMAIL PROTECTED] @foo.com.au[EMAIL PROTECTED] My aliases file : postmaster: [EMAIL PROTECTED] root: [EMAIL PROTECTED] carl: [EMAIL PROTECTED] local-host-names : rollcage2.bl.echidna.id.au The relevant bits of imapd.conf : unixhierarchysep: yes virtdomains: userid defaultdomain: bl.echidna.id.au Everything works, except the virtusertables. Ie: I can send mail to [EMAIL PROTECTED] and it works fine, the aliases entries send local mail to [EMAIL PROTECTED] or [EMAIL PROTECTED] as per the aliases file. I couldn't find anything on your site that seemed to offer the same functionality as virtusertables. Googling around seems to suggest that sendmail does mailertables first, and doesn't look at the virtusertables with the above setup. I don't know if I completely understood your localtable setup, but it appeared to me to be more of an aliases workalike than a virtusertable workalike, and I wasn't sure if it worked with or clashed with virtual hosting? The only other info I've been able to find is someone else trying to do the same thing as me (I think!) : http://www.mail-archive.com/[EMAIL PROTECTED]/msg36862.html So ... I *think* what I need to be able to do is get sendmail to run the virtusertable, then the mailertable (and thus pass the mail to cyrusv2d via the mailertable). Is this possible? Does cyrus imapd offer any form of aliasing within itself instead of using a virtusertable through sendmail? Thanks again for your time! Carl --- 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: setup problem - mail doesn't seem to move?
I wrote: Stuff about my config. Further to this, user acl checks from cyradm show : localhost lam user/carl carl lrswipcda localhost lam user/carl/Trash carl lrswipcda Which is the same as I have seen on a (working properly!) setup on a RedHat 7.3 server. so I don't *think* the problem is the acl's? --- 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
setup problem - mail doesn't seem to move?
Hello, I'm setting up Cyrus-imapd 2.2.3 on a NetBSD 1.6.2 server, and am finding some odd behaviour. This is bound to be something I'm doing wrong! I've got sendmail working, inbound mail comes in just fine, but my imaps clients (I've tried thunderbird 0.5 and outlook something) don't seem to be able to move mail messages into the Trash folder. Outlook shows 'deleted' messages in Inbox with a line through them, thunderbird doesn't show them at all, and the mail files still exist in /var/spool/imap/user/carl rollcage2# ls -la total 39 drwx-- 4 cyrus mail 512 Mar 16 11:42 . drwx-- 3 cyrus mail 512 Mar 16 01:47 .. -rw--- 2 cyrus mail 2826 Mar 16 01:48 1. -rw--- 1 cyrus mail 830 Mar 16 01:51 2. -rw--- 1 cyrus mail 812 Mar 16 01:52 3. -rw--- 1 cyrus mail 8988 Mar 16 03:17 4. -rw--- 1 cyrus mail 2830 Mar 16 03:17 5. -rw--- 1 cyrus mail 830 Mar 16 10:03 6. -rw--- 1 cyrus mail 1072 Mar 16 11:39 7. -rw--- 1 cyrus mail 1072 Mar 16 11:41 8. -rw--- 3 cyrus mail 1073 Mar 16 11:42 9. drwx-- 2 cyrus mail 512 Mar 16 11:42 Sent drwx-- 2 cyrus mail 512 Mar 16 13:52 Trash -rw--- 1 cyrus mail 8632 Mar 16 11:42 cyrus.cache -rw--- 1 cyrus mail 150 Mar 16 01:47 cyrus.header -rw--- 1 cyrus mail 616 Mar 16 11:43 cyrus.index I've used Thunderbird to delete them all (1-9) but they don't go away. Copies end up in Trash, and empty Trash empties the Trash directory, but the files are staying in the top level dir. I created my user accounts as follows : cyradm --user cyrus localhost localhost cm user/carl localhost quit My authentication all seems to work fine, as does the SSL link for imaps. Here's my imapd.conf and cyrus.conf files, can anyone see what I've done wrong? 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 imap cmd=imapd listen=localhost:imap prefork=0 imaps cmd=imapd -s listen=imaps prefork=0 #pop3 cmd=pop3d listen=pop3 prefork=0 #pop3scmd=pop3d -s listen=pop3s prefork=0 #sievecmd=timsieved listen=sieve prefork=0 # these are only necessary if receiving/exporting usenet via NNTP # nntp cmd=nntpd listen=nntp prefork=0 # nntpscmd=nntpd -s listen=nntps 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 prefo rk=1 } EVENTS { # this is required checkpointcmd=ctl_cyrusdb -c period=30 # this is only necessary if using duplicate delivery suppression, # Sieve or NNTP delprune cmd=cyr_expire -E 3 at=0400 # this is only necessary if caching TLS sessions tlsprune cmd=tls_prune at=0400 } imapd.conf : # $NetBSD: imapd.conf,v 1.1.1.1 2004/01/18 12:42:12 recht Exp $ # # Cyrus IMAP server configuration file. Refer to imapd.conf(5) for # more options. configdirectory: /var/imap partition-default: /var/spool/imap sieveusehomedir: true hashimapspool: false sendmail: /usr/sbin/sendmail sasl_mech_list: PLAIN altnamespace: yes unixhierarchysep: yes virtdomains: yes defaultdomain: bl.echidna.id.au admins: cyrus # Use the saslauthd daemon to verify plaintext passwords. Please ensure that # the saslauthd daemon is running before trying to authenticate. # #sasl_pwcheck_method: saslauthd sasl_pwcheck_method: auxprop # The server certificate and key files must be specified for the # server to repond to IMAPS or POP3S requests. See imapd.conf(5) for # a complete listing of tls_* options. # tls_cert_file: /var/imap/server.pem tls_key_file: /var/imap/server.pem All the folder permissions seem ok, I followed the instructions on the Install notes faithfully. thanks for any help anyone can provide! Carl --- 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