It's a feature not a bug. You're using dbmail-smtp, and as I understand Jesse's
remarks last week about lmtp versus pipe delivery: temp-failures in case of
delivery errors such as over-quota are only effective when using lmtp.

                          THIS COULD BE THE PROBLEM!!!
Apr 11 09:52:51 portero dbmail/smtp[3805]: sort.c, sort_and_deliver: error
copying message to user [49],maxmail exceeded

Apr 11 09:52:51 portero dbmail/smtp[3805]: pipe.c, insert_messages:
temporary failure sort_and_deliver for useridnr [49]

So, dbmail actually detects a temp-failure. As expected. Good.

Apr 11 09:52:51 portero postfix/pipe[3075]: C4DCE1B405E:
to=<[EMAIL PROTECTED]>, relay=dbmail-smtp, delay=0, status=sent
(portero.mydomain.com)
Apr 11 09:52:51 portero postfix/pipe[3081]: C4DCE1B405E:
to=<[EMAIL PROTECTED]>, relay=dbmail-smtp, delay=0, status=bounced

On this situation, the user tcarrera (sender) received an email with a
message similar to "<[EMAIL PROTECTED]> user unknown"

Are you sure? Is the error message generated by dbmail or by postfix? Could you
sent me an excerpt?



I dont know how easy/harder could be to add an auto-notification (to the
user or only to mail administrator) when an user is reaching his max.
mailbox size.

We've just done that ;-) Consider:

SELECT
        userid, curmail_size, maxmail_size,
        if ( maxmail_size>0,
                if ( curmail_size/maxmail_size>0.97,
                        'ERROR',
                        curmail_size / maxmail_size
                ),
                'NO QUOTA'
        ) AS quota_test
FROM dbmail_users
ORDER BY curmail_size desc;




--
  ________________________________________________________________
  Paul Stevens                                  mailto:[EMAIL PROTECTED]
  NET FACILITIES GROUP                     PGP: finger [EMAIL PROTECTED]
  The Netherlands________________________________http://www.nfg.nl

Reply via email to