Errors when running cyrus

2001-06-14 Thread Klaus

Hello,

for every mail Cyrus Imap "recieves" (from smtp localhost), I get following errors:

syslog:

Jun 10 19:13:53 kaperfahrt lmtpd[952]: error sending to idled: 2

imapd.log (local6)

Jun 10 20:19:49 kaperfahrt lmtpd[1164]: accepted connection
Jun 10 20:19:49 kaperfahrt lmtpd[1164]: lmtp connection preauth'd as postman
Jun 10 20:19:49 kaperfahrt lmtpd[1164]: error sending to idled: 2

sometime the error to idled is 0 or 1 insted of 2 mentioned above.

anyone any idea what could have went wrong ? Besides that everything seems to work.


Further, when starting up the imapd syslog reports:

Jun 11 10:44:45 kaperfahrt master: unable to change limit of file descriptors available

and messages:

Jun 11 10:44:50 kaperfahrt ctl_deliver[144]: duplicate_prune: 
/var/imap/deliverdb/deliver-z.db: purged 0 out of 0 entries
Jun 11 10:44:50 kaperfahrt master[116]: process 144 exited, status 0

The last one (duplicate/prune) get repeated quite a lot times, actually from 
deliver-a.db to deliver-z.db. For deliver-h.db, it purges 0 out of 16 entries, for 
deliver-r.db it purges 447 entries, though there are not nearly as 
many messages in roots inbox.  "h" and "r" are the only active mailboxes right now.
Anyway, probably this is a standartd behaviour. Just want to make sure.

I am running a slackware-current box with postfix. 





Restoring/Re-Inexing Mailboxes

2001-06-15 Thread Klaus

Hello,

I have deleted a subfolder of a mailbox using an imap client - which I have backed up 
before using plain tar. Now I try to restore the tarred mailbox, but somehow cyrus 
does not recognize it any more. So I guess I 
have missed to backup something from /var/imap (config directory).

Still, is there a way to re-index a subfolder or the whole mailbox ? I tried to add 
user.test.subfolder to the test.seen file and I tried to re-create the subfolder using 
cyradm. Latter one brought back  the folder (surprise ...)  
- but withouth the messages.

Regards

Klaus





vacation: multiline replies

2001-06-14 Thread Klaus Jaehne

Hi,

We have one problem with vacation and websieve: Users set their vacation
messages with websieve - the reply usually consists of several lines of
text. The problem is: The reply mail shows all lines queezed in one, while
the text looks OK in websieve.

We use Cyrus 2.0.14 and websieve 0.59.

Any ideas?


-- 
Mit freundlichen Grüßen,
Klaus Jähne

Thinking Objects Software GmbH,  Lilienthalstr. 2,  70825 Stuttgart,  DE
phone 49 711 88770 100, fax 449, [EMAIL PROTECTED], http://www.to.com/

  Linux without limits: http://linux.s390.org/





Re: Cyrus IMAP 2.0.16 released

2001-08-23 Thread Klaus Jaehne

On Fri, 27 Jul 2001, Lawrence Greenfield wrote:

> I've thrown Cyrus IMAP 2.0.16 on ftp.andrew.cmu.edu.  I didn't test
> the ancillary utilities as much as I would've liked (cyradm, etc.) but
> the base server should be solid.
>
> This version has some important db3 fixes, so I strongly encourage
> people to upgrade, especially in high volume sites.
> Thanks very much to everybody who sent patches for various things.

Does this release fix the DB3-Problems reported by Paul Graham an 6 Aug
2001?

> Aug  6 10:41:42 mailhub.acsu.buffalo.edu imapd[25973]: DBERROR db3: 2793
> lockers
> Aug  6 10:56:41 mailhub.acsu.buffalo.edu imapd[10690]: DBERROR db3: 2794
> lockers
> Aug  6 11:10:03 mailhub.acsu.buffalo.edu imapd[5943]: DBERROR db3: 2795
> lockers

-- 
greetings,
Klaus Jähne

Thinking Objects Software GmbH,  Lilienthalstr. 2,  70825 Stuttgart,  DE
phone 49 711 88770 400, fax 449, [EMAIL PROTECTED], http://www.to.com/

  Linux without limits: http://linux.s390.org/





cyrus failover and reconstruct

2001-10-23 Thread Klaus Jaehne


We are going to set up a failover solution for a cyrus IMAP server with
two machines and a shared disk array (which holds a journaling file
system). Now I assume one machine has failed and the second one is taking
over the file system - is it safe to start cyrus on the second machine
immediately or must I run some command like reconstruct before to check
cyrus' consistency? Or can I run reconstruct after Cyrus has started up? I
suppose there other people on the list with a similar configuration, so
there must be some experience... ?

-- 
geetings,
    Klaus Jähne

Thinking Objects Software GmbH,  Lilienthalstr. 2,  70825 Stuttgart,  DE
phone 49 711 88770 400, fax 449, [EMAIL PROTECTED], http://www.to.com/

  Linux without limits: http://linux.s390.org/ 






Re: cyrus failover and reconstruct

2001-10-28 Thread Klaus Jaehne


On Tue, 23 Oct 2001, Greg Hewett wrote:
> My experience has been that cyrus fails over pretty clean.  Depending
> on the number of users, it might not make sense to reconstuct the
> databases at a time of fail over.

OK, thanks for the information - I've got some more questions:
- "fails over pretty clean": Did you have any trouble with failover yet?
- What failover software do you use?
- Could it happen that DB3 files (like /var/imap/mailboxes.db) get 
destroyed when a server crashes and these files are open for writing?

btw: What about a "redundant-Cyrus-server-setup-HOWTO"?

-- 
geetings,
Klaus Jähne

Thinking Objects Software GmbH,  Lilienthalstr. 2,  70825 Stuttgart,  DE
phone 49 711 88770 400, fax 449, [EMAIL PROTECTED], http://www.to.com/

  Linux without limits: http://linux.s390.org/ 





Please help: "deliver[3442]: connect(/var/lib/imap/socket/lmtp) failed: No such file or directory"

2002-05-10 Thread Klaus Schmidt








Hello,

 

Can anyone tell me where the
problem is, when I get the following entry in my syslog:

 

à deliver[3442]: connect(/var/lib/imap/socket/lmtp)
failed: No such file or directory

 

 

Thanks for your help, Klaus!

 








Compile-Error cuyry-imap2.1.12 and cyrus-imap2.1.9: Newbie

2003-02-06 Thread Klaus Litfin
Hallo to all,

I have problems to compile cyrus-imap-Server.
I'm a newbie in Cyrus, but I read the mailing-Archives,  to see if there 
is a solution to the problem and havent seen any.
Some hints were in changing the include of  in lib/cyrusdb_db3.c 
to a full path-incude. But this did not work for me.

Here is what i tried. I tried two nights without success. I would 
appreciate if someone could give me some help.
Many Thancs in advance.

Klaus
---

I tried different combinations:
For example i tried with (Berkley 4.0.14, cyrus-sasl-2.1.9, and 
cyrus-imapd-2.1.9)

The configure-Script of the cyrus-imapd failed, when analyzing the 
DB-Version.
and stopped:

./configure \
--with-sasl=/usr/local/lib \
--with-perl \
--with-auth=unix \
--with-openssl=/usr/local/openssl \
--without-ucdsnmp



loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking for makedepend... makedepend
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for ranlib... ranlib
checking whether make sets ${MAKE}... yes
checking for a BSD compatible install... /usr/bin/ginstall -c
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking for strerror in -lcposix... no
checking for mawk... no
checking for gawk... gawk
checking for working const... yes
checking for long file names... yes
checking for __attribute__... yes
checking for runpath switch... -Wl,-rpath,
checking for unistd.h... yes
checking for sys/select.h... yes
checking for sys/param.h... yes
checking for memmove... yes
checking for strcasecmp... yes
checking for ftruncate... yes
checking for strerror... yes
checking for getaddrinfo... yes
checking for getnameinfo... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking whether struct tm is in sys/time.h or time.h... time.h
checking for tm_zone in struct tm... yes
checking for vprintf... yes
checking for db_create in -ldb-4.0... no
checking for db_create in -ldb-4... no
checking for db_create in -ldb4.0... no
checking for db_create in -ldb4... no
checking for db_create in -ldb-3.3... no
checking for db_create in -ldb3.3... no
checking for db_create in -ldb-3.2... no
checking for db_create in -ldb3.2... no
checking for db_create in -ldb-3.1... no
checking for db_create in -ldb3.1... no
checking for db_create in -ldb-3... no
checking for db_create in -ldb3... no
checking for db_create in -ldb... no
configure: error: this version requires Berkeley DB 3.x or later.
(Get it from http://www.sleepycat.com/.)
--

Is the configure-Script corrupt or did i make a mistake with the parameters?

A second/third  try was a combination of

(BerkleyDB 4.0.14, cyrus-sasl-2.1.12, and cyrus-imapd-2.1.12)

or with (BerkleyDB 4.1.25, cyrus-sasl-2.1.12, and cyrus-imapd-2.1.12).

At this time the configure-Script does not stop, but did not recognize 
the correct version of the database.
...
checking for vprintf... (cached) yes
checking for db.h... (cached) yes
checking for db_create in -ldb-4.1... (cached) no
checking for db_create in -ldb4.1... (cached) no
checking for db_create in -ldb-4.0... (cached) no
checking for db_create in -ldb4.0... (cached) no
checking for db_create in -ldb-4... (cached) no
checking for db_create in -ldb4... (cached) no
checking for db_create in -ldb-3.3... (cached) no
checking for db_create in -ldb3.3... (cached) no
checking for db_create in -ldb-3.2... (cached) no
checking for db_create in -ldb3.2... (cached) no
checking for db_create in -ldb-3.1... (cached) no
checking for db_create in -ldb3.1... (cached) no
checking for db_create in -ldb-3... (cached) no
checking for db_create in -ldb3... (cached) no
checking for db_create in -ldb... (cached) no
checking for db_open in -ldb... (cached) yes
checking duplicate db database backend... db3_nosync

In a little bit later the last step the compilation failed:


make depend

make all CFLAGS=-O
( I tried with export CPPFLAGS="-I/path-to-Berkley-includes" ) but it 
did not work in a correct way)
The result:
.
gcc -L/usr/local/openssl/lib -Wl,-rpath,/usr/local/openssl/lib 
-L/usr/local/lib -Wl,-rpath,/usr/local/lib  -Wall -g -O2   -o imapd \
../master/service.o pushstats.o backend.o imapd.o index.o tls.o 
version.o libimap.a ../acap/libacap.a ../lib/libcyrus.a  
-L/usr/local/lib/lib  -Wl,-rpath,/usr/local/lib/lib -lsasl2   -ldl -lfl  
-lresolv   -ldb -lssl -lcrypto ../et/libcom_err.a -lwrap -lnsl
../lib/libcyrus.a(cyrusdb_db3.o): In function `init':
cyrusdb_db3.o(.text+0xd7): undefined reference to `db_env_create'
cyrusdb_db3.o(.text+0xea): undefined reference to `db_strerror'
cyrusdb_db3.o(.text+0x17e): undefined reference to `db_strerror'
cyrusdb_db3.o(.text+0x1b9): undefined reference to `db_strerror'
cyrusdb_db

Problem with ptloader and Novell Edirectory

2008-05-06 Thread Klaus Steinberger
Hello,

I try to setup ptloader, but run into trouble with the way Novell handles 
groups.

Novell edirectory does the following:

the groupMembership Attribute inside the person object is multivalued, and 
contains the full DN's of the groups. Vice versa, the group Object contains a 
multivalued Attribut "member" containing the Full DN's of the Members.

ptloader seems to work, but returns full dn's and of course the groups are not 
working:

[EMAIL PROTECTED] etc]# /usr/lib/cyrus-imapd/ptdump
user: guinea.pig time: 1210077241 groups: 10
  group:cn=cipphysik,ou=berechtigungsgruppen,o=physik
  group:cn=mitarbeiter,ou=berechtigungsgruppen,o=physik
  group:cn=mll-ldap,ou=exportgruppen,o=physik
  group:cn=email,ou=berechtigungsgruppen,o=physik
  group:cn=campususer,ou=gruppen,o=physik
  group:cn=bl-group,ou=berechtigungsgruppen,o=physik
  group:cn=verwaltung,ou=berechtigungsgruppen,o=physik
  group:cn=test,ou=gruppen,ou=subversion,ou=anwendungen,o=physik
  group:cn=otrs,ou=otrs,ou=anwendungen,o=physik
  group:cn=webmaster-tssp,ou=otrs,ou=anwendungen,o=physik

Here is the relevant part of imapd.conf:

ldap_sasl: 0
ldap_base: ou=Personen,o=physik
ldap_filter: (uid=%u)
ldap_group_base: ou=Gruppen,o=physik
ldap_group_filter: (member=%D)
ldap_uri: ldap://edir11.physik.uni-muenchen.de
ldap_member_method: attribute
ldap_member_attribute: groupMemberShip
ldap_member_base: ou=Gruppen,o=physik
ldap_tls_cacert_file: /etc/pki/tls/certs/ca-bundle.crt
pts_module: ldap
ptscache_timeout: 10
ptloader_sock: /var/lib/imap/ptclient/ptsock

Any idea what I have to change in the imapd.conf to get it working?

Sincerly,
Klaus
-- 
Klaus Steinberger Beschleunigerlaboratorium
Phone: (+49 89)289 14287  Am Coulombwall 6, D-85748 Garching, Germany
FAX:   (+49 89)289 14280  EMail: [EMAIL PROTECTED]
URL: http://www.physik.uni-muenchen.de/~Klaus.Steinberger/


smime.p7s
Description: S/MIME cryptographic signature

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: Problem with ptloader and Novell Edirectory

2008-05-06 Thread Klaus Steinberger
Hi Wes,

> > ldap_member_method: attribute
> > ldap_member_attribute: groupMemberShip
> > ldap_member_base: ou=Gruppen,o=physik
>
> The above should be:
>
> ldap_member_method: filter
> ldap_member_filter: (member=%D)
> ldap_member_attribute: cn
> ldap_member_base: ou=Gruppen,o=physik
>
> This assumes you'd like the groups to be know by their cn.

Yep, but I already tried that, and it doesn't work. The Search gave back "Size 
limit exceeded". A user could be in more than one group, it works only with 
users just in one group. "ldap_member_method: filter" sets a size limit of 1 
for the search. I'm using  cyrus-imapd-2.3.7-1.1.el5 (Scientific Linux).

Sincerly,
Klaus



-- 
Klaus Steinberger Beschleunigerlaboratorium
Phone: (+49 89)289 14287  Am Coulombwall 6, D-85748 Garching, Germany
FAX:   (+49 89)289 14280  EMail: [EMAIL PROTECTED]
URL: http://www.physik.uni-muenchen.de/~Klaus.Steinberger/


smime.p7s
Description: S/MIME cryptographic signature

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: Problem with ptloader and Novell Edirectory

2008-05-06 Thread Klaus Steinberger
Hi Wes,

> The above should be:
>
> ldap_member_method: filter
> ldap_member_filter: (member=%D)
> ldap_member_attribute: cn
> ldap_member_base: ou=Gruppen,o=physik
>
> This assumes you'd like the groups to be know by their cn.
One more point, I found out that its possible to set "ldap_size_limit", then 
ptloader get's back the correct answer from the server (as i can see with 
wireshark), but then ptloader seems to crash:

May  6 22:39:08 test-imap imap[9568]: starttls: TLSv1 with cipher AES256-SHA 
(256/256 bits new) no authentication
May  6 22:39:18 test-imap imap[9568]: ptload(): pinging ptloader
May  6 22:39:18 test-imap imap[9568]: connected with no delay
May  6 22:39:18 test-imap imap[9568]: ptload(): connected
May  6 22:39:18 test-imap imap[9568]: timeout_select: sock = 17, rp = 0x0, wp 
= 0xbf96efd4, sec = 30
May  6 22:39:18 test-imap imap[9568]: timeout_select exiting. r = 1; errno = 0
May  6 22:39:18 test-imap imap[9568]: ptload sent data
May  6 22:39:18 test-imap imap[9568]: timeout_select: sock = 17, rp = 
0xbf96f054, wp = 0x0, sec = 30
May  6 22:39:18 test-imap ptloader[9567]: accepted connection
May  6 22:39:18 test-imap imap[9568]: timeout_select exiting. r = 1; errno = 0
May  6 22:39:18 test-imap imap[9568]: ptload read data back
May  6 22:39:18 test-imap imap[9568]: ptload(): empty response from ptloader 
server
May  6 22:39:18 test-imap imap[9568]: No data available at all from ptload()
May  6 22:39:18 test-imap imap[9568]: ptload completely failed: unable to 
canonify identifier: klaus.steinberger
May  6 22:39:18 test-imap imap[9568]: badlogin: pb-d-128-141-130-171.cern.ch 
[128.141.130.171] plaintext klaus.steinberger invalid user
May  6 22:39:18 test-imap master[9556]: process 9567 exited, signaled to death 
by 11
May  6 22:39:18 test-imap master[9556]: service ptloader pid 9567 in READY 
state: terminated abnormally
May  6 22:39:18 test-imap master[9614]: about to 
exec /usr/lib/cyrus-imapd/ptloader
May  6 22:39:18 test-imap ptloader[9614]: executed
May  6 22:39:18 test-imap ptloader[9614]: starting: $Id: ptloader.c,v 1.32.2.9 
2005/02/25 07:19:06 shadow Exp $


Sincerly,
Klaus



-- 
Klaus Steinberger Beschleunigerlaboratorium
Phone: (+49 89)289 14287  Am Coulombwall 6, D-85748 Garching, Germany
FAX:   (+49 89)289 14280  EMail: [EMAIL PROTECTED]
URL: http://www.physik.uni-muenchen.de/~Klaus.Steinberger/


smime.p7s
Description: S/MIME cryptographic signature

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: Problem with ptloader and Novell Edirectory

2008-05-07 Thread Klaus Steinberger
Hi Wes.

> On 06 May 2008, at 15:51, Klaus Steinberger wrote:
> > I'm using  cyrus-imapd-2.3.7-1.1.el5 (Scientific Linux).
>
> That's pretty old, there have been a lot of fixes to the pt & ldap
> code in the intervening 5 or so releases.

Thanks! That solved my problem, i built the SRPM from Fedora 8 now for SL5 
(2.3.11-1). Groups are working now. I had to change the ldap_group_filter 
from my original question, so now the ldap parameters are the following:

ldap_sasl: 0
ldap_base: ou=Personen,o=physik
ldap_filter: (uid=%u)
ldap_group_base: ou=Gruppen,o=physik
ldap_group_filter: (cn=%u)
ldap_uri: ldap://edir11.physik.uni-muenchen.de
ldap_size_limit: 20
ldap_member_method: filter
ldap_member_filter: (member=%D)
ldap_member_attribute: cn
ldap_member_base: ou=Gruppen,o=physik
ldap_tls_cacert_file: /etc/pki/tls/certs/ca-bundle.crt
pts_module: ldap
ptscache_timeout: 10
ptloader_sock: /var/lib/imap/ptclient/ptsock


This should work as long as no user is member of more than 20 groups. (should 
not be the case here, some special groups are outside "ou=Gruppen,o=physik" 
and are not counted).

ptdump now shows:


[EMAIL PROTECTED] etc]# /usr/lib/cyrus-imapd/ptdump
user: guinea.pig time: 1210155445 groups: 1
  group:campususer
user: klaus.steinberger time: 1210155332 groups: 4
  group:pr-adm-verw
  group:cipwheel
  group:etpgrid
  group:rechner
[EMAIL PROTECTED] etc]# 

Setting ACL's on groups now works as expected.

Sincerly,
Klaus



-- 
Klaus Steinberger Beschleunigerlaboratorium
Phone: (+49 89)289 14287  Am Coulombwall 6, D-85748 Garching, Germany
FAX:   (+49 89)289 14280  EMail: [EMAIL PROTECTED]
URL: http://www.physik.uni-muenchen.de/~Klaus.Steinberger/


smime.p7s
Description: S/MIME cryptographic signature

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: Problems with load balancing cluster on GFS

2008-06-06 Thread Klaus Steinberger



I'm seeing some weird behaviour with the pop3 daemon on a GFS HA
cluster with load balancing.


I would not advise running cyrus-imapd on top of GFS. GFS is even with  
the best tuning possible very slow regarding small files (the typical  
load type of a cyrus-imapd). GFS runs into heavy locking with that  
type of load. So don't do it.


What I'm currently doing:

I run on top of a RH Cluster (using Scientific Linux) virtual machines  
with XEN. rgmanager handles very well the failover of XEN instances.  
So I just run one VM with a cyrus-imapd. (this cluster handles all of  
my DMZ servers, e.g. it runs VM's for static webpages, typo3 and so  
on, currently around 15 VM's). The cluster is a 3 node setup with an  
SAN Storage.


A Logical Volume is exported to the XEN VM, inside this Volume i  
create again a Volume Group. A Logical Volume is created for  
/var/spool/imap, which is formated just as ext3. There is no cluster  
locking necessary as just one virtual machine accesses this Volume. As  
the Volume Group is inside the VM, I can use Snapshots also (not  
possible on clvm).


 Current size of my Imap Server is 2500 users and currently 250 GByte  
of Mailboxes used (growing and growing).


I don't see how to avoid a murder setup if you need more than one  
machine running cyrus-imapd in parallel.


Sincerly,
Klaus


This message was sent using IMP, the Internet Messaging Program.


smime.p7s
Description: S/MIME krytographische Unterschrift

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

imap transport returned 75

2004-11-23 Thread Klaus Boehm
Hello,
i use exim3 with cyrus 1.5 an now i would like to change
to exim4 and cyrus 2.1.
in the old version i use in the exim.conf
this line
command = "/usr/sbin/cyrdeliver ${local_part}"
but this dont work in the new version.
I get this error:
 Child process of imap transport returned 75 (could mean temporary error) from 
command: /usr/sbin/cyrdeliver

what could it mean?
thanks in advance.

klaus
--
-
Klaus Boehm
Systemadministrator
ewt gmbh
D-86152 Augsburg, Volkhartstr. 4-6
Phone:  +49.(0)821.3106-319
Fax: +49.(0)821.310660-319
mailto:[EMAIL PROTECTED]
http://www.ewt.de
http://www.surf-club.de
-

---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Mapping usernames to mailboxnames?

2004-11-24 Thread Klaus Steinberger
Hello,
we want to map the usernames to mailboxnames, because we want stable 
mailboxnames even with a namechange of the user (for example when a user changes 
his name because of marriage).

We use a Novell Directory Service for our user database and authentication 
(LDAP). Is it possible to map a username to another mailboxname with ldap?

Sincerly,
Klaus Steinberger
--
Klaus Steinberger Maier-Leibnitz Labor
Phone: (+49 89)289 14287  Am Coulombwall 6, D-85748 Garching, Germany
FAX:   (+49 89)289 14280  EMail: [EMAIL PROTECTED]
URL: http://www.physik.uni-muenchen.de/~k2/
In a world without Walls and Fences, who needs Windows and Gates
---
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


Newbe: Help on cyrus-imapd mailbox listing...

2011-12-20 Thread Klaus Tachtler
Hi Mailinglist,

i have a little problem, to understand cyrus-imapd.

If I do

1. telnet localhost 143 | Auth is o.k. | LIST "" "*" show me ALL Mailboxes!

2. telnet server80.dmz.my.domain > Auth is o.k. | LIST "" "*" NO  
Mailboxes listed!

The cyrus-imapd runs on server80.dmz.my.domain.

How can i see all mailboxes, when i come from localhost OR  
server80.dmz.my.domain? Is that possible?


Thanks
Klaus.


--


e-Mail  : kl...@tachtler.net
Homepage: http://www.tachtler.net
DokuWiki: http://www.dokuwiki.tachtler.net



Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/


Re: Newbe: Help on cyrus-imapd mailbox listing...

2011-12-20 Thread Klaus Tachtler
Hi Jeroen,

> On 2011-12-20 9:40, Klaus Tachtler wrote:
>> How can i see all mailboxes, when i come from localhost OR
>> server80.dmz.my.domain? Is that possible?
>>
>
> What configuration do you have for virtual domains?
>
> Kind regards,
>
> Jeroen van Meeuwen

Here my /etc/impad.conf

admins: cyrus
allowplaintext: 1
configdirectory: /var/lib/imap
defaultdomain: tachtler.net
hashimapspool: 1
lmtp_downcase_rcpt: 1
normalizeuid: 1
partition-default: /var/spool/imap
quotawarn: 90
unixhierarchysep: 1
username_tolower: 1
sasl_pwcheck_method: auxprop
sasl_auxprop_plugin: ldapdb
sasl_mech_list: PLAIN DIGEST-MD5 CRAM-MD5 LOGIN
sasl_ldapdb_uri: ldap://ldap.dmz.tachtler.net
sasl_ldapdb_id: SASLErsatzbenutzer
sasl_ldapdb_pw: geheim
sasl_ldapdb_mech: PLAIN DIGEST-MD5 CRAM-MD5 LOGIN
sievedir: /var/lib/imap/sieve
sendmail: /usr/sbin/sendmail
servername: mx1.tachtler.net
serverinfo: min
tls_cert_file: /etc/pki/cyrus-imapd/cyrus-imapd.pem
tls_key_file: /etc/pki/cyrus-imapd/cyrus-imapd.pem
tls_ca_file: /etc/pki/tls/certs/ca-bundle.crt
virtdomains: on

When i stop using virtdomains, solves this the problem?

Thanks
Klaus.


--


e-Mail  : kl...@tachtler.net
Homepage: http://www.tachtler.net
DokuWiki: http://www.dokuwiki.tachtler.net



Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/


Re: Newbe: Help on cyrus-imapd mailbox listing...

2011-12-20 Thread Klaus Tachtler
Hi Jeroen,

> On 2011-12-20 10:47, Klaus Tachtler wrote:
>> virtdomains: on
>>
>> When i stop using virtdomains, solves this the problem?
>>
>
> Would you try with setting your virtdomains setting to userid please?

Yes, that's it!

> Kind regards,
>
> Jeroen van Meeuwen

Thank you so much for your help!

Kind regards,
Klaus.


--


e-Mail  : kl...@tachtler.net
Homepage: http://www.tachtler.net
DokuWiki: http://www.dokuwiki.tachtler.net



Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/


Problem with quotas larger than 4 GByte

2006-03-29 Thread Klaus Steinberger
Hello,

I have trouble with a power user mailbox, which currently runs near at 4GByte. 
I bumped up the quota to 6 Gbyte, but deliver fails then:

Mar 29 10:08:37 mail lmtpunix[2968]: verify_user(user.dietrich^habs) failed: 
Over quota

cyrus-admin shows the following:

localhost.localdomain> lq user/dietrich.habs
 STORAGE 3722027/600 (62.03378%)
localhost.localdomain> 


So this looks like lmtpunix has an problem with number over 32bit!

I run the following cyrus version:

2.2.12 with autocreate and autosieve patches


As an short time solution I removed quota for this user, but I fear that he 
will run into storage limits.

Sincerly,
Klaus Steinberger

-- 
Klaus Steinberger Maier-Leibnitz Labor
Phone: (+49 89)289 14287  Am Coulombwall 6, D-85748 Garching, Germany
FAX:   (+49 89)289 14280  EMail: [EMAIL PROTECTED]
URL: http://www.physik.uni-muenchen.de/~k2/

In a world without Walls and Fences, who needs Windows and Gates

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 quotas larger than 4 GByte

2006-03-29 Thread Klaus Steinberger
Am Mittwoch 29 März 2006 13:01 schrieb Simon Matter:
> > Only Cyrus 2.3 supports quotas of that size.
>
> Or my latest 2.2 rpms which are patched for it.

Thanks! I will try that.

Sincerly,
Klaus

-- 
Klaus Steinberger Maier-Leibnitz Labor
Phone: (+49 89)289 14287  Am Coulombwall 6, D-85748 Garching, Germany
FAX:   (+49 89)289 14280  EMail: [EMAIL PROTECTED]
URL: http://www.physik.uni-muenchen.de/~k2/

In a world without Walls and Fences, who needs Windows and Gates

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 shared folders

2005-05-18 Thread Klaus P. Pieper
Hi,
we are setting up a Cryus IMAP server (2.1.18 on Debian Sarge). Account 
management is done by "saslauthd -a pam" which gets its data from a 
mysql database (pam_mysql). This works fine - with this setup the mail 
users don't have to have a system account.

Now we are looking for a way to set up shared folders and bulletin 
boards. However, as far as I can see, the Cyrus server reads the 
user-to-group relationship always from /etc/group. Is there a way to use 
the database for this purpose? If not, can the Cyrus server be run 
chrooted with its own /etc/group? Or is there any other workaround to 
avoid using /etc/group of the base system?

Thanks Klaus
---
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: Tutorial on how to backup/restore cyrus

2005-09-19 Thread Klaus P. Pieper

Hi Leon,

[EMAIL PROTECTED] schrieb:


A) So if anyone have some scripts with the snapshot feature who can share them, 
it would be nice to see them here.
B) Also any scripts with the minimal downtime for the cyrus are welcomed.
C) Any snapshot techniques (on reiserfs) are also very interesting and I like 
to here them.
 

in early June, there were several messages on this list with the subject 
"backup without stopping the imap server?" I haven't read them all but 
perhaps you find somethinb usefil in these mails.


Klaus


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


Recommendations for Thunderbird settings when it hangs copying to "sent folder"

2005-10-26 Thread Klaus P. Pieper

Hi,

Cyrus 2.1.18 on Debian Sarge used mostly with Thunderbird 1.0.6 on 
Windows XP. One NAT router and an additional router / switch between the 
server and the TB clients.


Occasionally (it appears that this happens usually after intensive use 
of the search function) the TB client hangs after sending out a mail 
with the message "copying to sent folder". It is not related to the size 
of the message. The message *is* sent out but then we have to restart 
the TB client. No chance to save the message in the IMAP sent folder.


There are a few bug reports available on this but I haven't found a real 
solution so far. Does anybody use the combination of TB and Cyrus 
without problems? Could we use a sieve script to put a copy of each 
outgoing mail into the sent folder (instead of having the client do this)?


Thanks Klaus

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: Recommendations for Thunderbird settings when it hangs copying to "sent folder"

2005-10-26 Thread Klaus P. Pieper

Ken Murchison schrieb:

This isn't a problem with Cyrus or TB, its a problem with your NAT 
router "closing" idle connections.  In TB under the advanced server 
settings, try changing the number of cached connections to 0 or 1, and 
disable the use of the IDLE command.



Thanks.
Does setting the number of cached connections to 0 or 1 automatically 
disable the use of the IDLE command or is there any other setting involved?


Klaus

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: Recommendations for Thunderbird settings when it hangs copying to "sent folder"

2005-10-26 Thread Klaus P. Pieper

twk schrieb:


Klaus,

The way I solved this was by designating a specific folder to be my 
sent  folder (in my case "out"), adding the "anyone p" privelege to 
the folder, then replacing the "save a copy" action with a BCC with 
plus addressing to the "out" folder ([EMAIL PROTECTED]). Then, a copy 
of the message is actually sent to the sent folder, which is not 
dependent on the copy action in Thunderbird.


I have used this for years and it works flawlessly

2 caveats :
- our sendmail rules normalize everything to lower case, so the folder 
name must be all lower case letters
- everything in the "out" folder appears as a unread message. I 
occasionally select all the messages and mark them as read.


Tom,

thanks. I'll try Ken's advise first and use your proposal if that won't 
help.


Klaus


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: Recommendations for Thunderbird settings when it hangs copying to "sent folder"

2005-10-26 Thread Klaus P. Pieper

Klaus P. Pieper schrieb:


Thanks.
Does setting the number of cached connections to 0 or 1 automatically 
disable the use of the IDLE command or is there any other setting 
involved?


Done. Found the checkbox to disable IDLE. Let's see how it works.

Klaus


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