postfix +send a mail for limit quota

Discussion in 'Server Operation' started by mopsos, Mar 15, 2007.

  1. mopsos

    mopsos New Member


    I configure a server mail, postfix + courier + mysql (spamassassin,amavis,pop-before-smtp) on a debian.
    I patched postfix with the patch VDA. The quota is ok.

    But when I exceed my quota, the server send this mail

    This is the mail system at host
    I'm sorry to have to inform you that your message could not
    be delivered to one or more recipients. It's attached below.
    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
    <[email protected]>: maildir delivery failed: user overdrawn his diskspace quota
    How this mail is create? Can I modifie it?

  2. falko

    falko Super Moderator ISPConfig Developer

    You can run this:
    postconf -e 'virtual_maildir_limit_message = "The user you are trying to reach is over quota."'
    /etc/init.d/postfix restart
    to change the error message.
  3. mopsos

    mopsos New Member

    I had already set this line :
    virtual_maildir_limit_message = "Vous avez atteint votre quota, merci."
    But the text in the mail, is still the same.

    Where is the problem?

    Last edited: Mar 17, 2007
  4. falko

    falko Super Moderator ISPConfig Developer

    What's in your /etc/postfix/ (please strip out the comments)?
  5. mopsos

    mopsos New Member
    smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
    biff = no
    append_dot_mydomain = no
    smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
    smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
    myhostname =
    alias_maps = hash:/etc/aliases
    alias_database = hash:/etc/aliases
    myorigin = /etc/mailname
    mydestination =, localhost, localhost.localdomain
    relayhost = 
    mynetworks =,ipserver,localhost,localhost.localdomain,hash:/var/lib/pop-before-smtp/hosts
    mailbox_size_limit = 0
    recipient_delimiter = +
    inet_interfaces = all
    virtual_alias_domains = 
    virtual_alias_maps = proxy:mysql:/etc/postfix/, mysql:/etc/postfix/
    virtual_mailbox_domains = proxy:mysql:/etc/postfix/
    virtual_mailbox_maps = proxy:mysql:/etc/postfix/
    virtual_mailbox_base = /home/vmail
    virtual_uid_maps = static:5000
    virtual_gid_maps = static:5000
    transport_maps = proxy:mysql:/etc/postfix/
    virtual_create_maildirsize = yes
    virtual_mailbox_extended = yes
    virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/
    virtual_mailbox_limit_override = yes
    virtual_maildir_limit_message = "Vous avez atteint la limite de votre compte mail."
    virtual_overquota_bounce = yes
    proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
    content_filter = smtp-amavis:[]:10024
    receive_override_options = no_address_mappings
    Last edited: Mar 19, 2007
  6. falko

    falko Super Moderator ISPConfig Developer

  7. mopsos

    mopsos New Member

    Not exactly. I use the version 2.3.7-3 of postfix (I install package testing on my debian sarge). And I use pop-before-smtp and not TLS.


Share This Page