delete folder does not delete directory
Cyrus 2.1.12 on Solaris 9 (sparc). It seems that when one deletes a folder via IMAP, the directory under /var/spool/imap/... is not always removed. I'm still investigating if this behaviour depends on the mail client. Is this a known problem ? -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Piet RUYSSINCK e-mail: [EMAIL PROTECTED] Unix Systeem Administratie tel: +32 9 264 4733 Directie Informatie- en Communicatietechnologie fax: +32 9 264 4994 Universiteit Gent Krijgslaan 281, gebouw S9 - 9000 Gent, Belgie -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Please avoid sending me Word or PowerPoint attachments See http://www.fsf.org/philosophy/no-word-attachments.html
multiple users sharing a mailbox
As a quick hack, I replaced auth_getpwent.c in the saslauthd source code with the following code : #include "mechanisms.h" #include #include #include #include #include #define RETURN(x) return strdup(x) #define CYRPASSWD "/etc/cyrpasswd" char *auth_getpwent (const char *login, const char *password, const char *service __attribute__((unused)), const char *realm __attribute__((unused))) { FILE *fptr; int OK = 0; if (fptr = fopen (CYRPASSWD, "r")) { char buffer [1024]; while (fgets (buffer, 1024, fptr)) { int eol = 0; char *p; for (p = buffer; *p && *p != ':' && *p != '\n'; p++); if (*p == '\0' || *p == '\n') eol = 1; *p = '\0'; if (!eol) { if (strcmp (buffer, login) == 0) { char *q; while (!eol) { p++; for (q = p; *q && *q != ':' && *q != '\n'; q++); if (*q == '\0' || *q == '\n') eol = 1; *q = '\0'; if (strcmp (p, (char *) crypt (password, p)) == 0) { OK = 1; eol = 1; } p = q; } } } } fclose (fptr); } if (OK) RETURN ("OK"); RETURN ("NO"); } This allows me to authenticate against the entries in the file /etc/cyrpasswd. This file can contain multiple passwords for each account. e.g. : # cat /etc/cyrpasswd (all entries are fake) bill:EYoCf4XigIZ6w john:uUb3fyLD49SL2 peter:HOMwYGfZuUv02 carol:hcvhHC1RM2Q5Y beth:RwQqf7n3w9sUc helpdesk:HOMwYGfZuUv02:RwQqf7n3w9sUc dick:EYoCf1XkgIZ6w All users have their own personal mailbox, but both peter and beth have access to the helpdesk mailbox, using their personal password. We had tried before to share the helpdesk mailbox to peter and beth, who would then see it under "Other users". But the problem there is that the sender address on all outgoing mail would still be the personal address. Specifying 'helpdesk' as the sender address necessitates an awkward configuration of the client, if possible at all. With /etc/cyrpasswd approach, they can just define two distict e-mail accounts in their client. And without having to remember a second, shared, password - which is important for us. -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Piet RUYSSINCK e-mail: [EMAIL PROTECTED] Unix Systeem Administratie DICT tel: +32 9 264 4733 Directie Informatie- en Communicatietechnologie fax: +32 9 264 4994 Universiteit Gent (RUG) Krijgslaan 281, gebouw S9 - 9000 Gent, Belgie -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Please avoid sending me Word or PowerPoint attachments See http://www.fsf.org/philosophy/no-word-attachments.html
clients that notify upon new mail in folders other than INBOX ?
It seems that one can convince most imap clients to periodically check for new mail in one's inbox. For people who need to monitor not just their inbox, but also a few other (shared) folders, it would be neat if they were notified when new messages arrive in these other folders as well. Any idea which clients support this kind of functionality or how I can implement this ? Thanks, Piet -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Piet RUYSSINCKe-mail: [EMAIL PROTECTED] Unix Systeem Administratie tel: +32 9 264 4733 Directie Informatie- en Communicatietechnologie (ICT) fax: +32 9 264 4994 Universiteit Gent (RUG) Krijgslaan 281, gebouw S9 - 9000 Gent, Belgie -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Please avoid sending me Word or PowerPoint attachments See http://www.fsf.org/philosophy/no-word-attachments.html
websieve 0.61 displaying correct quota
Maybe this has been published before (no time to check the archives), but I found the bug that prevents the quota from being displayed correctly in websieve-0.61 : Line 54 in funclib.pl should read @tmp=($tmp[0],$tmp[1],$tmp[2]); in stead of @tmp=($tmp[3],$tmp[4],$tmp[5]); -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Piet RUYSSINCKe-mail: [EMAIL PROTECTED] Unix Systeem Administratie tel: +32 9 264 4733 Directie Informatie- en Communicatietechnologie (ICT) fax: +32 9 264 4994 Universiteit Gent (RUG) Krijgslaan 281, gebouw S9 - 9000 Gent, Belgie -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Please avoid sending me Word or PowerPoint attachments See http://www.fsf.org/philosophy/no-word-attachments.html
Re: cyradm
On Mon, 3 Feb 2003, Daryl wrote: > It seems my problem is that I only want to offer imaps as a service, but > when I comment imap out of cyrus.conf, the cyradm tool won't connect. Is > there another way around this ?. enable imap in cyrus.conf, but limit it to your administration host via tcp wrappers. -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Piet RUYSSINCKe-mail: [EMAIL PROTECTED] Unix Systeem Administratie tel: +32 9 264 4733 Directie Informatie- en Communicatietechnologie (ICT) fax: +32 9 264 4994 Universiteit Gent (RUG) Krijgslaan 281, gebouw S9 - 9000 Gent, Belgie -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Please avoid sending me Word or PowerPoint attachments See http://www.fsf.org/philosophy/no-word-attachments.html
Re: mail problems
On Thu, 30 Jan 2003, dylan wrote: > hi, i recently installed the cyrus mail system and am having a few > problems... > > pop3 based service is working fine, however only with clear text passwords > (which is not ideal) > > i have SSL installed, and have instructed it to tunnel an SSL connection to > the POP and IMAP servers, however i cannot connect to the server and recieve > mail when i enable SSL on my mail client. > > any pointers? you could start by trying to connect to your IMAPs/POPs server with $ openssl s_client -host hostname.domain -port 993 and $ openssl s_client -host hostname.domain -port 995 to determine if the problem is with your server or your client. what does your /etc/cyrus.conf look like ? -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Piet RUYSSINCKe-mail: [EMAIL PROTECTED] Unix Systeem Administratie tel: +32 9 264 4733 Directie Informatie- en Communicatietechnologie (ICT) fax: +32 9 264 4994 Universiteit Gent (RUG) Krijgslaan 281, gebouw S9 - 9000 Gent, Belgie -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Please avoid sending me Word or PowerPoint attachments See http://www.fsf.org/philosophy/no-word-attachments.html
Re: Problem with cyrus and deleting a message with a virus.
On Tue, 21 Jan 2003, Mark London wrote: > I'm not messing with it, uvscan is doing it. Is there a better software > alternative that will delete viruses on the server? Are we the only people > using cyrus that are running virus scanning software on the server? I do the virus scanning and spam filtering before it even reaches cyrus. I use the sendmail milter interface to pipe the messages through Amavis. Amavis in its turn then uses SpamAssassin and Clam Antivirus. Works like a charm. -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Piet RUYSSINCKe-mail: [EMAIL PROTECTED] Unix Systeem Administratie tel: +32 9 264 4733 Directie Informatie- en Communicatietechnologie (ICT) fax: +32 9 264 4994 Universiteit Gent (RUG) Krijgslaan 281, gebouw S9 - 9000 Gent, Belgie -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Please avoid sending me Word or PowerPoint attachments See http://www.fsf.org/philosophy/no-word-attachments.html
Re: Antivirus
On Wed, 15 Jan 2003, Sebastien Marmorat wrote: > Hi, > > What is the best antivirus solution for my mail server Cyrus/Postfix ? I'm not running a production system yet, but I have a test system running Cyrus to replace our current UWimapd based solution as soon as the new hardware for it arrives. On the test system, which is behaving very well, I have, besides Cyrus 2.1.11, Sendmail 8.12.6 and AmaVis (http://www.ijs.si/software/amavisd/) (via the milter interface), with SpamAssassin 2.43 (http://spamassassin.sourceforge.net/) and Clam AntiVirus (http://clamav.elektrapro.com/). A cronjob downloads the new virus database once a day. The new Sobig virus got first detected on Jan 14h, which is 5 days after its breakout, iirc. I have not enough experience with other anti-virus solutions to decide whether 5 days is a fast or rather a slow response. Maybe, the big commercial players have better response times. It would be nice to have a specs/features matrix of the available virus scanners. -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Piet RUYSSINCKe-mail: [EMAIL PROTECTED] Unix Systeem Administratie tel: +32 9 264 4733 Directie Informatie- en Communicatietechnologie (ICT) fax: +32 9 264 4994 Universiteit Gent (RUG) Krijgslaan 281, gebouw S9 - 9000 Gent, Belgie -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Please avoid sending me Word or PowerPoint attachments See http://www.fsf.org/philosophy/no-word-attachments.html
Re: Folders must be in Inbox
On Tue, 14 Jan 2003, David Borgesen wrote: Hello, Our company recently installed Cyrus and we can not add folders at the same level as the Inbox. He says we must place all folers within the Inbox. Is this accurate, if so can we change it so I can have all my core folders at the root level and not within the in box? Also my folders and mailboxes both look like folders in Eudora, any idea why? Read the imapd.conf manual page and look for altnamespace -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Piet RUYSSINCKe-mail: [EMAIL PROTECTED] Unix Systeem Administratie tel: +32 9 264 4733 Directie Informatie- en Communicatietechnologie (ICT) fax: +32 9 264 4994 Universiteit Gent (RUG) Krijgslaan 281, gebouw S9 - 9000 Gent, Belgie -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Please avoid sending me Word or PowerPoint attachments See http://www.fsf.org/philosophy/no-word-attachments.html
Re: Cyrus IMAP ; case studies, success stories, ... I need them
Thanks a lot for all your testimonials. I appreciate it a lot, Piet -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Piet RUYSSINCKe-mail: [EMAIL PROTECTED] Unix Systeem Administratie tel: +32 9 264 4733 Directie Informatie- en Communicatietechnologie (ICT) fax: +32 9 264 4994 Universiteit Gent (RUG) Krijgslaan 281, gebouw S9 - 9000 Gent, Belgie -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Please avoid sending me Word or PowerPoint attachments See http://www.fsf.org/philosophy/no-word-attachments.html
Cyrus IMAP ; case studies, success stories, ... I need them
Hi all, I have set up a test machine with cyrus imapd 2.1.11 and everything that goes with it. Very nice system, working perfectly, in a test environment of some 30 people. Today, I went to see management, to get money for the production system hardware (I'm thinking about a full Sun Fire 280R with a full Sun StorEdge 3310 SCSI Array), ... only to hear that some other people are working on a solution based on MS Exchange, because they want the groupware functionality. I might be able to convince them to adopt Cyrus imapd, if only I can assure them that it will peacefully coexist with MS exchange. They can agree on using Cyrus for e-mail, and Exchange for the groupware stuff. But, being a full time unix admin, I have no clue about exchange. Is such a setup possible ? Or does Exchange rely on its own e-mail system ? Together with information, I could also use any Cyrus imapd success stories that I can get. If you're running Cyrus for a reasonably sized company or institution, please let me know, including the hardware you're using, number of (simultaneous) users, level of satisfaction, and other useful information. Maybe we could collect this data in some kind of registry. Looking forward to your replies, Piet Ruyssinck -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Piet RUYSSINCKe-mail: [EMAIL PROTECTED] Unix Systeem Administratie tel: +32 9 264 4733 Directie Informatie- en Communicatietechnologie (ICT) fax: +32 9 264 4994 Universiteit Gent (RUG) Krijgslaan 281, gebouw S9 - 9000 Gent, Belgie -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Please avoid sending me Word or PowerPoint attachments See http://www.fsf.org/philosophy/no-word-attachments.html
ctl_cyrusdb gives DBERROR when executed by master
When I execute $ /usr/cyrus/bin/ctl_cyrusdb -c from the command line, as the user cyrus, everything works as expected : Dec 16 14:49:55 vorota ctl_cyrusdb[25014]: [ID 702911 local6.notice] checkpointing cyrus databases Dec 16 14:49:55 vorota ctl_cyrusdb[25014]: [ID 578205 local6.debug] archiving database file: /var/imap/mailboxes.db Dec 16 14:49:55 vorota ctl_cyrusdb[25014]: [ID 448116 local6.debug] archiving log file: /var/imap/db/log.01 Dec 16 14:49:56 vorota last message repeated 1 time Dec 16 14:49:56 vorota ctl_cyrusdb[25014]: [ID 127214 local6.notice] done checkpointing cyrus databases whereas, when the same command is being executed from master, I get this : Dec 16 14:43:34 vorota ctl_cyrusdb[24994]: [ID 702911 local6.notice] checkpointing cyrus databases Dec 16 14:43:35 vorota ctl_cyrusdb[24994]: [ID 854764 local6.error] DBERROR: error listing log files: No such file or directory Dec 16 14:43:35 vorota ctl_cyrusdb[24994]: [ID 686478 local6.error] DBERROR: archive /var/imap/db: cyrusdb error Dec 16 14:43:35 vorota ctl_cyrusdb[24994]: [ID 854764 local6.error] DBERROR: error listing log files: No such file or directory Dec 16 14:43:35 vorota ctl_cyrusdb[24994]: [ID 686478 local6.error] DBERROR: archive /var/imap/db: cyrusdb error Dec 16 14:43:35 vorota ctl_cyrusdb[24994]: [ID 127214 local6.notice] done checkpointing cyrus databases The relevant lines of /etc/cyrus.conf look like this : EVENTS { checkpointcmd="ctl_cyrusdb -c" period=30 delprune cmd="ctl_deliver -E 3" at=0400 tlsprune cmd="tls_prune" at=0400 } Any ideas ? _______ Piet RUYSSINCK e-mail: [EMAIL PROTECTED] Unix Systeem Administratie tel: +32 9 264 4733 Directie Informatie- en Communicatietechnologie (ICT) fax: +32 9 264 4994 Universiteit Gent (RUG) Krijgslaan 281, gebouw S9 - 9000 Gent, Belgie