Sieve errors?

2003-08-02 Thread Scott Adkins
I am seeing a lot of these type errors in the log file:

 IOERROR: fstating sieve script /usr/sieve/a/ap934499/defaultbc: No such
file or directory
 append_check() of 'user.mh202200' failed
 append_check() of 'user.am109499' failed
 IOERROR: fstating sieve script /usr/sieve/a/ak132301/defaultbc: No such
file or directory
 append_check() of 'user.ag178900' failed
 append_check() of 'user.lm237599' failed
What do they mean exactly?  Debugging is set pretty high right now... Also,
there aren't any sieve scripts on the system right now, as we just turned
it on for the first time.  This means that all of the a-z directories in
/usr/sieve are empty.
Should I have created a directory for every user prior to enabling sieve?
What about the defaultbc files?  Should I have a 'default' file of some
kind copied to all the user directories?
Or should I assume that these errors are normal and that it is just extra
debugging information that won't be shown if I wasn't logging so high?
Scott
--
+---+
 Scott W. Adkinshttp://www.cns.ohiou.edu/~sadkins/
  UNIX Systems Engineer  mailto:[EMAIL PROTECTED]
   ICQ 7626282 Work (740)593-9478 Fax (740)593-1944
+---+
PGP Public Key available at http://www.cns.ohiou.edu/~sadkins/pgp/

pgp0.pgp
Description: PGP signature


DBERROR: skiplist recovery /var/lib/cyrus/user/j/john.seen: ADD at 1D70 exists

2003-08-02 Thread Jean Charles Delepine
Hello,

After my /var partition became full this night my log keeps saying for
some of my users :

Aug  2 16:57:43 oban cyrus/imapd[1915]: login: localhost[:::127.0.0.1] john 
CRAM-MD5 User logged in
Aug  2 16:57:43 oban cyrus/imapd[1915]: DBERROR: skiplist recovery 
/var/lib/cyrus/user/j/john.seen: ADD at 1D70 exists
Aug  2 16:57:43 oban cyrus/imapd[1915]: DBERROR: opening 
/var/lib/cyrus/user/j/john.seen: cyrusdb error
Aug  2 16:57:43 oban cyrus/imapd[1915]: Could not open seen state for john (System I/O 
error)
Aug  2 16:57:43 oban cyrus/imapd[1915]: open: user john opened INBOX
Aug  2 16:58:43 oban cyrus/imapd[1915]: Could not shut down filedescriptor 0: Bad file 
descriptor
Aug  2 16:58:43 oban cyrus/imapd[1915]: Could not shut down filedescriptor 1: Bad file 
descriptor
Aug  2 16:58:43 oban cyrus/imapd[1915]: Could not shut down filedescriptor 2: Bad file 
descriptor
Aug  2 16:58:43 oban cyrus/master[10117]: process 1915 exited, status 0

I'm running debian's cyrus21 :
ii  cyrus21-imapd  2.1.14-1   Cyrus mail system (IMAP support)

Can I do something to recover this john.seen ? And how can I know which 
*.seen are corrupt ?

Thanks a lot for any help.

   Jean Charles


RE: Newbie Cyrus Configuration

2003-08-02 Thread Norris Ward
Hi all,
OK, so I have installed and started cyrus-imapd onto my redhat box.  I have
then edited the imapd.conf file and added an additional user as an admin.  I
am being stupid now..(I think) because I am unable to login via web-cyradm
interface or via the cyradm command line over telnet, via telnet, here is
the error message I receive.  Can someone tell me what I may have missed?

[EMAIL PROTECTED] nward]$ cyradm localhost
IMAP Password:
  Login failed: generic failure at
/usr/lib/perl5/site_perl/5.6.1/i3
86-linux/Cyrus/IMAP/Admin.pm line 118
cyradm: cannot authenticate to server with  as nward

-Original Message-
From: Wil Cooley [mailto:[EMAIL PROTECTED]
Sent: July 26, 2003 3:41 PM
To: Norris Ward
Cc: cyrus info
Subject: Re: Newbie Cyrus Configuration

On Sat, 2003-07-26 at 12:16, Norris Ward wrote:
 Hi all,
 I am new to cyrus imap but I can navigate my way around RedHat
 7.3 fairly well.  I want to reconfigure my email server away from
imap-2001.
 Where does cyrus-imap store its config files?

Typically, /etc/{config,imapd}.conf.  If you're using RH, use Simon
Matter's RPMs at http://home.teleport.ch/simix/.  He has RPMs built for
7.2 and 8/9.  I've rebuilt them on 7.3 and they're available at
http://ftp.nakedape.cc/nakedape/rh73/rpm/.  Note that I have a couple
different options set by default than he does.

You'll also need Cyrus-SASL 2, for which he also has 7.2 RPMs and I have
re-built them on 7.3.

 Also from my readings of the
 cyrus info, I would like to clarify this: can  cyrus read the pam_db of my
 system to authenticate users that already exist?

Yes, but this is Cyrus SASL's job, not Cyrus IMAP's.

 Also can cyrus be
 configured to store users mail files in their ~home dirs?

No.  Cyrus IMAP uses it's own database mailbox storage, which cannot be
directly accessed by mail clients.  If this is a problem and you don't
need the enterprise capabilities Cyrus provides, I'd suggest you look
into Dovecot.

Wil
--
Wil Cooley [EMAIL PROTECTED]
Naked Ape Consultinghttp://nakedape.cc
* * * * * *  Linux Services for Small Businesses  * * * * * *
*   Easy, reliable solutions for small businesses   *
*Naked Ape Business Server http://nakedape.cc/r/sms *



problem with setting up vacation with sieve

2003-08-02 Thread Marcus Schopen
Hi,

I'm using cyrus-imapd 2.1.13-0 backport on Debian woody with the 
following vacation configuration (sieve):



require fileinto;
require vacation;
require envelope;
if header :contains subject vactest {
vacation :days 7 :addresses [[EMAIL PROTECTED]] vactest!;
}

Maillog shows the following errors when I send a mail from a valid mail 
account to my email address:

Aug  2 23:13:30 dude sendmail[21513]: h72LDUWw021513: 
Authentication-Warning: dude.home.de: cyrus set sender to  using -f
[...]
Aug  2 23:13:30 dude sendmail[21513]: h72LDUWw021513: 
[EMAIL PROTECTED], delay=00:00:00, xdelay=00:00:00, 
mailer=relay, pri=30388, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, 
stat=Sent (h72LDUtb021515 Message accepted for delivery)
[...]
Aug  2 23:13:30 dude sm-mta[21523]: h72LDUtb021515: 
to=[EMAIL PROTECTED], delay=00:00:00, xdelay=00:00:00, 
mailer=esmtp, pri=120627, relay=unspecified-domain, dsn=5.1.2, stat=Host 
unknown (Name server: unspecified-domain: host not found)
[...]
Aug  2 23:13:30 dude sm-mta[21523]: h72LDUtb021515: h72LDUta021523: 
postmaster notify: Host unknown (Name server: unspecified-domain: host 
not found)

Any idea where what is misconfigured?

Thanks,
Marcus



RE: Newbie Cyrus Configuration

2003-08-02 Thread Simon Matter
 Hi all,
   OK, so I have installed and started cyrus-imapd onto my redhat box.  I
 have
 then edited the imapd.conf file and added an additional user as an admin.
 I
 am being stupid now..(I think) because I am unable to login via web-cyradm
 interface or via the cyradm command line over telnet, via telnet, here is
 the error message I receive.  Can someone tell me what I may have missed?

 [EMAIL PROTECTED] nward]$ cyradm localhost

Try like this:
cyradm --user cyrus --auth login localhost

Of course, you need a password for the cyrus user for this to work. Where
this password is stored depends on your authentication configuration.

HTH
Simon

 IMAP Password:
   Login failed: generic failure at
 /usr/lib/perl5/site_perl/5.6.1/i3
 86-linux/Cyrus/IMAP/Admin.pm line 118
 cyradm: cannot authenticate to server with  as nward

 -Original Message-
 From: Wil Cooley [mailto:[EMAIL PROTECTED]
 Sent: July 26, 2003 3:41 PM
 To: Norris Ward
 Cc: cyrus info
 Subject: Re: Newbie Cyrus Configuration

 On Sat, 2003-07-26 at 12:16, Norris Ward wrote:
 Hi all,
 I am new to cyrus imap but I can navigate my way around
 RedHat
 7.3 fairly well.  I want to reconfigure my email server away from
 imap-2001.
 Where does cyrus-imap store itÿs config files?

 Typically, /etc/{config,imapd}.conf.  If you're using RH, use Simon
 Matter's RPMs at http://home.teleport.ch/simix/.  He has RPMs built for
 7.2 and 8/9.  I've rebuilt them on 7.3 and they're available at
 http://ftp.nakedape.cc/nakedape/rh73/rpm/.  Note that I have a couple
 different options set by default than he does.

 You'll also need Cyrus-SASL 2, for which he also has 7.2 RPMs and I have
 re-built them on 7.3.

 Also from my readings of the
 cyrus info, I would like to clarify this: can  cyrus read the pam_db of
 my
 system to authenticate users that already exist?

 Yes, but this is Cyrus SASL's job, not Cyrus IMAP's.

 Also can cyrus be
 configured to store usersÿ mail files in their ~home dirs?

 No.  Cyrus IMAP uses it's own database mailbox storage, which cannot be
 directly accessed by mail clients.  If this is a problem and you don't
 need the enterprise capabilities Cyrus provides, I'd suggest you look
 into Dovecot.

 Wil
 --
 Wil Cooley [EMAIL PROTECTED]
 Naked Ape Consultinghttp://nakedape.cc
 * * * * * *  Linux Services for Small Businesses  * * * * * *
 *   Easy, reliable solutions for small businesses   *
 *Naked Ape Business Server http://nakedape.cc/r/sms *