Re: perl ok now - next problem

2001-03-10 Thread Phil Ellett

Cyrus IMAP 2.x runs as a daemon and NOT though Inetd (or Xinetd).

I made exactly the same mistake  The best advice is to read the docs
that come with the
tarball rather than the HowTo docs cause they're out of date.

Regards,

Phil,

Technimode Hostmaster,
Sheffield, UK.


- Original Message -
From: "Olaf Zaplinski" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 09, 2001 11:40 PM
Subject: perl ok now - next problem


> Hi,
>
> thanks a lot for the hints, I moved two directories from
> /usr/local/lib/site_perl to /usr/lib/perl5... now it works, but I have the
> next problem:
>
> imtest says:
>
> cyrus@ridcully:~ > imtest -m login -p imap localhost
> C: C01 CAPABILITY
> failure: prot layer failure
>
> The log says then:
>
> Mar 10 00:15:23 ridcully service-imapd[16290]: executed
> Mar 10 00:15:23 ridcully service-imapd[16290]: unable to set close on
exec:
> Bad file descriptor
> Mar 10 00:15:23 ridcully ^B
>
> I get the same log entries when I try to login with cyradm.
>
> BTW, it's not DeadRat, it's SuSE 7.1
>
> 
>
> OK, I fixed that. The "Cyrus HOWTO" is wrong, I started imapd via
> inetd.conf. Now I had that corrected I have the trouble with sasldb.
> Sendmail says it's not ok to chmod 0640 it. I know there is an option for
> sendmail to tell it to shut up and do its work.
>
> 
>
> Sigh... ;-)
>
> I had to compile sendmail with -D_FFR_UNSAFE_SASL, okay. But now I have to
> enable the option DontBlameSendmail. But how? It's not clearly mentioned
in
> the sendmail... err, let's name that 'docs'. ;-)
>
> Which of these is it?
>
> 1.
> DAEMON_OPTIONS('DontBlameSendmail', `GroupReadableSASLFile')
> 2.
> FEATURE('DontBlameSendmail', `GroupReadableSASLFile')
> 3.
> define('DontBlameSendmail', `GroupReadableSASLFile') this one did not work
> 4.
> LOCAL_CONFIG
> DontBlameSendmail=GroupReadableSASLFile
>
> Olaf
>




Cyrus Imapd auth failure

2001-03-10 Thread dotcomdot

info-cyrus,

$cyradm -user cyrus localhost
Password: 
application-specific initialization failed: authentication failed
$tail /var/adm/messages
Mar 10 8:15:17 dotme imapd[7286]: unable to dlopen /usr/lib/sasl/libgssapiv2.so: 
ld.so.1: imapd: fatal: relocation error: file /usr/lib/sasl/libgssapiv2.so: symbol 
GSS_C_NT_HOSTBASED_SERVICE: referenced symbol not found
Mar 10 8:15:17 dotme cyradm[7285]: unable to dlopen /usr/lib/sasl/libgssapiv2.so: 
ld.so.1: cyradm: fatal: relocation error: file /usr/lib/sasl/libgssapiv2.so: symbol 
GSS_C_NT_HOSTBASED_SERVICE: referenced symbol not found
$ls -l /usr/lib/sasl/libgssapiv2.so*
lrwxrwxrwx   1 root other 21 Mar 10 04:00 /usr/lib/sasl/libgssapiv2.so -> 
libgssapiv2.so.1.0.14
lrwxrwxrwx   1 root other 21 Mar 10 04:00 /usr/lib/sasl/libgssapiv2.so.1 
-> libgssapiv2.so.1.0.14
-rwxr-xr-x   1 root other  63124 Mar 10 04:00 
/usr/lib/sasl/libgssapiv2.so.1.0.14

BTW,how to create the first user cyrus to administrate other users?

  

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





Re: bother you again -- about sieve

2001-03-10 Thread prune

Hi

It seems you did not start sieve.

have a look at your /etc/services.
you need to find a line like :

sieve2000/tcp

then, have a look to /etc/cyrus.conf
you should have lines containing sieve. here is the content of my own file. you can 
find it
somewhere in the
tarball of cyrus-imap :

bash-2.04$ more /etc/cyrus.conf
# standard standalone server implementation

START {
  # do not delete these entries!
  mboxlist  cmd="ctl_mboxlist -r"
  deliver   cmd="ctl_deliver -r"

  # this is only necessary if using idled for IMAP IDLE
#  idledcmd="idled"
}

# UNIX sockets start with a slash and are put into /var/imap/sockets
SERVICES {
# add or remove based on preferences
  imap  cmd="imapd" listen="imap" prefork=0
  imaps cmd="imapd -s" listen="imaps" prefork=0
  pop3  cmd="pop3d" listen="pop3" prefork=1
  pop3s cmd="pop3d -s" listen="pop3s" prefork=0
  sieve cmd="timsieved" listen="sieve" prefork=0

  # LMTP is required for delivery
  lmtpunix  cmd="lmtpd" listen="/var/imap/socket/lmtp" prefork=0
}

EVENTS {
  # this is required
  checkpointcmd="ctl_mboxlist -c" period=30

  # this is only necessary if using duplicate delivery suppression
  delprune  cmd="ctl_deliver -E 3" period=1440
}


then, stop and start cyrus.

The best way to test is by telneting :

telnet localhost sieve



bash-2.04$ telnet localhost sieve
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
"IMPLEMENTATION" "Cyrus timsieved v1.0.0"
"SASL" "PLAIN DIGEST-MD5 CRAM-MD5"
"SIEVE" "fileinto reject envelope vacation imapflags notify subaddress regex"
OK
logout
Ok "Logout Complete"
Connection closed by foreign host.

if it's good, sieve works. note that I've never been able to make installsieve work. I 
just
used websieve instead :)

Prune

John XING wrote:

> Hi,
>
> I need more help.
>
> My problem is: could not get either installsieve or sieveshell work!
>
> I have tried both cyrus-imapd 2.0.7 and 2.0.12 with postfix on redhat 7.0.
>
> Here is what I got:
>
> [xing@eyre rpm_build]$ sieveshell 127.0.0.1
> connecting to 127.0.0.1
> connect: Connection refused
> unable to connect to server: network initialization failed at /usr/bin/sieveshell 
>line 149.
>
> Examined the perl code of /usr/bin/sieveshell, it seems that
> I need to run acapd. Do I really need to run acapd?
> Also what is the role of timsieved?
>
> The docs in cyrus packages are awefully out of date.
>
> I would really appreciate if you can kindly show me
> (1) what daemon(s) to run
> (2) how to configure them
> in order to be able to install sieve scripts.
>
> The cyrus-imapd has been running very nicely for a long time.
> However, I do want to use sieve for fitlering and forwarding.
>
> Thanks a lot.
>
> John
>
> On Mon, Mar 05, 2001 at 07:16:07PM +0100, Atif Ghaffar wrote:
> > Hi John.
> > I took my recipies from here.
> > http://www.cyrusoft.com/sieve/scripts/simple-anti-spam.txt
> > http://www.cyrusoft.com/sieve/hillen-sieve-script-001.txt
> > http://www.cyrusoft.com/sieve/maro-sieve-script-001.txt
> >
> > You may also want to download and install the GUI to make rules.
> > http://24.112.168.35/websieve/
> >
> >
> > My vacation test rule was
> > require "vacation";
> > vacation "Gone away";
> >
> >
> > let me know if you need more help
> >
> > John XING wrote:
> > >
> > > Hi,
> > >
> > > I am struggling to have sieve work under cyrus.
> > > Could you share your recipe? Even a few lines
> > > will help a lot. I could not find proper doc for it.
> > >
> > > Thanks a lot
> > >
> > > John
> > > On Mon, Mar 05, 2001 at 03:20:51PM +0100, Atif Ghaffar wrote:
> > > > Hi.
> > > > Just compiled and installed 2.0.12 and lost vacation support.
> > > > Everything else "fileinto", "reject" etc are working fine.
> > > >
> > > > I am using Postfix+Cyrus+LDAP.
> > > > Delivery is done over LMTP.
> > > >
> > > > All but vacation is working fine.
> > > >
> > > > PS: Vacation was working in 2.0.9
> > > > shall I downgrade again?
> > > >
> > > > thanks for any info.
> > > >
> > > > --
> > > > Atif Ghaffar
> > > > Internet Development Manager
> > > > 4unet AG/SA
> > > >
> > > > -.
> > > >   +41 78 787 51 45 ¦ voice
> > > >   +41 24 441 09 03 ¦ fax
> > > > http://www.4unet.net ¦ www
> > > > http://atif.developer.ch ¦ homepage
> > > >   [EMAIL PROTECTED] ¦ email
> > > >
> >
> > --
> > Atif Ghaffar
> > Internet Development Manager
> > 4unet AG/SA
> >
> > -.
> >   +41 78 787 51 45 ¦ voice
> >   +41 24 441 09 03 ¦ fax
> > http://www.4unet.net ¦ www
> > http://atif.developer.ch ¦ homepage
> >   [EMAIL PROTECTED] ¦ email
> >
> > Do you speak Unix?
> >




RE: Have to restart Cyrus on linux to get it running

2001-03-10 Thread Torsten Knofel

> From: Carsten Hoeger [mailto:[EMAIL PROTECTED]]
>
> On Mon, Mar 05, [EMAIL PROTECTED] wrote:
>
> > I am running cyrus 2.0.12 on Linux 2.2.16 (SuSE 7.0) with sasl 1.5.24
> >
> > I authenticate with pam to /etc/shadow.
> >
> > After booting the system it is not possible to connect via IMAP.
> >
> > I restart the master with the scripts used during booting and
> after that all
> > is well functioning.
>
> Just noticed, that I get the same message on the startup of my machine:
>
> Mar  9 08:09:11 bad master: unable to change limit of file
> descriptors available
>
> But I am able to login. And I also use startproc to start the master
> process. I have now further idea, what may be the problem on your 7.0
> machine. I am using a 7.1 based system.
>

Tried today: startproc -u root ...
and now it's running without restart !

So, the problem is due to the not really real behaviour of startproc.

Thanx !

regards,

Torsten





no folder creation

2001-03-10 Thread Olaf Zaplinski

Hi all,

now I have it all up and running... :-)

But now the clients (Netscape 4, OE 5) don't work as expected: they see
their INBOX, but the other folders (Trash, Sent...) can be created, but they
are not shown and so cannot been used. Has anyone had that problem before?

Olaf



Re: bother you again -- about sieve

2001-03-10 Thread John XING

Thanks a lot. It worked. Really Appreciated.

John

On Sat, Mar 10, 2001 at 03:58:09PM +0100, prune wrote:
> Hi
> 
> It seems you did not start sieve.
> 
> have a look at your /etc/services.
> you need to find a line like :
> 
> sieve2000/tcp
> 
> then, have a look to /etc/cyrus.conf
> you should have lines containing sieve. here is the content of my own file. you can 
>find it
> somewhere in the
> tarball of cyrus-imap :
> 
> bash-2.04$ more /etc/cyrus.conf
> # standard standalone server implementation
> 
> START {
>   # do not delete these entries!
>   mboxlist  cmd="ctl_mboxlist -r"
>   deliver   cmd="ctl_deliver -r"
> 
>   # this is only necessary if using idled for IMAP IDLE
> #  idledcmd="idled"
> }
> 
> # UNIX sockets start with a slash and are put into /var/imap/sockets
> SERVICES {
> # add or remove based on preferences
>   imap  cmd="imapd" listen="imap" prefork=0
>   imaps cmd="imapd -s" listen="imaps" prefork=0
>   pop3  cmd="pop3d" listen="pop3" prefork=1
>   pop3s cmd="pop3d -s" listen="pop3s" prefork=0
>   sieve cmd="timsieved" listen="sieve" prefork=0
> 
>   # LMTP is required for delivery
>   lmtpunix  cmd="lmtpd" listen="/var/imap/socket/lmtp" prefork=0
> }
> 
> EVENTS {
>   # this is required
>   checkpointcmd="ctl_mboxlist -c" period=30
> 
>   # this is only necessary if using duplicate delivery suppression
>   delprune  cmd="ctl_deliver -E 3" period=1440
> }
> 
> 
> then, stop and start cyrus.
> 
> The best way to test is by telneting :
> 
> telnet localhost sieve
> 
> 
> 
> bash-2.04$ telnet localhost sieve
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> "IMPLEMENTATION" "Cyrus timsieved v1.0.0"
> "SASL" "PLAIN DIGEST-MD5 CRAM-MD5"
> "SIEVE" "fileinto reject envelope vacation imapflags notify subaddress regex"
> OK
> logout
> Ok "Logout Complete"
> Connection closed by foreign host.
> 
> if it's good, sieve works. note that I've never been able to make installsieve work. 
>I just
> used websieve instead :)
> 
> Prune
> 
> John XING wrote:
> 
> > Hi,
> >
> > I need more help.
> >
> > My problem is: could not get either installsieve or sieveshell work!
> >
> > I have tried both cyrus-imapd 2.0.7 and 2.0.12 with postfix on redhat 7.0.
> >
> > Here is what I got:
> >
> > [xing@eyre rpm_build]$ sieveshell 127.0.0.1
> > connecting to 127.0.0.1
> > connect: Connection refused
> > unable to connect to server: network initialization failed at /usr/bin/sieveshell 
>line 149.
> >
> > Examined the perl code of /usr/bin/sieveshell, it seems that
> > I need to run acapd. Do I really need to run acapd?
> > Also what is the role of timsieved?
> >
> > The docs in cyrus packages are awefully out of date.
> >
> > I would really appreciate if you can kindly show me
> > (1) what daemon(s) to run
> > (2) how to configure them
> > in order to be able to install sieve scripts.
> >
> > The cyrus-imapd has been running very nicely for a long time.
> > However, I do want to use sieve for fitlering and forwarding.
> >
> > Thanks a lot.
> >
> > John
> >
> > On Mon, Mar 05, 2001 at 07:16:07PM +0100, Atif Ghaffar wrote:
> > > Hi John.
> > > I took my recipies from here.
> > > http://www.cyrusoft.com/sieve/scripts/simple-anti-spam.txt
> > > http://www.cyrusoft.com/sieve/hillen-sieve-script-001.txt
> > > http://www.cyrusoft.com/sieve/maro-sieve-script-001.txt
> > >
> > > You may also want to download and install the GUI to make rules.
> > > http://24.112.168.35/websieve/
> > >
> > >
> > > My vacation test rule was
> > > require "vacation";
> > > vacation "Gone away";
> > >
> > >
> > > let me know if you need more help
> > >
> > > John XING wrote:
> > > >
> > > > Hi,
> > > >
> > > > I am struggling to have sieve work under cyrus.
> > > > Could you share your recipe? Even a few lines
> > > > will help a lot. I could not find proper doc for it.
> > > >
> > > > Thanks a lot
> > > >
> > > > John
> > > > On Mon, Mar 05, 2001 at 03:20:51PM +0100, Atif Ghaffar wrote:
> > > > > Hi.
> > > > > Just compiled and installed 2.0.12 and lost vacation support.
> > > > > Everything else "fileinto", "reject" etc are working fine.
> > > > >
> > > > > I am using Postfix+Cyrus+LDAP.
> > > > > Delivery is done over LMTP.
> > > > >
> > > > > All but vacation is working fine.
> > > > >
> > > > > PS: Vacation was working in 2.0.9
> > > > > shall I downgrade again?
> > > > >
> > > > > thanks for any info.
> > > > >
> > > > > --
> > > > > Atif Ghaffar
> > > > > Internet Development Manager
> > > > > 4unet AG/SA
> > > > >
> > > > > -.
> > > > >   +41 78 787 51 45 ¦ voice
> > > > >   +41 24 441 09 03 ¦ fax
> > > > > http://www.4unet.net ¦ www
> > > > > http://atif.developer.ch ¦ homepage
> > > > >   [EMAIL PROTECTED] ¦ email
> > > > >
> > >
> > > --
> > > Atif Ghaffar
> > > Internet Development Manager
> > > 4unet AG/SA
> > >
> > > -.
> > >   +41 78 787 51 45 ¦ voice
> > >  

Re: lmtp connection throtling in 2.0.9 or where are the docs?

2001-03-10 Thread Lawrence Greenfield

As other people suggested, it's possible to limit the number of concurrent 
lmtpds by careful configuration of your MTA (at least Postfix and Sendmail 
both can do various sorts of limiting).  You might want to consider running 
Sendmail is queue-only mode with a very short queue run interval.

I'd rather not add these smarts to Cyrus right now if it can be helped.

Larry, only a few months behind

--On Wednesday, December 27, 2000 09:01:04 AM -0500 Jeremy Beker 
<[EMAIL PROTECTED]> wrote:

>
>I have recently installed cyrus-imap 2.0.9 in a test environment in
> hopes of upgrading my company's mail server which is currently running
> the UW imap servers.  In general I have been very impressed with the
> operation, but I have run across one problem that is holding me up.
>As a test, I dumped a high load of messages at the server (200 messages
> being delivered via smtp).  Sendmail accepts the messages and fires up a
> copy of deliver for each one.  This is where things get a little shaky.
> Now I have roughly 200 copies of deliver running each trying to connect
> to lmtpd.  At this point lmtpd dies, here is the syslog entries:
>
> Dec 27 07:34:49 blackops service-lmtpd[28232]: executed
> Dec 27 07:34:51 blackops lmtpd[28232]: DBERROR db3:
> /var/imap/db/__db.003: Too many open files in system
> Dec 27 07:34:52 blackops lmtpd[28232]: DBERROR: dbenv->open
> '/var/imap/db' failed: Too many open files in system
> Dec 27 07:34:52 blackops master[26906]: process 28232 exited, signaled
> to death by 11
> Dec 27 07:37:53 blackops master[26906]: process 28433 exited, status 0
> Dec 27 07:45:10 blackops master[26906]: exiting on SIGTERM
> Dec 27 07:45:10 blackops deliver[28456]: connect(/var/imap/socket/lmtp)
> failed: Connection refused
>
>What I would like to do is limit the number of copies of deliver (and
> hence lmtpd) that are running at any one time.  If this number is
> exceeded, I want it to refuse delivery, forcing the mail to be queued
> up.  Is this possible?
>And is there aby documentation for the /etc/cyrus.conf file available?
> I have a feeling my question could be answered by that, but I can't seem
> to find it.
>Thanks in advance.
>
> -Jeremy
>
> --
> Jeremy Beker, Technical Manager
> Research & Development, 3-G International
> S/MIME Cert: http://employees.3gi.com/~jbeker/
> Condensing fact from the vapor of nuance.







Re: a bug of extra long line

2001-03-10 Thread Lawrence Greenfield

Could you try the following comparison instead?

p = buf + strlen(buf) - 1;
if (p == buf || (p[0] == '\n' && p[-1] != '\r')) {
/* either a \0 by itself or a \n without a \r */
p[0] = '\r';
p[1] = '\n';
p[2] = '\0';

The test is important to make sure that no bare \n get through.

Larry

--On Tuesday, January 02, 2001 10:27:53 PM +0800 missing wang 
<[EMAIL PROTECTED]> wrote:

> Although the RFC describle that length of each line in a letter is between
> 70-80 ,some mail server send letter in extra long line beyond the number.
> When the length beyond 8k,the cyrus can't store the letter correctly.
> I patched the imap/lmtpengine.c,now she works well.
>
> *** lmtpengine.c.orig   Tue Jan  2 21:57:49 2001
> --- lmtpengine.cTue Jan  2 21:58:15 2001
> ***
> *** 528,534 
>
>   while (prot_fgets(buf, sizeof(buf)-1, fin)) {
> p = buf + strlen(buf) - 1;
> !   if (p == buf || p[-1] != '\r') {
> p[0] = '\r';
> p[1] = '\n';
> p[2] = '\0';
> --- 528,534 
>
>   while (prot_fgets(buf, sizeof(buf)-1, fin)) {
> p = buf + strlen(buf) - 1;
> !   if (p == buf) {
> p[0] = '\r';
> p[1] = '\n';
> p[2] = '\0';
>
>
>







Re: Unread messages being marked as read.

2001-03-10 Thread Lawrence Greenfield

The .../j/jbeker/jbeker.seen file is a database file (either flat or db3; 
Cyrus comes preconfigured to use flat) containing "mailbox unique ids -> 
uid range mappings", basically.  The mailbox uniqueid is in the 
cyrus.header file inside the mailbox and is kept the same even when the 
mailbox is renamed (thus keeping seen state with the mailbox).

There's also a timestamp kept of the last time that the mailbox has been 
selected, and messages are considered recent if they came after that last 
time.

I've been trying to reproduce these sorts of problems using imtest and have 
thus far been unsuccessful in doing it consistently.  If anyone can tell me 
how to reproduce this problem consistently I'd really appreciate it.

I have a few vague ideas about why it happens; it should almost certainly 
involve multiple concurrent connections, and the database file isn't being 
refreshed as often as it should.

This problem basically comes about because the Cyrus server doesn't treat 
seen state as important as other flag state and caches it in memory for 
longer, and multiple sessions might do funky things.

Larry

--On Tuesday, January 02, 2001 07:51:57 AM -0500 Jeremy Beker 
<[EMAIL PROTECTED]> wrote:

> Hello all,
>
> I have been having a problem with 2.0.9 that I have read about in some
> earlier messages on the list.  Namely that sometimes (not always) new
> messages arrive, but are already marked as read.
> I have been trying to pin down the reasons, but it is still alluding
> me. If I send myself a test message, and check my mail, it *always*
> shows up as unread.  But when I come in in the morning and check my mail,
> all of the messages that have come in overnight are already marked as
> read.  These are the only two instances that I have been able to identify
> a consistent behavior.
> Could someone give me a quick explanation of how cyrus stores a
> messages seen state?  From what I have been able to gather, it is
> stored in the /var/imap/j/jbeker/jbeker.seen file, but the format of that
> file does not seem obvious (at least to me).  If someone could give me
> some pointers, I will try to get some better data.
> Thanks.
>
> -Jeremy
>







Re: Questions,fixes,problems: Cyrus 2.0.9, NetBSD 1.5 [LONG]

2001-03-10 Thread Lawrence Greenfield

--On Wednesday, February 07, 2001 10:53:25 PM -0500 Ken Murchison 
<[EMAIL PROTECTED]> wrote:

> IMHO, idled is the best.  It provides for near-realtime updates without
> bombarding the server with NOOPs or blindly polling the mailbox.  There
> might be cases were the overhead of the idled communication channel
> outweights that of infrequent polling (at the expense of slow updates),
> but I don't know where the cross-over point is.  Until someone who has a
> *lot* of users using clients which support IDLE gives us some feedback,
> all we have is theory and speculation.

Yes, this is my general reading on the problem as well.  IDLE raises some 
significant scalability questions.  While it's a win in many situations (it 
cuts down the amount of network traffic needed) the additional idled 
process could become a bottleneck or unreliable.

>>- With plaintext login [using pwcheck], cyradm asks for the
>>password twice:
>>  first "Please enter your password:" then "IMAP Password:" - any
>>  reason why?
>>
>> I'm not sure.  Has anyone else run across this?  Can anyone else solve
>> this?
>
> Yes (using PAM).  I don't know.
>
> I assumed this was username/authname issue or a callback issue, but it
> hasn't bothered me to the point of trying to fix it.

Yeah, I think the first password is requested in order to do a saslified 
authentication, which fails, and then other code asks for another password. 
Actually, I appear to be crashing cyradm with the --auth option right now, 
so I'm going to say that this code really needs some work.

I'll try to get around to it, though if anyone else wants to try to 
understand, start at "sub authenticate" in IMAP.pm.

Larry




Re: A little more explaination (Please Help!)

2001-03-10 Thread Lawrence Greenfield

We're not currently using the tugowar SNMP instrumentation.  We are using 
the UCD AgentX instrumentation in the master process (configure 
--with-ucdsnmp) and will be eventually looking at making the stuff exported 
via tugowar go out with a UCD agentx subagent.

Larry

--On Tuesday, January 23, 2001 08:12:39 PM +0330 Fatemeh Taj 
<[EMAIL PROTECTED]> wrote:

> Hi everybody,
>
> I've already asked a question about Agentx. Please accept my apology for
> not  explaining about that. Actually, I wanted to enbale SNMP on Cyrus:
> when I was  trying to compile "tugowar.c" (in snmp directory of Cyrus
> sources directory), it  asked for the library "agentx". So, it's needed
> for SNMP on Cyrus to work. But  as I said, it is not compiled on RedHat
> 6.2.
> I just wanted to know if anyone ever could do such a thing or even enable
> SNMP  on Cyrus in any other way.
>
> thanks a lot and sorry for any misconfusing,
> Fatemeh T.
>
> P.S. Also sorry for another repeatitive email which was mistakenly sent
> to the  list.
>
> - Begin Forwarded Message -
>
> Date: Tue, 23 Jan 2001 17:51:29 +0330 (IST)
> From: Fatemeh Taj <[EMAIL PROTECTED]>
> Subject: PLEASE HELP!
> To:
> MIME-Version: 1.0
> Content-MD5: +VyL2WVfoo6uOquU0F1kqA==
>
>
>
> Hi everybody,
>
> I have problem with compiling "agentx-v1.4.1" on RedHat 6.2. It generates
> a lot  of errors. Does anyone know what I should do to port it to RedHat
> (as it  mentioned that it was compiled only in Solaris 2.5 and it really
> did, I checked  it on Solaris)?
>
> Please help. It's an urgent task. I'm really under pressure from
> management  side! )-:
>
> thanks a lot,
> Fatemeh T.
>
>
>
> - End Forwarded Message -
>
>







Re: [info-cyrus] cyradm & netscapeurl

2001-03-10 Thread Lawrence Greenfield

Cyradm does seem to be having issues with mailboxes with spaces in them.  I 
can at least create such mailboxes like so:

yossarian.cc.cmu.edu> lm inbox*
inbox
yossarian.cc.cmu.edu> cm inbox.foo\ bar
yossarian.cc.cmu.edu> lm inbox*
inbox  inbox.foo bar
yossarian.cc.cmu.edu>

unfortunately other stuff doesn't work so well:
yossarian.cc.cmu.edu> lqr inbox.foo\ bar
bar" STORAGE 0/1 (0%)
yossarian.cc.cmu.edu>

(but that is at least the right answer.)

anyone into perl is welcomed to chip in here; i'm unlikely to get to this 
soon.

Larry

--On Sunday, February 04, 2001 12:00:23 AM + Cillian Sharkey 
<[EMAIL PROTECTED]> wrote:

> Hi folks,
>
> cyradm (the one in 2.0.9 anyway) doesn't seem to handle mailbox names with
> spaces in them, in other words I can't create them or set acls/quotas
> etc. on existing folders with spaces. I've tired various forms of
> quoting, but no luck.
>
> A few other features that would be handy:
> * command history, and
> * command and folder name completion
>
> And my other question: the default URL supplied by Cyrus for 'netscapeurl'
> (http://andrew2.andrew.cmu.edu/cyrus/imapd/netscape-admin.html) doesn't
> exist any more.  Does it exist anywhere else, or alternatively, could
> someone tell me what such a page "should" say (or "do")?
>
> Many thanks,
>
> --
> Cillian



 



Re: deliver and lmtp / please help

2001-03-10 Thread Lawrence Greenfield

The "z" flag is not set in the Cyrus mailer definition.

Larry

--On Wednesday, January 24, 2001 03:47:51 PM +0100 Manfred Gschweidl 
<[EMAIL PROTECTED]> wrote:

> hello all!
>
> configuration:
> sendmail 8.11.1
> cyrus-imapd-2.0.9
> cyrus-sasl 1.5.24
>
> when i try to deliver mail per lmtp (deliver -l -e in mailer definition in
> sendmail), i get follwoing messages:
>
> /usr/lib/sendmail -v someone <> From:<[EMAIL PROTECTED]>
>> To:<[EMAIL PROTECTED]>
>> Subject: test
>> blah
>> ...etc...etc
>> mail
> someone... Connecting to Cyrus...
> 220 host LMTP Cyrus v2.0.9 ready
 HELO host.foo.bar
> 500 5.5.2 Syntax eroor
 Quit
> 221 2.0.0 bye
> ...
> ...
>
> After reading rfc for lmtp, the behaviour of lmtpd is allright. i should
> issue "LHLO host.foo.bar" at startup for use with lmtp not esmtp.
>
> so my question is, where i can change this behaviour?? i think i should
> cahnge this in sendmail.cf, but i'm not a sendmail.cf hacker, so i would
> be happy if someone could help me.
>
> i have two defined following mailers (Suse 7.0 standard):
> procmail (used for local)
> esmtp
> smpt
> bsmtp
> cyrus (deliver -l -e)
> cyrusbb
>
> delivering email without lmtp works without problems. should i define the
> cyrus mailer as "local mailer"??
>
> thanks for any help in adnvance!
>
> manfred
>
>
>







Re: Setting default quotas & acl's on user. mailboxes

2001-03-10 Thread Lawrence Greenfield

autocreatequota only is set on self-created INBOXs.  (With it set any user 
who can authenticate to the IMAP server can also create their own INBOX.) 
If the administrator is creating the mailbox, it's assumed that they can 
also create the quota.

What is defaultacl doing/not doing that you want it to?

Larry

--On Thursday, January 04, 2001 12:49:02 PM -0500 Andy Hubbell 
<[EMAIL PROTECTED]> wrote:

> I've tried setting the following to set default acl's & quotas but it
> doesn't seem to be working:
>
> in /etc/imapd.conf --
> autocreatequota: 2
> defaultacl: anyone lrs
>
> Any assistance and/or pointers would be greatly appreciated!
>
> Thanks!
>
> Andy H.
>







Re: Cyrus 2.0.12 and xinetd

2001-03-10 Thread Lawrence Greenfield

Cyrus 2.0 no longer uses inetd (of any flavor).

Larry

--On Friday, March 09, 2001 08:20:36 PM -0500 Kevin J Menard 
<[EMAIL PROTECTED]> wrote:

> Is this possible?  Would I have to configure xinetd with --with-libwrap so
> the lmtp can use tcp_wrappers?
>
> Thanks,
> --Kevin
>







Re: Unread messages being marked as read.

2001-03-10 Thread Jeremy Beker

Larry,

I would agree that this is almost definitely due to multiple concurrent
accesses from the mail client.  In my trials I have noticed that most of the
more modern email clients (specifically the Microsoft ones) open many
concurrent connections to the IMAP server.
How difficult would it be to set the server to flush the seen state
immediately?  Even just to test with for a while.  I don't mind loosing a
little performance in the short term to eliminate the problem.
Thanks for your help.

-Jeremy



On 3/10/01 7:56 AM, "Lawrence Greenfield" <[EMAIL PROTECTED]> wrote:

> The .../j/jbeker/jbeker.seen file is a database file (either flat or db3;
> Cyrus comes preconfigured to use flat) containing "mailbox unique ids ->
> uid range mappings", basically.  The mailbox uniqueid is in the
> cyrus.header file inside the mailbox and is kept the same even when the
> mailbox is renamed (thus keeping seen state with the mailbox).
> 
> There's also a timestamp kept of the last time that the mailbox has been
> selected, and messages are considered recent if they came after that last
> time.
> 
> I've been trying to reproduce these sorts of problems using imtest and have
> thus far been unsuccessful in doing it consistently.  If anyone can tell me
> how to reproduce this problem consistently I'd really appreciate it.
> 
> I have a few vague ideas about why it happens; it should almost certainly
> involve multiple concurrent connections, and the database file isn't being
> refreshed as often as it should.
> 
> This problem basically comes about because the Cyrus server doesn't treat
> seen state as important as other flag state and caches it in memory for
> longer, and multiple sessions might do funky things.
> 
> Larry
> 
> --On Tuesday, January 02, 2001 07:51:57 AM -0500 Jeremy Beker
> <[EMAIL PROTECTED]> wrote:
> 
>> Hello all,
>> 
>> I have been having a problem with 2.0.9 that I have read about in some
>> earlier messages on the list.  Namely that sometimes (not always) new
>> messages arrive, but are already marked as read.
>> I have been trying to pin down the reasons, but it is still alluding
>> me. If I send myself a test message, and check my mail, it *always*
>> shows up as unread.  But when I come in in the morning and check my mail,
>> all of the messages that have come in overnight are already marked as
>> read.  These are the only two instances that I have been able to identify
>> a consistent behavior.
>> Could someone give me a quick explanation of how cyrus stores a
>> messages seen state?  From what I have been able to gather, it is
>> stored in the /var/imap/j/jbeker/jbeker.seen file, but the format of that
>> file does not seem obvious (at least to me).  If someone could give me
>> some pointers, I will try to get some better data.
>> Thanks.
>> 
>> -Jeremy
>> 
> 
> 
> 
> 
> 

-- 
Jeremy Beker, Technical Manager
Research & Development, 3-G International
S/MIME Cert: http://employees.3gi.com/~jbeker/
Condensing fact from the vapor of nuance.





info-cyrus@lists.andrew.cmu.edu

2001-03-10 Thread Lawrence Greenfield

The next version of libsasl will include a "saslauthd" with a PAM module 
that will function similiar to this.

Larry

--On Wednesday, January 03, 2001 12:42:43 PM -0500 "David L. Parsley" 
<[EMAIL PROTECTED]> wrote:

> Lawrence Greenfield wrote:
> [snip]
>> This is exactly the problem.  A future version of Cyrus SASL will
>> probably discontinue the PAM password method is favor of forcing
>> people to use pwcheck.
>
> Ofc, pwcheck could/would be made to use PAM?  That might clean things up
> a bit and make PAM more reliable, since I believe pwcheck runs as root.
>
> regards,
>David
>
> --