Hello,

I am using exim4 and dbmail 2.0-rc4 in test environments (debian and cygwin
;-). I have configured exim with a dbmail transport, piping to dbmail-smtp.

I have a little problem with understanding how quotas are supposed to work,
and who is responsible for reporting back to the sender in case the target
mailbox is full.

What I am seeing now, when sending a message that cause the target mailbox
to fill up, is dbmail-smtp returning 75 (EX_TEMPFAIL), and exim will keep
the message, possibly retrying until it generates a local delivery error. I
also note that the (temporary?) message seems to be left in the mailbox of
the [EMAIL PROTECTED]@__ user, as its usedmail_size increases by
the expected amount. From syslog, I gather that the failure indeed is caused
by this:

    dbmail/smtp[3050]: db.c,db_copymsg: user [2] would exceed quotum
    dbmail/smtp[3050]: sort.c, sort_and_deliver: error copying message to
    user [2], maxmail exceeded

So, if exim is supposed to send the "mailbox full" message, how is it
supposed to know this? Otherwise, if it is the responsibility of
dbmail-smtp, why isn't it doing this? Or, is it something in this process I
am missing?

Sorry for the perhaps stupid question(s).

Regards,
Robert Andersson

Reply via email to