virtual domains and cyrus 2.1.12

2003-03-10 Thread Andreas Meyer
Hi!

Just subscribed to the list because I wanted to try out cyrus's
virtual domain support.
I compiled and installed version 2.1.12. The tools like mkimap
were not installed automatically.

Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK eta Cyrus IMAP4 v2.1.12 server ready
. logout
* BYE LOGOUT received
. OK Completed

According to the install-virtualdomains.html I made a:

eta:/home/sourcen/cyrus-imapd-2.1.12/tools # ./mkimap -d meyer.foo
can't open -d at (eval 1) line 15,  line 82.

eta:/home/sourcen/cyrus-imapd-2.1.12/tools # su cyrus
[EMAIL PROTECTED]:/home/sourcen/cyrus-imapd-2.1.12/tools> ./mkimap -d meyer.foo
can't open -d at (eval 1) line 15,  line 82.

I also read man imapd.conf and cannot find a notice about
virtdomains. My imapd.conf looks like this:
...
sasl_pwcheck_method: auxprop
defaultdomain: meyer.home
virtdomains: meyer.foo compdot.foo 

So my question is, are virtual domains supported, do I have
to wait or will this never happen?

Another thing I noticed:
master[970]: setrlimit: Unable to set file descriptors limit to -1: \
Operation not permitted
master[970]: retrying with 1024 (current max)
master[970]: process started

Is this ok or do I have to worry?

-- 

  Andreas Meyer

Object Class   Common Name   userPassword
posixAccount   andreas   {SSHA}hpyqObx1/BXbKFgXoqCayoGsvIgPYiVc


RE: virtual domains and cyrus 2.1.12

2003-03-10 Thread Raine, David
I believe that virtual domain support is only available 
in the 2.2 version.

-Original Message-
From: Andreas Meyer [mailto:[EMAIL PROTECTED]
Sent: 10 March 2003 10:51
To: [EMAIL PROTECTED]
Subject: virtual domains and cyrus 2.1.12


Hi!

Just subscribed to the list because I wanted to try out cyrus's
virtual domain support.
I compiled and installed version 2.1.12. The tools like mkimap
were not installed automatically.

Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK eta Cyrus IMAP4 v2.1.12 server ready
. logout
* BYE LOGOUT received
. OK Completed

According to the install-virtualdomains.html I made a:

eta:/home/sourcen/cyrus-imapd-2.1.12/tools # ./mkimap -d meyer.foo
can't open -d at (eval 1) line 15,  line 82.

eta:/home/sourcen/cyrus-imapd-2.1.12/tools # su cyrus
[EMAIL PROTECTED]:/home/sourcen/cyrus-imapd-2.1.12/tools> ./mkimap -d meyer.foo
can't open -d at (eval 1) line 15,  line 82.

I also read man imapd.conf and cannot find a notice about
virtdomains. My imapd.conf looks like this:
...
sasl_pwcheck_method: auxprop
defaultdomain: meyer.home
virtdomains: meyer.foo compdot.foo 

So my question is, are virtual domains supported, do I have
to wait or will this never happen?

Another thing I noticed:
master[970]: setrlimit: Unable to set file descriptors limit to -1: \
Operation not permitted
master[970]: retrying with 1024 (current max)
master[970]: process started

Is this ok or do I have to worry?

-- 

  Andreas Meyer

Object Class   Common Name   userPassword
posixAccount   andreas   {SSHA}hpyqObx1/BXbKFgXoqCayoGsvIgPYiVc

--
This message is intended only for the personal and confidential use of the designated 
recipient(s) named above.  If you are not the intended recipient of this message you 
are hereby notified that any review, dissemination, distribution or copying of this 
message is strictly prohibited.  This communication is for information purposes only 
and should not be regarded as an offer to sell or as a solicitation of an offer to buy 
any financial product, an official confirmation of any transaction, or as an official 
statement of Lehman Brothers.  Email transmission cannot be guaranteed to be secure or 
error-free.  Therefore, we do not represent that this information is complete or 
accurate and it should not be relied upon as such.  All information is subject to 
change without notice.




Cyrus configure help

2003-03-10 Thread Dan Post
I'm installing Cyrus IMAP 2.1.12 on a Solaris 8 machine and I get the following error:

configure: error: this version requires Berkeley DB 3.x or later.
You may need to supply the --with-bdb-libdir or --with-bdb-incdir  configure options

I have installed Berkeley DB 4.1.25 in /usr/local/   but it still tells me that I have 
to install it. Do I need to install DB in a specific place or tell IMAP where I 
installed it?

Thank you for your time and help,


Dan Post
Unix Systems Administrator
LDMI Telecommunications
(313)965-8125 x632
[EMAIL PROTECTED]





insubscribe

2003-03-10 Thread Hans Scheffers





Re: Cyrus configure help

2003-03-10 Thread Eugene Chow
Did you make use of the

--with-bdb-libdir or --with-bdb-incdir

configure options? Mine's installed in /usr/local as well and this is 
what I specified:

--with-dbdir=/usr/local/BerkeleyDB.4.0

You might want to try pointing the configure script to the exact 
locations of the include and library files using LDFLAGS and CPPFLAGS if 
all else fails, ie.:

LDFLAGS="-L/usr/local/berkeley_installation_dir/lib" 
CPPFLAGS="-I/usr/local/berkeley_installation_dir/include"

*
Dan Post wrote:
I'm installing Cyrus IMAP 2.1.12 on a Solaris 8 machine and I get the following error:

configure: error: this version requires Berkeley DB 3.x or later.
You may need to supply the --with-bdb-libdir or --with-bdb-incdir  configure options
I have installed Berkeley DB 4.1.25 in /usr/local/   but it still tells me that I have to install it. Do I need to install DB in a specific place or tell IMAP where I installed it?

Thank you for your time and help,

Dan Post
Unix Systems Administrator
LDMI Telecommunications
(313)965-8125 x632
[EMAIL PROTECTED]


 





IMSP Installation

2003-03-10 Thread Sebastian Konstanty Zdrojewski
Hello everybody,

after my battle (won) with Cyrus IMAPD 2, I am now looking up for IMSP. 
I downloaded the latest CVS, and after solving the problem with 
libcyrus.a file and other minor problems, I can't go on with building 
the server because I am getting the following error:

### Done with /home/nexus/machine/cyrus-imspd/lib
### Making all in /home/nexus/machine/cyrus-imspd/imsp
make[1]: Entering directory `/home/nexus/machine/cyrus-imspd/imsp'
gcc -g -O2 -L/usr/local/lib -Wl,-rpath,/usr/local/lib  -o cyrus-imspd main.o 
dispatch.o imsp_server.o option.o syncdb.o adate.o im_util.o abook.o authize.o alock.o 
sasl_support.o  ../lib/libcyrus.a  -L/usr/local/cyrus-sasl/lib  
-Wl,-rpath,/usr/local/cyrus-sasl/lib -lsasl2 -ldl -lresolv
imsp_server.o: In function `imsp_getacl':
/home/nexus/machine/cyrus-imspd/imsp/imsp_server.c:1535: undefined reference to 
`acl_masktostr'
abook.o: In function `abook_rights':
/home/nexus/machine/cyrus-imspd/imsp/abook.c:112: undefined reference to `acl_myrights'
abook.o: In function `abook_rename':
/home/nexus/machine/cyrus-imspd/imsp/abook.c:702: undefined reference to `acl_set'
abook.o: In function `abook_setacl':
/home/nexus/machine/cyrus-imspd/imsp/abook.c:931: undefined reference to `acl_set'
/home/nexus/machine/cyrus-imspd/imsp/abook.c:939: undefined reference to 
`acl_strtomask'
/home/nexus/machine/cyrus-imspd/imsp/abook.c:939: undefined reference to `acl_set'
abook.o: In function `abook_myrights':
/home/nexus/machine/cyrus-imspd/imsp/abook.c:965: undefined reference to 
`acl_masktostr'
collect2: ld returned 1 exit status
make[1]: *** [cyrus-imspd] Error 1
make[1]: Leaving directory `/home/nexus/machine/cyrus-imspd/imsp'
### Done with /home/nexus/machine/cyrus-imspd/imsp
[EMAIL PROTECTED] cyrus-imspd]$
I am using the snapshot because it supports the SASL2 library.

Any suggestions?

TIA,

En3pY

--

Sebastian Konstanty Zdrojewski
IT Analyst
Neticon S.r.l.
via Valtellina, 16 - 20159 Milano
Tel. +39 02 68.80.731
FAX +39 02.60.85.70.41
Cell. +39 349.33.04.311
ICQ # 97334916
--
Web: http://www.neticon.it/
E-mail: [EMAIL PROTECTED]



Interesting space issue

2003-03-10 Thread Jim Howell
Hi,
	I have an interesting problem.  Over the weekend our syslog forwarder went 
beserk generating over 300,000 messages to about 6 people.  This morning 
our three new Cyrus systems went belly up, (yes that is a technical term), 
actually the master daemon seemed to eventually freeze up.  The only real 
error msgs I can find are these:
Mar 10 00:18:16 postoffice8 lmtpd[27393]: [ID 729713 local6.error] DBERROR: 
opening /opt/cyrus/mailboxes.db: Not enough space
Mar 10 08:04:46 postoffice8 pop3d[2183]: [ID 729713 local6.error] DBERROR: 
opening /opt/cyrus/mailboxes.db: Not enough space
Mar 10 08:12:58 postoffice8 imapd[2489]: [ID 729713 local6.error] DBERROR: 
opening /opt/cyrus/mailboxes.db: Not enough space
Mar 10 08:14:05 postoffice8 imapd[2731]: [ID 729713 local6.error] DBERROR: 
opening /opt/cyrus/mailboxes.db: Not enough space
Mar 10 08:27:59 postoffice8 imapd[3951]: [ID 729713 local6.error] DBERROR: 
opening /opt/cyrus/mailboxes.db: Not enough space

Now I'm been running older versions of Cyrus (1.5.19) for years at 300,000 
messages a day with no trouble.  I don't believe space is really an issue, 
here is a df -k from one of the systems.

Filesystemkbytesused   avail capacity  Mounted on
/dev/md/dsk/d0   1984564  904568 102046047%/
/proc  0   0   0 0%/proc
fd 0   0   0 0%/dev/fd
mnttab 0   0   0 0%/etc/mnttab
/dev/md/dsk/d1962573  255248  64957129%/var
swap 28642528  32 28642496 1%/var/run
swap 28655440   12944 28642496 1%/tmp
/dev/md/dsk/d4   50408148134 4982272 1%/users
/dev/md/dsk/d3   5040814  452439 453796710%/opt
/dev/vx/dsk/po8_dg01/logvol01
 5160542  115891 4993046 3%/logs
/dev/vx/dsk/po8_dg01/mqueuevol01
 103218844986 10213680 1%/mqueue
/dev/vx/dsk/po8_dg01/cyrus_data_vol01
 41287586  126222 40748489 1%/opt/cyrus
/dev/vx/dsk/po8_dg01/sendmailvol01
 41287586  603402 40271309 2%/opt/sendmail_vol
/dev/vx/dsk/po8_dg01/cyrus_app_vol01
 41287586  147526 40727185 1%/opt/cyrus_vol
/dev/vx/dsk/po8_dg01/spoolvol01
 103218991  679107 101507695 1%/var/spool/mail
swap 28642640 144 28642496 1%/opt/cyrus/proc
/dev/vx/dsk/po8_dg01/appvol01
 20643785   54397 20382951 1%/applications
This is all with Cyrus 2.1.11 on a V880 with 32GB of memory with Solaris 8 
and, Sendmail 8.12.8.  Anyone seen this before?  Thanks.
Jim



Re: Interesting space issue

2003-03-10 Thread Nils Vogels
On Mon, Mar 10, 2003 at 03:13:30PM -0500, Jim Howell wrote:
>
> Now I'm been running older versions of Cyrus (1.5.19) for years at 300,000 
> messages a day with no trouble.  I don't believe space is really an issue, 
> here is a df -k from one of the systems.

Did you by any chance run out of inodes on the filesystem?

df -i (YMMV) should help you discover that.

Gr,

Nils.


Re: Interesting space issue

2003-03-10 Thread Lawrence Greenfield
   Date: Mon, 10 Mar 2003 15:13:30 -0500
   From: Jim Howell <[EMAIL PROTECTED]>
[...]
   This is all with Cyrus 2.1.11 on a V880 with 32GB of memory with Solaris 8 
   and, Sendmail 8.12.8.  Anyone seen this before?  Thanks.

What sort of database backend are you using? (cyradm version should help)

Are you sure there weren't many many different copies of mailboxes.db
sticking around that were taking up space? Enough inodes?

Collecting truss output from a process giving this error message could
be helpful.

Larry




Setup problem - cannot create folders/admin/mailbox?

2003-03-10 Thread Eric Clemens

I appreciate any help someone could offer with my problem outlined below.
I am trying to convert my system from using imap-uw to cyrus. imap-uw was
working fine until about 3 weeks ago when out of the blue it just stopped
allowing anyone to authenticate. After trying to fix that problem was
unsuccessful, I thought it would be better to upgrade to cyrus.

I am running FreeBSD 4.7 and installed cyrus-imapd-2.1.12 from the port
tree using make install.

I am loosely trying to follow the instructions in the (outdated) cyrus FAQ
and everything that is mentioned seems good..

I ran mkimap successfully. The directions then ask to run chattr +S on
several files. I don't know what the FreeBSD equivalent would be for a
chattr +S, so I skipped this step.

In section 8.2 of the FAQ - testing, I was able to successfully test the
server at one point, however it now appears it doesn't like my password...
hummm.

In section 8.3 of the FAQ, when I issue the command cyradm 'localhost' I
receive the following reply: 'cyradm: cannot authenticate to server with
as cyrus'

That seems to be where I am stuck.

I am running a default configuration, I have not changed any of the
settings.

I did some searching through the list archives, and my sasl_pwcheck_method
is set to saslauthd.

On a final note, I am able to log in and authenticate using an IMAP client
and a system account - but I do not have ANY folders to read mail from.

NOTE: I have folders and messages saved in folders from when I was using
imap-uw - I'd like to save that data... can I? (I have the files)

I cannot seem to make any headway on this and appreciate anyone's help and
input.

Thanks.
-Eric
 me (at) ericclemens.com


Re: Interesting space issue

2003-03-10 Thread Jim Howell
Hi,
Good idea, but no I didn't run out of inodes.
Jim
At 09:30 PM 3/10/2003 +0100, Nils Vogels wrote:
On Mon, Mar 10, 2003 at 03:13:30PM -0500, Jim Howell wrote:
>
> Now I'm been running older versions of Cyrus (1.5.19) for years at 300,000
> messages a day with no trouble.  I don't believe space is really an issue,
> here is a df -k from one of the systems.
Did you by any chance run out of inodes on the filesystem?

df -i (YMMV) should help you discover that.

Gr,

Nils.



Re: Interesting space issue

2003-03-10 Thread Jim Howell
At 03:39 PM 3/10/2003 -0500, Lawrence Greenfield wrote:
   Date: Mon, 10 Mar 2003 15:13:30 -0500
   From: Jim Howell <[EMAIL PROTECTED]>
[...]
   This is all with Cyrus 2.1.11 on a V880 with 32GB of memory with 
Solaris 8
   and, Sendmail 8.12.8.  Anyone seen this before?  Thanks.

What sort of database backend are you using? (cyradm version should help)
BerkleyDB 4.1


Are you sure there weren't many many different copies of mailboxes.db
sticking around that were taking up space?
I don't know, why would there be more than one?

Enough inodes?
Yes


Collecting truss output from a process giving this error message could
be helpful.
I wasn't able to unfortunately.  Those processes were gone and things were 
messed up by time I knew it.


Larry



Re: Interesting space issue

2003-03-10 Thread Alain Williams
On Mon, Mar 10, 2003 at 03:13:30PM -0500, Jim Howell wrote:
> Hi,
>   I have an interesting problem.  Over the weekend our syslog forwarder went 
> beserk generating over 300,000 messages to about 6 people.  This morning 
> our three new Cyrus systems went belly up, (yes that is a technical term), 
> actually the master daemon seemed to eventually freeze up.  The only real 
> error msgs I can find are these:
> Mar 10 00:18:16 postoffice8 lmtpd[27393]: [ID 729713 local6.error] DBERROR: 
> opening /opt/cyrus/mailboxes.db: Not enough space
> Mar 10 08:04:46 postoffice8 pop3d[2183]: [ID 729713 local6.error] DBERROR: 
> opening /opt/cyrus/mailboxes.db: Not enough space
> Mar 10 08:12:58 postoffice8 imapd[2489]: [ID 729713 local6.error] DBERROR: 
> opening /opt/cyrus/mailboxes.db: Not enough space
> Mar 10 08:14:05 postoffice8 imapd[2731]: [ID 729713 local6.error] DBERROR: 
> opening /opt/cyrus/mailboxes.db: Not enough space
> Mar 10 08:27:59 postoffice8 imapd[3951]: [ID 729713 local6.error] DBERROR: 
> opening /opt/cyrus/mailboxes.db: Not enough space
> ...

* Exceeed some sort of operating system user/group quota limit ?

* Exceeded 2Gb on some file ?

* Tried fscking /opt ?

-- 
Alain Williams

#include 


pop3d hangs on slow connections with large attachements

2003-03-10 Thread Ralf Hübl
Hi List,

I have installed cyrus 2.1.9 on a SuSE 8.1
IMAP and POP3 works very well on the local 100MB/s network.

But some of my Clients have a slow dial up connections.
If this clients connect to the server via pop3 the pop3d hangs during the
download of attachments larger then aprox 100KB.
The clients software (M$/or not M$) dosn't matter MS Oulook / MS Oulook
Express / Netscape / PINE / fetchmail and so on 

Before I had upgraded, I used an cyrus 2.0.16 on a SuSE 7.3.
There was the same problem and the reason for my upgrade.
Please Remarke: the problem occures only on slow connections.

Have every one a Problem like this ?
Have every one a Solution ?
Keywords: Broken Pipe, it looks like a timeout ?

ciao Ralf (sorry my english is to bad)

Ralf Hübl



RE: Setup problem - cannot create folders/admin/mailbox?

2003-03-10 Thread Joe Dennick
Try using the following command to get cyradm to work:

cyradm --user cyrus localhost

It will then ask for cyrus's password.

Once authenticated, you can create your users with the command:
cm user.userid (replace userid with the appropriate user's name)

After you've done that, you can create sub-folders with the command:
cm user.userid.newfolder

I usually create sent-mail, drafts, and trash for all of my users.

Finally, after you've created your user's mailboxes, you can then copy their mail
from the old server to the appropriate folder on the new server.

I hope this helps.

Joe Dennick
[EMAIL PROTECTED]

Eric Clemens <[EMAIL PROTECTED]> wrote the Mar 10, 2003 2:55 PM:

> 
> I appreciate any help someone could offer with my problem outlined below.
> I am trying to convert my system from using imap-uw to cyrus. imap-uw was
> working fine until about 3 weeks ago when out of the blue it just stopped
> allowing anyone to authenticate. After trying to fix that problem was
> unsuccessful, I thought it would be better to upgrade to cyrus.
> 
> I am running FreeBSD 4.7 and installed cyrus-imapd-2.1.12 from the port
> tree using make install.
> 
> I am loosely trying to follow the instructions in the (outdated) cyrus FAQ
> and everything that is mentioned seems good..
> 
> I ran mkimap successfully. The directions then ask to run chattr +S on
> several files. I don't know what the FreeBSD equivalent would be for a
> chattr +S, so I skipped this step.
> 
> In section 8.2 of the FAQ - testing, I was able to successfully test the
> server at one point, however it now appears it doesn't like my password...
> hummm.
> 
> In section 8.3 of the FAQ, when I issue the command cyradm 'localhost' I
> receive the following reply: 'cyradm: cannot authenticate to server with
> as cyrus'
> 
> That seems to be where I am stuck.
> 
> I am running a default configuration, I have not changed any of the
> settings.
> 
> I did some searching through the list archives, and my sasl_pwcheck_method
> is set to saslauthd.
> 
> On a final note, I am able to log in and authenticate using an IMAP client
> and a system account - but I do not have ANY folders to read mail from.
> 
> NOTE: I have folders and messages saved in folders from when I was using
> imap-uw - I'd like to save that data... can I? (I have the files)
> 
> I cannot seem to make any headway on this and appreciate anyone's help and
> input.
> 
> Thanks.
> -Eric
>  me (at) ericclemens.com



Problems with my compiler ?

2003-03-10 Thread Template-Archiv
Hi all,

this is absolutely not related to anything here but I do not know where 
to ask else and I think somebody here will definetly know what I am 
doing wrong:

After having plenty of problems on my Solaris 8 x86 box with gcc and the 
 linker provided by solaris I now found out the following which I 
absolutely do not understand and which seems to be the cause of many (if 
not all) of my problems...

schulte-03:58:27:~ >echo "int main() { return 0; }" > conftest.c
schulte-03:58:33:~ >gcc -O3 -static conftest.c -o conftest
schulte-03:58:38:~ >./conftest
Segmentation Fault (core dumped)
schulte-03:58:42:~ >ldd conftest
ldd: conftest: file is not a dynamic executable or shared object
schulte-04:04:11:~ >gcc -O3 conftest.c -o conftest
schulte-04:05:13:~ >./conftest
schulte-04:05:16:~ >ldd conftest
libc.so.1 => /usr/lib/libc.so.1
libdl.so.1 =>/usr/lib/libdl.so.1
Because mainly all configure-scripts will do some kind of this and will 
fail with LDFLAGS="-static" in the very beginning I cannot build static 
binaries with gcc and solaris ld. The question is simple: Why does that 
simple binary produce a segfault ? Shouldn't that run ? ldd correctly 
states that conftest is not a shared object (and that is what I want!) 
but however that segfaults. Maybe this is a totally stupid thing to ask 
but after hours of reading manpages of ld and even trying to change 
things in the compilers' spec-file I cannot get gcc to produce a 
statically linked binary which does not segfault ! Because I am not that 
familiar with the compiler and ld (it is Solaris-ld called by gcc with 
no gld being present!) I hope someone has had that before or knows where 
I am too stupid ? I started playing with the -Xlinker option of gcc but 
it is the same result all the time:

schulte-04:30:02:~ >gcc -O3 -Xlinker -dn -Xlinker -Bstatic -Xlinker -a 
conftest.c -o conftest
schulte-04:30:19:~ >./conftest
Segmentation Fault (core dumped)
schulte-04:30:24:~ >ldd conftest
ldd: conftest: file is not a dynamic executable or shared object
schulte-04:30:28:~ >

Here are the versions of the tools being used:

schulte-04:11:06:~ >gcc -v
Reading specs from /usr/local/lib/gcc-lib/i386-pc-solaris2.8/2.95.3/specs
gcc version 2.95.3 20010315 (release)
schulte-04:19:32:~ >ld -V
ld: Software Generation Utilities - Solaris-ELF (4.0)
Can anybody help ?

--Christian--



Re: quota problems ; overquota, quotawarning, etc

2003-03-10 Thread Christian Schulte
Markus Welsch wrote:

Hi all,

I've set up Cyrus 2.1 with quota. Now when there is no
quota reached already Cyrus accepts the message no
mater what size (even if it's 800% overquota).
Is there a way to reject the mails in such a case ?

No! A mailbox could never go over quota if such mails would be rejected! 
If you send one email being 800% over quota cyrus will deliver the mail 
and all next mails to the same mailbox now being over quota will be 
handled appropriate to your imapd.conf settings!

When are quota warnings send ? (Quotapercentage is
already reached but I didn't get a warning).
 

From imapd.conf manpage:

lmtp_over_quota_perm_failure: 0
 If enabled, lmtpd returns a permanent failure code when
 a  user's  mailbox  is  over  quota.   By  default, the
 failure is temporary, causing the MTA to queue the mes-
 sage and retry later.
quotawarn: 90
 The percent of quota utilization over which the  server
 generates warnings.
Some email clients show a dialogbox (like Outlook) where others do not 
(like Mozilla-Mail). That you did not get a warning right now can be 
caused of your MTA queueing the message caused by 
lmtp_over_quota_perm_failure not being set!

--Christian--






[no subject]

2003-03-10 Thread Leonid
Hello.

What does mean imapd.core ?

www# ls -la /home/cyrus/user/leo | grep imapd.core
-rw---   1 cyrus  cyrus  18026496 Feb 19 21:35 imapd.core
www# 

I don't like such large size!


Best regads,
 Leonid  mailto:[EMAIL PROTECTED]