I had this problem initially when moving to 2.2.1b.  The problem was that
the users were actually over quota and that was it.  Rob committed some
code to CVS for the next version to make the append_check() errors display
a more verbose message about why it failed... When I applied the patch,
it became very clear that quotas were the real issue here.

I will attach the patch to this email.  It applies directly to imap/lmtpd.c
and only 2 lines get changed.  See if that helps describe the failure msgs
a bit better.

Scott

--On Thursday, September 04, 2003 2:40 PM +0400 Gleb Smirnoff <[EMAIL PROTECTED]> wrote:

Hi.

For last two days I was trying to make Cyrus Imapd 2.2.1.b to work
on FreeBSD. I have fresh ports collection, and Cyrus Imapd 2.2.1.b
installed from ports with db3 support.

Here are contents of imapd.conf (everything else is left default):

configdirectory: /var/imap
defaultpartition: default
partition-default: /var/spool/imap
admins: cyrus
unixhierarchysep: yes
servername: relay.bestcom.ru
singleinstancestore: yes
duplicatesuppression: yes
reject8bit: no
sieveusehomedir: false
sievedir: /var/imap/sieve

Here is sendmail.mc (important parts of it):

OSTYPE(freebsd4)
DOMAIN(generic)
FEATURE(mailertable, `hash -o /etc/mail/mailertable')
FEATURE(local_lmtp)
FEATURE(`no_default_msa')
FEATURE(`preserve_local_plus_detail')
define(`confLOCAL_MAILER', `cyrusv2')
define(`CYRUS_MAILER_PATH', /usr/local/cyrus/bin/deliver)
define(`confDONT_BLAME_SENDMAIL', `GroupReadableSASLDBFile')
MAILER(`local')
MAILER(`smtp')
MAILER(`cyrusv2')


After installation I do: # echo /usr/local/cyrus/bin/mkimap | su -m cyrus

all directories were created successfully. Then master process is
started... .... cyrus admin account created:
# saslpasswd2 cyrus

Then test mailbox is created:
# cyradm --user cyrus --auth login  localhost
localhost> cm user.test

Then I try to deliver mail to user test's mailbox:

# mail test
Subejct: test

test
..
EOF

And it fails. Here are the log entries:

Sep  4 14:15:07 <local6.debug> relay master[75947]: about to exec
/usr/local/cyrus/bin/lmtpd Sep  4 14:15:07 <local6.debug> relay
lmtpunix[75947]: executed
Sep  4 14:15:07 <local6.debug> relay lmtpunix[75947]: accepted connection
Sep  4 14:15:07 <local6.debug> relay lmtpunix[75947]: lmtp connection
preauth'd as postman Sep  4 14:15:07 <local6.debug> relay
lmtpunix[75947]: append_check() of 'user.test' failed Sep  4 14:15:07
<local6.debug> relay lmtpunix[75947]: append_check() of 'user.root' failed
Sep  4 14:15:07 <local6.debug> relay lmtpunix[75947]: append_check() of
'user.postmaster' failed Sep  4 14:16:07 <local6.debug> relay
master[75885]: process 75947 exited, status 0


I have already tried db4 and db41 support, and configure with different --with-mboxlist-db, nothing helps. I have search maillists, but it happens that people get similar problems only in virtualdomain confgiuration. Does anyone have an idea?

--
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE



-- +-----------------------------------------------------------------------+ Scott W. Adkins http://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/

Attachment: append_check.patch
Description: Binary data


Attachment: MSL31026.sig
Description: PGP signature

Reply via email to