mail over quota ? what happens to sent emails over quota?

Discussion in 'Installation/Configuration' started by radim_h, Sep 30, 2009.

  1. radim_h

    radim_h Member HowtoForge Supporter

    Hello,
    can anyon help me ?

    what is happening when user mailbox is full?

    on sending mailserver, i'm getting message that mail is delivered, but nothing appears on receiving server..
    mesage is not saved into mailbox, sender is not getting any kind of notification, thats weird..
     
  2. Mccy_McFlinn

    Mccy_McFlinn New Member

    What's in the mail.log relating to these missing emails?
     
  3. radim_h

    radim_h Member HowtoForge Supporter

    as i said mail log on the receiving server says nothing.. (!!)

    oh the sending server is only
    Oct 3 12:12:33 web1 postfix/qmgr[29165]: 5BF1D161209B: from=<xx@yyyy.tld>, size=926, nrcpt=1 (queue active)

    IT doesnt matter if message overlimit is bounced back or sent to /dev/null (probably better)
    but the sender needs to be notified that mailbox is over quota and message wasnt delivered..
     
    Last edited: Oct 3, 2009
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Maildrop is notifying the sender if the mailbox is over quota.
     
  5. radim_h

    radim_h Member HowtoForge Supporter

    then is something wrong in my setup :(
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Have you tested this with your own account? Try to create a new account with lets say 5 MB of space and sent two emails with lets say 3 MB attachments to it to check if the first gets delivered and the second one gets rejected. Then look at the mail log which lines get added for both emails.
     
  7. radim_h

    radim_h Member HowtoForge Supporter

    Hello,

    I have tried

    made 5MB quota, sent 2 3MB attachments, postfix log on reiving server looks like this:


    Oct 5 13:20:12 web2 postfix/smtpd[17250]: connect from qw-out-2122.google.com[74.125.92.26]
    Oct 5 13:20:12 web2 postfix/smtpd[17250]: 571FF244010: client=qw-out-2122.google.com[74.125.92.26]
    Oct 5 13:20:12 web2 postfix/cleanup[17279]: 571FF244010: message-id=<4AC9D613.8050402@gmail.com>
    Oct 5 13:20:15 web2 postfix/qmgr[3527]: 571FF244010: from=<sender@domain.tld>, size=4718310, nrcpt=1 (queue active)
    Oct 5 13:20:15 web2 postfix/smtpd[17283]: connect from localhost[127.0.0.1]
    Oct 5 13:20:15 web2 postfix/smtpd[17283]: DE328244012: client=localhost[127.0.0.1]
    Oct 5 13:20:15 web2 postfix/cleanup[17279]: DE328244012: message-id=<4AC9D613.8050402@gmail.com>
    Oct 5 13:20:16 web2 postfix/qmgr[3527]: DE328244012: from=<sender@domain.tld>, size=4718754, nrcpt=1 (queue active)
    Oct 5 13:20:16 web2 postfix/smtpd[17283]: disconnect from localhost[127.0.0.1]
    Oct 5 13:20:16 web2 amavis[2736]: (02736-06) Passed CLEAN, [74.125.92.26] [62.245.75.238] <sender@domain.tld> -> <receiver@domain2.tld>, Me ssage-ID: <4AC9D613.8050402@gmail.com>, mail_id: GEMGuQkXELrQ, Hits: -, size: 4718310, queued_as: DE328244012, 796 ms
    Oct 5 13:20:16 web2 postfix/smtp[17280]: 571FF244010: to=<receiver@domain2.tld>, relay=127.0.0.1[127.0.0.1]:10024, delay=3.9, delays=3.1/0.01/ 0/0.8, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=02736-06, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as DE328244012)
    Oct 5 13:20:16 web2 postfix/qmgr[3527]: 571FF244010: removed

    Here is email rejected

    Oct 5 13:20:16 web2 postfix/pipe[17269]: DE328244012: to=<receiver@domain2.tld>, relay=maildrop, delay=0.27, delays=0.22/0/0/0.05, dsn=4.3.0, status=deferred (temporary failure. Command output: maildrop: maildir over quota. )
    Oct 5 13:20:45 web2 postfix/smtpd[17250]: disconnect from qw-out-2122.google.com[74.125.92.26]


    So it is working, but there's no message to sender to notify him, that mailbox is over quota...

    And where that overgouota mail went? is it deleted, bounced, somewhere in temp or what is happening to it ??


    it is not depenging on gmail i have tried from more accounts.


    i HAve Debian LEnny Perfect Setup
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    As the log line staed, the email is deferred. This means that postfix has put the email in the deferred queue.

    Regarding the overquota message, maybe you configured your postfix to not notify the user when email delivery is deferred?
     
  9. radim_h

    radim_h Member HowtoForge Supporter

    do you mean
    delay_warning_time = 4h (which i have commented out)

    or different directive in main.cf ?
     
  10. damir

    damir New Member

    Me as well have this issue, no message is sent to inform about quota. Log file shows:

    status=deferred (temporary failure. Command output: maildrop: maildir over quota. )

    Quota part is working, now we only need to find why no message is sent to inform that user is over quota.

    Im using Debian 5.0.3 with ISPConfig 3
     
  11. radim_h

    radim_h Member HowtoForge Supporter

    Till,


    If i allow in main.cf line
    delay_warning_time = 4h


    Then message as
    This is the mail system at host mail.domain.tld

    ####################################################################
    # THIS IS A WARNING ONLY. YOU DO NOT NEED TO RESEND YOUR MESSAGE. #
    ####################################################################

    Your message could not be delivered for more than 4 hour(s).
    It will be retried until it is 5 day(s) old.

    For further assistance, please send mail to postmaster.

    If you do so, please include this problem report. You can
    delete your own text from the attached returned message.

    The mail system

    <user@XXXX.net>: temporary failure. Command output: maildrop: maildir over
    quota.


    -----------------
    Is comming back to sender, is that what you have ment ?

    Or is there some way to get reply instantly? or bounce email back instead of deffering ?
     
  12. till

    till Super Moderator Staff Member ISPConfig Developer

    As far as I know, the first email in a over quota situation is put into the defer queue, if more emails arrive, they are bounced instantly. I'am not sure if there is a solution to bounce the emails instantly.

    See also courier mailinglist:

    http://www.nabble.com/when-maildir-over-quota-td15663464.html
     

Share This Page