Problem with Cyrus-Imapd

2004-04-07 Thread ñÒÏÛÅÎËÏ ó.à.
Hi!

I installed  Cyrus-Imapd-2.2.3 with bdb-4.2.52 on
FreeBSD-5.2.1-p4 and have problem.

1) When I delete mail messages from Inbox or from Trash
it not visible in client program, but this
mail messages store on the cyrus-imapd server.
2) In e-mail client I dont creat subfolder (e-mail
client Mozilla-1.6),
3) when I send e-mail message - e-mail message go out,
but e-mail client (Mozilla-1.6) say (in 2-nd and 3-rd
case):

"The cyrrent command did not succeed. The mail server
responded: Permission denied."


Accordingly, in e-mail client not create subfolder
"Sent", "Draft" and etc.

On the cyrus-imapd server,  directory /var/imap have
user,group ownership and permission :
drwxr-x---  11 cyrus   cyrus 512 Apr  7 15:19 imap

And /var/spool/imap :
drwxr-x---   5 cyrus  cyrus   512 Apr  7 15:14 imap

My imapd.conf :

configdirectory: /var/imap
partition-default: /var/spool/imap
allowanonymouslogin: no
allowplaintext: no
admins: cyrus
defaultacl: anyone lrs
reject8bit: no
postuser: cyrus
sieveusehomedir: false
sievedir: /var/imap/sieve
sendmail: /usr/sbin/sendmail
postmaster: postmaster
sasl_pwcheck_method: saslauthd
lmtpsocket: /var/imap/socket/lmtp


My cyrus.conf :

START {
  recover   cmd="ctl_cyrusdb -r"
}

SERVICES {
  imap  cmd="imapd" listen="imap" prefork=1
  sieve cmd="timsieved" listen="sieve" prefork=0
  lmtpunix  cmd="lmtpd"
listen="/var/imap/socket/lmtp" prefork=0
}

EVENTS {
  checkpointcmd="ctl_cyrusdb -c" period=30
  delprune  cmd="cyr_expire -E 3" at=0400
  tlsprune  cmd="tls_prune" at=0400
}
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


problem with cyrus-imapd and sendmail

2004-02-09 Thread RJ45

Hello,
I have a problem with FreeBSD and cyrus-imapd.
I have never been able to solve this.
The problem is intermittent and it happens from time to time after a
system rebooot.

Jun 17 00:00:11 postino sm-mta[201]: h5GM0A7T000201: [EMAIL PROTECTED],
delay=00:00:00, xdelay=00:00:00, mailer=cyrusv2, pri=31024,
relay=localhostv, dsn=4.4.1, stat=Deferred: Connection refused by
localhost

actually looks like the /var/imap/socket/lmtp is not accessible

but this is weird, in fact my cyrus configuration is perfect and
the file permissions are correct, in particular:

srwxrwxrwx  1 root  cyrus  0 Feb  9 09:47 /var/imap/socket/lmtp


This behaviour is unpredictable and it happens after a reboot to the mail
server.

this is my cyrus configuration into sendmail.cf

Mcyrusv2,   P=[IPC], F=lsDFMnqXzA@/:|m,
S=EnvFromSMTP/HdrFromL, R=EnvToL/HdrToL, E=\r\n,
T=DNS/RFC822/SMTP,
U=cyrus:cyrus,
A=FILE /var/imap/socket/lmtp

(note that I tryed with U=cyrus:cyrus and without it as well)

When this problem happens to me I have to do this modification to solve
it:

Mcyrusv2,   P=/usr/local/cyrus/bin/deliver, F=lsDFMnqXA@/:|m,
S=EnvFromSMTP/HdrFromL, R=EnvToL/HdrToL,
E=\r\n, T=DNS/RFC822/SMTP,
U=cyrus:cyrus,
A=deliver -e -m $h -- $u

I have to call deliver directly even if this is very ugly, but it works.
If after a few hours I Come back to the lmtp cyrus-sendmail configuration
the system comes back working using /var/imap/socket/lmtp

I really don't know how to solve this.
I am sure my configuration is correct.
I use sendmail + cyrus on many boxes, many flavours of unix, Linux, SGI,
Solaris, but I had this problem only with FreeBSD since version 5.0

Anyone had an experience like mine ?
It seems I can't find a solution and this is really overwhelming
since in this way my mail server si quite unstable.
A Reboot can simply screw the whole mail system.

Could the problem be related to /var/imap/socket/lmtp file and
soft updates ??

I ma actually running latest sendmail + latest cyrus version

thank you very much

Rick





___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"