My idea was to run IMAP only. The config is as the Debian installer created
it. Do you think that this is causing the error?

I tried to replace mine with the one recommended in this howto
http://www.web-cyradm.org/documentation/debian_sarge-cyrus-howto.pdf. The
howto is published on the web-cyradm's home page. It had no effect with
respect to the error I am reciving on my server. I restarted the cyrus
server after installing this conf file.

This is how the cyrus.conf looks.

START {
      recover cmd="ctl_cyrusdb -r"
      }

SERVICES {
     imap         cmd="imapd" listen="imap" prefork=1
     pop3         cmd="pop3d" listen="pop3" prefork=1
#     imaps        cmd="imapd -s" listen="imaps" prefork=0
     lmtpunix     cmd="lmtpd" listen="/var/imap/socket/lmtp"
#    lmtp         cmd="lmtpd" listen="lmtp"
     sieve        cmd="timsieved" listen="localhost:sieve" prefork=0
     }

EVENTS {
     checkpoint   cmd="ctl_cyrusdb -c" period=30
     delprune     cmd="cyr_expire -E 3" at=0400
     tlsprune     cmd="tls_prune" at=0400
     squatter      cmd="squatter -r user" period=1440
     }

Regards

Thor

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marcel Hartmann
Sent: 17. august 2005 20:00
To: [email protected]
Subject: RE: [Web-cyradm] SASL - generic failure

Hi, 

> Subject: RE: [Web-cyradm] SASL - generic failure
> 
> My cyrus.conf is very long. All the pop settings are commented out. 
> 
> I have access to the mail server through a NAT router. I can see that 
> mail is delivered from postfix to cyrus. What is so strange is that it 
> worked perfectly before I restarted the server. Maybe I should 
> re-install sasl? It is so strange that the testsaslauthd is working.
> 
> I am posting my cyrus.conf below. This is as the dpkg installed it for 
> the Debian distro. Seems ok to me.
> 
> # Debian defaults for Cyrus IMAP server/cluster implementation # see 
> cyrus.conf(5) for more information # # All the tcp services are 
> tcpd-wrapped. see hosts_access(5) #
> $Id: cyrus.conf,v 1.16 2003/11/05 01:04:22 hmh Exp $
> 

I try to write down your cyrus.conf without comments :-)

<snip>
START {
        recover         cmd="/usr/sbin/ctl_cyrusdb -r"
        delprune        cmd="/usr/sbin/ctl_deliver -E 3"
        tlsprune        cmd="/usr/sbin/tls_prune"
}

imap            cmd="imapd -U 30" listen="imap" prefork=0 maxchild=100
lmtpunix        cmd="lmtpd" listen="/var/run/cyrus/socket/lmtp" prefork=0
maxchild=20
 
sieve           cmd="timsieved" listen="localhost:sieve" prefork=0
maxchild=100

notify          cmd="notifyd" listen="/var/run/cyrus/socket/notify"
proto="udp" prefork=1
}

EVENTS {
        checkpoint      cmd="/usr/sbin/ctl_cyrusdb -c" period=30
        delprune        cmd="/usr/sbin/ctl_deliver -E 3" at=0401
        tlsprune        cmd="/usr/sbin/tls_prune" at=0401
}
</snip>

Is this your config? There is NO pop or pops deklaration there!
Add these lines in your config and modify to fit your needs like
IP Adress and the Paths from your system. Make a fresh install of 
cyrus-imapd, then edit the config so that you can read the path names
from your system against these lines:

There MUST be a Sequense names SERVICES{} in these lines you must add
the following:

 # add or remove based on preferences
  imap          cmd="imapd" listen="imap" prefork=5
  #imaplocal     cmd="imapd -C /etc/imapd-local.conf" listen="imap"
prefork=0
  imaps         cmd="imapd -s" listen="imaps" prefork=1
  #imapslocal    cmd="imapd -C /etc/imapd-local.conf" listen="imaps"
prefork=0
  pop3          cmd="pop3d" listen="pop3" prefork=3
  pop3s         cmd="pop3d -s" listen="pop3s" prefork=1
  sieve         cmd="timsieved" listen="sieve" prefork=0
  sievelocal    cmd="timsieved -C /etc/imapd-local.conf
listen="127.0.0.1:sieve" prefork=0

look if there are entrys named imap, or pop3, or any line i've posted.
Edit the IP Adress to your used Adresses, and put the correct Path before
imap.conf, imap-local.conf.
If you don't have a imapd-local.conf just do a $cp /etc/imapd.conf
/etc/imapd-local.conf
and comment out in the imapd.conf (for external connections!) the admins:
cyrus parameter
to prevent adminlogins from the internet. After this restart cyrus and look
this:
$netstat -anp | grep LISTEN

for cyrus there must be entrys like this:
tcp        0      0 0.0.0.0:993                 0.0.0.0:*
LISTEN      30761/cyrus-master
tcp        0      0 0.0.0.0:995                 0.0.0.0:*
LISTEN      30761/cyrus-master

you must have open ports named: 993, 995, 110, 143, 2000(sieve). If there
are no 110 you doesn't have a
pop3 working. Elsewhere you can try to login over pop3 to test it.

Sorry for the terrible German-English :-) I do my best.

Greets 
  Marcel Hartmann


_______________________________________________
This mailing list is hosted and supported
by bit-heads GmbH | http://www.bit-heads.ch

_______________________________________________
Web-cyradm mailing list
[email protected]
http://www.web-cyradm.org/mailman/listinfo/web-cyradm

_______________________________________________
This mailing list is hosted and supported
by bit-heads GmbH | http://www.bit-heads.ch

_______________________________________________
Web-cyradm mailing list
[email protected]
http://www.web-cyradm.org/mailman/listinfo/web-cyradm

Reply via email to