Mails pile up in queue when quota is exceeded

Discussion in 'General' started by ferrao, Oct 3, 2010.

  1. ferrao

    ferrao New Member

    I believe i have something misconfigured on my postfix setup, but it's pretty much a standard ispconfig 3 debian setup.

    Whenever a user mailbox reaches it's quota limits, incoming mails just seem to pile up in the mailqueue and no bouncing email is sent back to the mail sender.

    Anybody experienced this?
     
  2. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    Do you use dovecot or courier in your setup?
     
  3. ferrao

    ferrao New Member

    It's using courier Till!
     
  4. ferrao

    ferrao New Member

    This is how my my mail queue looks like when a user exceeds it's quota :

    ferrao@ed02:~$ mailq
    -Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
    2396221C09B 39040 Tue Oct 5 19:21:48 fakemail@fakedomain
    (temporary failure. Command output: maildrop: maildir over quota.)
    fakemail_noquota@fakedomain

    7636B21C093 540281 Tue Oct 5 18:50:35 faquemail@fakedomain
    (temporary failure. Command output: maildrop: maildir over quota.)
    fakemail_noquota@fakedomain

    .
    .
    .
    and so on, all incoming messages just hang here
    .
    .
    .
     
  5. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

  6. ferrao

    ferrao New Member

    Thanks till!

    They mention

    maximal_queue_lifetime (default: 5d)

    , i believe my emails are on the queue for longer than 5 days, but will double check on that.

    Not sure how that option plays with :

    virtual_maildir_limit_message = "The user you are trying to reach is over quota."
    virtual_overquota_bounce = yes

    Should this not tell postfix to bounce the overquota emails at once?
    Anyway i think you have pointed me the proper direction, i will investigate all of this.

    But can i just change main.cf at my will? Will ispconfig not overwrite settings upon my next update?
     
  7. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    The maildelivery and quota management is done by courier maildrop, virtual maildir quotas in postfix are a different quota method which are not used for courier or dovecot maildir deliveries.
     

Share This Page