sample config in the wiki

2003-11-18 Thread Craig Ringer
Hi folks

I've added a short explanation of the POST's Cyrus config to the wiki, 
focusing on our authentication setup. It's going to need filling out I 
suspect, and no doubt a bit of clarification, but I was hoping to get a 
few comments on what's there now.

http://asg.web.cmu.edu/twiki/bin/preview/Cyrus/SampleCyrusConfigurations

Craig Ringer



Re: cannot get idled to run

2003-11-18 Thread Ted Cabeen
On Tue, Nov 18, 2003 at 10:50:13PM -0500, Craig Constantine wrote:
> --On Tuesday, November 18, 2003 2:10 PM -0800 Ted Cabeen 
> <[EMAIL PROTECTED]> wrote:
> 
> >What are the permissions on your idle socket and the directory that
> >the socket is in?
> 
> # ls -ald /var
> drwxr-xr-x   21 root root 4096 Jun 17 21:36 /var
> # ls -ald /var/imap
> drwxrwsr-x   12 smmspcyrus4096 Nov 18 22:37 /var/imap
> # ls -ald /var/imap/socket
> drwxr-s---2 smmspcyrus4096 Nov 18 15:42 /var/imap/socket
> # ls -ald /var/imap/socket/idle
> srwxrwxrwx1 root cyrus   0 Jun 17 22:24 
> /var/imap/socket/idle
> 
> ...and my 'master' process runs as cyrus as you'd expect.

Try changing the owner of the idle socket to cyrus.  That's how I have
mine, and I reacll that I had trouble getting idled started because of
permissions.

-- 
Ted Cabeen   http://www.pobox.com/~secabeen[EMAIL PROTECTED] 
Check Website or Keyserver for PGP/GPG Key BA0349D2 [EMAIL PROTECTED]
"I have taken all knowledge to be my province." -F. Bacon  [EMAIL PROTECTED]
"Human kind cannot bear very much reality."-T.S.Eliot[EMAIL PROTECTED]


Re: cannot get idled to run

2003-11-18 Thread Craig Constantine
--On Tuesday, November 18, 2003 2:10 PM -0800 Ted Cabeen 
<[EMAIL PROTECTED]> wrote:

What are the permissions on your idle socket and the directory that
the socket is in?
# ls -ald /var
drwxr-xr-x   21 root root 4096 Jun 17 21:36 /var
# ls -ald /var/imap
drwxrwsr-x   12 smmspcyrus4096 Nov 18 22:37 /var/imap
# ls -ald /var/imap/socket
drwxr-s---2 smmspcyrus4096 Nov 18 15:42 /var/imap/socket
# ls -ald /var/imap/socket/idle
srwxrwxrwx1 root cyrus   0 Jun 17 22:24 
/var/imap/socket/idle

...and my 'master' process runs as cyrus as you'd expect.

-c



imaps with multiple hostnames

2003-11-18 Thread Craig Ringer
Hi folks

I'm running into a bit of an issue setting up Cyrus for TLS security, 
and was hoping someone could help me out.

The host must be accessible using two different hostnames - one for 
external IMAPs via our gateway, and one for internal IMAPs with the 
host's name on our internal network. This is causing problems with SSL 
certs, and I was hoping there was a way to create a single certificate 
with multiple allowed hostnames.

The only option I see otherwise is to host a modified version of our 
externally-visible DNS on our internal DNS server and provide a 
different value for 'mail.postnewspapers.com.au' (or whatever) that 
points to the internal host. I'm currently using a fake domain 
(.localnet) for internal DNS and using the real domain for externally 
visible public services only.

The gateway will just be forwarding IMAPs traffic to the internal mail 
server using firewall rules.

Ideally, I'd like to be able to set up a cert to allow both (say) 
'mail.localnet' and 'mail.postnewspapers.com.au' as hostnames. If this 
is possible, are there any issues with doing so such as some mail 
clients not recognising the two hostnames?

Any other suggestions?

Craig Ringer



Changelog, LDAP features

2003-11-18 Thread Thomas Luzat
Hello!

1) Is there any 'readable' changelog (better than the CVS entries) for
Cyrus IMAP available?

2) Is there a list of planned featues and features which is being worked
on?

3) Are there any plans to allow some further integration of LDAP? I am
thinking about:

a) Fetching Sieve-scripts from LDAP (would guess not)
b) Fetching Quota settings from LDAP (same)

It's probably best to write some LDAP->Cyrus gateway for that, right?

Thanks!

Thomas


signature.asc
Description: This is a digitally signed message part


Re: cannot get idled to run

2003-11-18 Thread Ted Cabeen
Craig Constantine <[EMAIL PROTECTED]> writes:

> I'm running (compiled from source) Cyrus-imapd-2.1.13 on RedHat Linux
> 8.0 [all patched up to date.]
>
> With every incoming message I get the oft seen "error sending to
> idled" message in syslog facility local6. Cyrus is of course compiled
> to use idled.  :)
>
> The only thing (that I see) idled should be binding to is the unix socket named in 
> imapd.conf via 'idlesocket'. But a netstat shows that the unix socket 
> /var/imap/socket/idled is not in use, and invoking fuser on the sockets in 
> /var/imap/socket confirms the idled socket is not inuse. (I fuser'd the lmtp socket 
> to make sure fuser does what I think it does. -- 
> 7145 is the cyrus master at the moment. :)
> snip---
> # fuser lmtp
> lmtp: 7145  7584
> # fuser idle
> #
> snip---
>
> Anyone care to swing the clue bat at me?

What are the permissions on your idle socket and the directory that
the socket is in?

-- 
Ted Cabeen   http://www.pobox.com/~secabeen[EMAIL PROTECTED] 
Check Website or Keyserver for PGP/GPG Key BA0349D2 [EMAIL PROTECTED]
"I have taken all knowledge to be my province." -F. Bacon  [EMAIL PROTECTED]
"Human kind cannot bear very much reality."-T.S.Eliot[EMAIL PROTECTED]


Re: mbox to Cyrus migration document

2003-11-18 Thread Rob Siemborski
On Tue, 18 Nov 2003, Andrew Morgan wrote:

> Uhh, so where in the Wiki should I put it?  Also, I was intending to just
> create a link to my site, rather than duplicating the content into the
> Wiki.  Is that what you had in mind?

The administration section is probabaly a good start.  I'd rather you put
all the content in the wiki, that way everything is in one place and
other people can update it later freely.

-Rob

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper



Re: mbox to Cyrus migration document

2003-11-18 Thread Andrew Morgan


On Tue, 18 Nov 2003, Rob Siemborski wrote:

> On Tue, 18 Nov 2003, Andrew Morgan wrote:
>
> > That sounds good to me.  I've never touched the Cyrus Wiki before...  Do
> > you want to add it, or should I create an account for myself and figure
> > out where to put it?  :)
>
> Creating generic accounts is currently Hard because we're sharing this
> with some of our internal sites.
>
> But just doing it as a guest user should be fine.

Uhh, so where in the Wiki should I put it?  Also, I was intending to just
create a link to my site, rather than duplicating the content into the
Wiki.  Is that what you had in mind?

Sorry, I'm a little ignorant when it comes to Wiki's...  :)

Andy



cannot get idled to run

2003-11-18 Thread Craig Constantine
I'm running (compiled from source) Cyrus-imapd-2.1.13 on RedHat Linux 8.0 
[all patched up to date.]

With every incoming message I get the oft seen "error sending to idled" 
message in syslog facility local6. Cyrus is of course compiled to use 
idled.  :)

My cyrus.conf contains:
snip---
START {
 # do not delete this entry!
 recover   cmd="ctl_cyrusdb -r"
 # this is only necessary if using idled for IMAP IDLE
 idled cmd="idled"
}
snip---
my /etc/imapd.conf contains:
snip---
idlesocket: /var/imap/socket/idle
snip---
/var/imap/socket/ looks like:
snip---
# ls -al /var/imap/socket/
total 8
drwxr-s---2 smmspcyrus4096 Nov 18 15:42 .
drwxrwsr-x   12 smmspcyrus4096 Nov 18 15:50 ..
srwxrwxrwx1 root cyrus   0 Jun 17 22:24 idle
snip---
ps shows idled is in fact, not running. Sending the Cyrus master process a 
SIGHUP leaves this in my syslog -- no sign of idled 
starting/stopping/crashing:
snip---
Nov 18 16:07:42 portnoy master[7145]: got SIGHUP
Nov 18 16:07:42 portnoy tls_prune[7530]: tls_prune: purged 0 out of 0 
entries
Nov 18 16:07:42 portnoy ctl_cyrusdb[7532]: checkpointing cyrus databases
Nov 18 16:07:42 portnoy ctl_deliver[7531]: duplicate_prune: pruning back 3 
days
Nov 18 16:07:42 portnoy lmtpd[7419]: error sending to idled: 2
Nov 18 16:07:42 portnoy ctl_deliver[7531]: duplicate_prune: purged 28 out 
of 5854 entries
Nov 18 16:07:44 portnoy ctl_cyrusdb[7532]: done checkpointing cyrus 
databases
snip---

Thoughts? I even tried to start idled by hand:
snip---
# su - cyrus -c '/usr/cyrus/bin/idled -C /etc/imapd.conf'
bind: Address already in use
snip---
That explains why it doesn't start. But I don't understand why I'm getting 
a bind error on the unix socket... ?

The only thing (that I see) idled should be binding to is the unix socket 
named in imapd.conf via 'idlesocket'. But a netstat shows that the unix 
socket /var/imap/socket/idled is not in use, and invoking fuser on the 
sockets in /var/imap/socket confirms the idled socket is not inuse. (I 
fuser'd the lmtp socket to make sure fuser does what I think it does. -- 
7145 is the cyrus master at the moment. :)
snip---
# fuser lmtp
lmtp: 7145  7584
# fuser idle
#
snip---

Anyone care to swing the clue bat at me?

-Craig



Re: mbox to Cyrus migration document

2003-11-18 Thread Rob Siemborski
On Tue, 18 Nov 2003, Andrew Morgan wrote:

> That sounds good to me.  I've never touched the Cyrus Wiki before...  Do
> you want to add it, or should I create an account for myself and figure
> out where to put it?  :)

Creating generic accounts is currently Hard because we're sharing this
with some of our internal sites.

But just doing it as a guest user should be fine.

-Rob

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper



Re: mbox to Cyrus migration document

2003-11-18 Thread Andrew Morgan


On Tue, 18 Nov 2003, Rob Siemborski wrote:

> On Tue, 18 Nov 2003, Andrew Morgan wrote:
>
> > On August 30th, 2003, our site migrated from standard unix mbox format
> > mailboxes to Cyrus.  I've seen a lot of people ask how to do this
> > migration, so I've written up a document describing how we did it and the
> > scripts we used.
> >
> > http://www.onid.orst.edu/docs/technical/cyrusmigration.shtml
>
> Hi Andy:
>
> This sort of thing would be really useful to put in the Wiki:
>
> http://cyruswiki.andrew.cmu.edu

That sounds good to me.  I've never touched the Cyrus Wiki before...  Do
you want to add it, or should I create an account for myself and figure
out where to put it?  :)

Andy



Re: mbox to Cyrus migration document

2003-11-18 Thread Rob Siemborski
On Tue, 18 Nov 2003, Andrew Morgan wrote:

> On August 30th, 2003, our site migrated from standard unix mbox format
> mailboxes to Cyrus.  I've seen a lot of people ask how to do this
> migration, so I've written up a document describing how we did it and the
> scripts we used.
>
> http://www.onid.orst.edu/docs/technical/cyrusmigration.shtml

Hi Andy:

This sort of thing would be really useful to put in the Wiki:

http://cyruswiki.andrew.cmu.edu

-Rob

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper



mbox to Cyrus migration document

2003-11-18 Thread Andrew Morgan

On August 30th, 2003, our site migrated from standard unix mbox format
mailboxes to Cyrus.  I've seen a lot of people ask how to do this
migration, so I've written up a document describing how we did it and the
scripts we used.

http://www.onid.orst.edu/docs/technical/cyrusmigration.shtml

Andy Morgan
Central Computing
Oregon State University




Re: Is there a limit on mailbox name length in Cyrus ?

2003-11-18 Thread Rob Siemborski
On Tue, 18 Nov 2003, Etienne Goyer wrote:

> I was just wondering : is there is a limit on the length of mailbox name
> in Cyrus ?

Yes.  It is controlled by MAX_MAILBOX_NAME in imap/mailbox.h (490
characters), but may practically be less depending on constraints due to
path lengths.

-Rob

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper



Is there a limit on mailbox name length in Cyrus ?

2003-11-18 Thread Etienne Goyer
Hi,

I was just wondering : is there is a limit on the length of mailbox name
in Cyrus ?

-- 
Etienne GoyerLinux Québec Technologies Inc.
http://www.LinuxQuebec.com   [EMAIL PROTECTED]


moving Cyrus again

2003-11-18 Thread Denis V. Suhanov
Hello,

I already asked that question (moving the Cyrus server from one computer
to  another)  yesterday  and was told that I should use cyrusdb utility.
But  neither  documentation  nor  man  told me what actual files does it
create  and  how  do I restore them after copying. Could somebody please
help me with that?

I  have  Cyrus  installed on one box and need to move it to another. The
source  box  is  OpenBSD  3.3  and the target box is FreeBSD 5.1. Source
server  is  Cyrus 2.1.11 and I am planning to have Cyrus 2.2.2 beta on a
target.  I  need to move all users' folders and ACLs and (ideally) their
SASL accounts (I am using SASLDB).

Thanks a lot.

-- 
Best regards,
 Denis  mailto:[EMAIL PROTECTED]



Re: Pop3 "mysteriously" not responding

2003-11-18 Thread Ken Murchison
Jarod Beekman wrote:

So I have that all too common administrators problem again it
seems.  With no apparent or admited changes being made to the system
last Friday pop3 stopped completing connections, and I can not figure
out what to do.  I don't have an extensive knowledge of pop3, but I know
enough to see that in a telnet session the server never sends the
initial +OK greeting ( or any other message for that matter ).
The imapd.log ( local6.debug ) reads:
Nov 18 08:29:33 mail pop3d[23504]: accepted connection
Nov 18 08:29:33 mail master[23663]: about to exec
/usr/lib/cyrus-imapd/pop3d
Nov 18 08:29:33 mail pop3[23663]: executed
You are probably running out of entropy, therefore pop3d can't create an 
APOP challenge for the banner.  I'm guessing that pop3d would eventually 
"wake up" if you move the mouse or type on the keyboard.

If this is a recurring problem, you can disable APOP by recompiling SASL 
 with --disable-checkapop (Note: Cyrus 2.2 has an imapd.conf option to 
disable APOP).

--
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26  Orchard Park, NY 14127
--PGP Public Key--http://www.oceana.com/~ken/ksm.pgp


Pop3 "mysteriously" not responding

2003-11-18 Thread Jarod Beekman
So I have that all too common administrators problem again it
seems.  With no apparent or admited changes being made to the system
last Friday pop3 stopped completing connections, and I can not figure
out what to do.  I don't have an extensive knowledge of pop3, but I know
enough to see that in a telnet session the server never sends the
initial +OK greeting ( or any other message for that matter ).
The imapd.log ( local6.debug ) reads:

Nov 18 08:29:33 mail pop3d[23504]: accepted connection
Nov 18 08:29:33 mail master[23663]: about to exec
/usr/lib/cyrus-imapd/pop3d
Nov 18 08:29:33 mail pop3[23663]: executed

...for every connection but never delievers any other log entries I can
find to messages or auth.log

My configuration is:

RedHat Linux 9
cyrus 2.1.15-2 ( Simon Matter rpm )
Cyrus-sasl 2.1.10 ( Simon Matter rpm )
Postfix 1.1.12-1 ( RedHat 9 rpm )
Kernel 2.4.20-2.9smp ( RedHat 9 rpm )

Using saslauthd -> pam

Thans for your time, any help or direction would be greatly appreciated!

Jarod Beekman
Senior Systems Engineer
Azusa Pacific University 



Re: Admin User - Cyrus IMAP

2003-11-18 Thread Ken Murchison
Julian W H Osborne wrote:

Dear All,

I'm trying to configure a Sendmail/Cyrus IMAP/LDAP solution, on a 
RH9.0 system, and it is all working fine, authenticating via PAM, 
except for one thing.

We have a RH7.1 system running quite an old version of cyrus 
imap&sasl.  They way it has been configured you can login to any 
pop/imap account with the cyrus admin password if you know it.  This 
can be very useful and saves a lot of time.

I have been unable to replicate this functionality on the RH9 system. 
 The system is patched up to date and running:

cyrus-sasl-md5-2.1.10-4
cyrus-sasl-devel-2.1.10-4
cyrus-imapd-2.1.15-2
cyrus-imapd-utils-2.1.15-2
cyrus-imapd-murder-2.1.15-2
cyrus-sasl-2.1.10-4
cyrus-sasl-plain-2.1.10-4
cyrus-imapd-devel-2.1.15-2
I've been through the archives and can't find anything,  I'm being 
pressured for a solutions so all help greatfully recevied.
That only way to proxy as a user (regardless of Cyrus or RH version) is 
to use a SASL mechanism which supports proxying.  Given your list of 
RPMs, the only mechs which you have that are capable of this are PLAIN 
and DIGEST-MD5.  Make sure that whatever client you are using is 
choosing one of these two mechanisms.

--
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26  Orchard Park, NY 14127
--PGP Public Key--http://www.oceana.com/~ken/ksm.pgp


mkimap failure

2003-11-18 Thread frank joseph
Hi All.

Using cyrus-imapd-2.1.15 and db-4.1.25. on an x86. The problem arises when I
execute
./mkimap. Here are the particulars:

___
Berkeley DB-4.1.25 installation

cd /usr/local/src/db-4.1.25/build_unix
../dist/configure && make && make install
echo /usr/local/BerkeleyDB.4.1/lib >> /etc/ld.so.conf && ldconfig
ln -s /usr/local/BerkeleyDB.4.1/lib/libdb-4.1.so /usr/lib
___
cyrus-imapd-2.1.15 installation

cd /usr/local/src/cyrus-imapd-2.1.15/makedepend
./configure && make
cp -v ./makedepend /usr/local/bin/makedepend

mkdir /usr/sieve  /var/imap /var/spool/imap "
cd /usr/local/src/cyrus-imapd-2.1.15 "

./configure --prefix=/usr --with-auth=unix --with-sasl=/usr/local/lib --with
-openssl=/usr/local/ssl
--with-dbdir=/usr/local/BerkeleyDB.4.1 --with-bdb-libdir=/usr/local/Berkeley
DB.4.1/lib
--with-bdb-incdir=/usr/local/BerkeleyDB.4.1/include

useradd -g mail cyrus
make depend
make all CFLAGS=-O
make install "
rm -f /etc/services syslog.conf "
cp services syslog.conf imapd.conf /etc
cp -v /usr/local/src/cyrus-imapd-2.1.15/master/conf/normal.conf
/etc/cyrus.conf
touch /var/log/imapd.log /var/log/auth.log "

cd /var && chown cyrus imap && chgrp mail imap && chmod 750 imap "
cd /usr && chown cyrus sieve && chgrp mail sieve && chmod 750 sieve "
chown cyrus /var/spool/imap && chgrp mail /var/spool/imap "
cd /usr/local/src/cyrus-imapd-2.1.15/tools "
su cyrus
./mkimap
___
my imapd.conf

configdirectory: /var/imap
partition-default: /var/spool/imap
admins: cyrus
sasl_pwcheck_method: saslauthd
allowanonymouslogin: no
allowplaintext: yes
___
Here is the output from mkimap:

[EMAIL PROTECTED]:/usr/local/src/cyrus-imapd-2.1.15/tools$ ./mkimap
. will configure directory /var/imap
. saw partition /var/spool/imap
done
...ating /var/imap
 at (eval 1) line 91.ar/imap

I ran strace on mkimap. Found a couple of things:

[EMAIL PROTECTED]:/usr/local/src/cyrus-imapd-2.1.15/tools$strace ./mkimap

snip
---

reading configure file...open("/etc/imapd.conf", O_RDONLY|O_LARGEFILE) = 4
ioctl(4, SNDCTL_TMR_TIMEBASE, 0xb600) = -1 ENOTTY (Inappropriate ioctl
for device)
_llseek(4, 0, [0], SEEK_CUR)= 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=155, ...}) = 0
fcntl64(4, F_SETFD, FD_CLOEXEC) = 0
brk(0)  = 0x814d000
brk(0x814e000)  = 0x814e000
write(1, "reading configure file...\n", 26reading configure file...
) = 26
brk(0)  = 0x814e000
brk(0x814f000)  = 0x814f000
read(4, "configdirectory: /var/imap\r\npart"..., 4096) = 155
.rite(1, "i will configure directory /var/"..., 39i will configure directory
/var/imap
) = 39
.rite(1, "i saw partition /var/spool/imap\r"..., 34i saw partition
/var/spool/imap
) = 34
read(4, "", 4096)   = 0
write(1, "done\n", 5done
)   = 5
close(4)= 0
...te(1, "creating /var/imap\r...\n", 23creating /var/imap
) = 23
", 0755)   = -1 EACCES (Permission denied)
") = -1 ENOENT (No such file or directory)
 at (eval 1) line 91.hange to /var/imap\r at"..., 51couldn't change to
/var/imap
) = 51
close(3)= 0
exit_group(2)   = ?
___

Here's some other relavent info:

[EMAIL PROTECTED]:/usr/local/src/cyrus-imapd-2.1.15# ldd
/usr/cyrus/bin/ctl_cyrusdb
libsasl2.so.2 => /usr/local/lib/libsasl2.so.2 (0x40017000)
libresolv.so.2 => /lib/libresolv.so.2 (0x40032000)
libdb-4.1.so => /usr/local/BerkeleyDB.4.1/lib/libdb-4.1.so
(0x40044000)
libssl.so.0.9.7 => /usr/local/ssl/lib/libssl.so.0.9.7 (0x400ed000)
libcrypto.so.0.9.7 => /usr/local/ssl/lib/libcrypto.so.0.9.7
(0x4011b000)
libc.so.6 => /lib/libc.so.6 (0x4020a000)
libdl.so.2 => /lib/libdl.so.2 (0x4034)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x4000)
___

Not sure if the line (Inappropriate ioctl for device) is relavant, but
(permission denied) sure is.
I don't understand why permissions would be denied. The user "cyrus" has all
required perms.
I can create/delete directories within /var/spool and /var/spool/imap from
the command line
as "cyrus". I have tried installing prior versions of berkeleydb and imapd
along with different
installation directories. The result was the same. Any help interpreting the
above would be
extremly welcome.

TIA

-Frank



Admin User - Cyrus IMAP

2003-11-18 Thread Julian W H Osborne
Dear All,

I'm trying to configure a Sendmail/Cyrus IMAP/LDAP solution, on a 
RH9.0 system, and it is all working fine, authenticating via PAM, 
except for one thing.

We have a RH7.1 system running quite an old version of cyrus 
imap&sasl.  They way it has been configured you can login to any 
pop/imap account with the cyrus admin password if you know it.  This 
can be very useful and saves a lot of time.

I have been unable to replicate this functionality on the RH9 system. 
 The system is patched up to date and running:

cyrus-sasl-md5-2.1.10-4
cyrus-sasl-devel-2.1.10-4
cyrus-imapd-2.1.15-2
cyrus-imapd-utils-2.1.15-2
cyrus-imapd-murder-2.1.15-2
cyrus-sasl-2.1.10-4
cyrus-sasl-plain-2.1.10-4
cyrus-imapd-devel-2.1.15-2

I've been through the archives and can't find anything,  I'm being 
pressured for a solutions so all help greatfully recevied.

Thanks

Julian


Julian W H Osborne
IMS MAXIMS plc
Clara House, Glenageary Business Park, Co. Dublin, Ireland
Tel: +353 1 2840555  Fax: +353 1 2840829
Sandymount, Station Road, Woburn Sands, Bucks MK17 8RR, UK
Tel: +44 (0)1908 588800 Fax: +44 (0)1908 588819
http://www.imsmaxims.com/ 




FATAL: lmtpd: unable to init duplicate delivery database

2003-11-18 Thread Andrew Koros
Hello,

I have a strange lmtpd problem where it does not accept connections and
it produces the following log errors when cyrus starts:

Nov 18 13:49:09 tux ctl_cyrusdb[19874]: checkpointing cyrus databases
Nov 18 13:49:09 tux lmtpd[19879]: DBERROR db4: operation not permitted
during recovery.
Nov 18 13:49:09 tux lmtpd[19879]: DBERROR: opening
/var/lib/imap/deliver.db: Invalid argument
Nov 18 13:49:09 tux lmtpd[19879]: DBERROR: opening
/var/lib/imap/deliver.db: cyrusdb error
Nov 18 13:49:09 tux lmtpd[19879]: FATAL: lmtpd: unable to init duplicate
delivery database
Nov 18 13:49:09 tux ctl_cyrusdb[19874]: done checkpointing cyrus
databases

Iam using RedHat9 with Simon Matter's rpms cyrus-sasl-2.1.15-3 and
cyrus-imapd-2.1.15-2 rebuilt with db4 according to Simon's db4-spec
file(although the error was still there even with the RedHat's
db4-4.0.14-20.i386.rpm). 

Your help will be appreciated.
-- 
Andrew Koros
Developer, Systems Services

UUNET KENYA LTD
2nd Floor Parkside Towers
Mombasa Road, Nairobi

Tel: +254 2 69088618
Fax: +254 2 69088001
Email: [EMAIL PROTECTED]   

http://www.uunet.co.ke

NOTICE: "The contents of this e-mail and any accompanying documentation is
confidential and any use thereof, in whatever form, by anyone other than the
addressee for whom it is intended, is strictly prohibited."



Re: db.backup# directories ... ?

2003-11-18 Thread Ken Murchison


Marc G. Fournier wrote:
What are they, and what creates them, and any way to get rid of them?

hub# du -sk db*
19714   db
This contains the BDB environment.  If you remove this, BDB will be fscked.

8173db.backup1
8149db.backup2
These are the backup directories which are created for every checkpoint 
(db.backup1 is moved to db.backup2 and db is backed upinto db.backup1). 
They contain the BDB logs and a copy of each database at the time of the 
checkpoint.

Feel free to remove db.backup[12], but they will be recreated at every 
checkpoint unless you change the source.

--
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26  Orchard Park, NY 14127
--PGP Public Key--http://www.oceana.com/~ken/ksm.pgp


db.backup# directories ... ?

2003-11-18 Thread Marc G. Fournier

What are they, and what creates them, and any way to get rid of them?

hub# du -sk db*
19714   db
8173db.backup1
8149db.backup2

Thanks ...


Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email: [EMAIL PROTECTED]   Yahoo!: yscrappy  ICQ: 7615664


confusion about DB versions

2003-11-18 Thread Andreas
Hi all,

I'm confused about all the DB options available to link cyrus-imapd (2.1.15)
with. Is there a recommended Berkeley DB version? It seems ./configure tries
4.1 first, and then goes on on a descending order. If linked with BDB 4.1, will
it be able to read stuff writen by a previous cyrus-imapd build which was
linked with BDB 4.0?



FATAL: lmtpd: unable to init duplicate delivery database

2003-11-18 Thread Andrew Koros
Hello,

I have a strange lmtpd problem where it does not accept connections and
it produces the following log errors when cyrus starts:

Nov 18 13:49:09 tux ctl_cyrusdb[19874]: checkpointing cyrus databases
Nov 18 13:49:09 tux lmtpd[19879]: DBERROR db4: operation not permitted
during recovery.
Nov 18 13:49:09 tux lmtpd[19879]: DBERROR: opening
/var/lib/imap/deliver.db: Invalid argument
Nov 18 13:49:09 tux lmtpd[19879]: DBERROR: opening
/var/lib/imap/deliver.db: cyrusdb error
Nov 18 13:49:09 tux lmtpd[19879]: FATAL: lmtpd: unable to init duplicate
delivery database
Nov 18 13:49:09 tux ctl_cyrusdb[19874]: done checkpointing cyrus
databases

Iam using RedHat9 with Simon Matter's rpms cyrus-sasl-2.1.15-3 and
cyrus-imapd-2.1.15-2 rebuilt with db4 according to Simon's db4-spec
file(although the error was still there even with the RedHat's
db4-4.0.14-20.i386.rpm). 

Your help will be appreciated.


Andrew Koros
Developer, Systems Services

UUNET KENYA LTD
2nd Floor Parkside Towers
Mombasa Road, Nairobi

Tel: +254 2 69088618
Fax: +254 2 69088001
Email: [EMAIL PROTECTED]   

http://www.uunet.co.ke

NOTICE: "The contents of this e-mail and any accompanying documentation is
confidential and any use thereof, in whatever form, by anyone other than the
addressee for whom it is intended, is strictly prohibited."