Jump to content
Froxlor Forum

X-GER

Members
  • Posts

    12
  • Joined

  • Last visited

Everything posted by X-GER

  1. Quota exceeded (mailbox for user is full) diese Meldung geht raus ! Die quota-warning-de.sh wird leider immer noch nicht verschickt, hier ein Auszug aus der 90-quota.conf: ## ## Quota configuration. ## # Note that you also have to enable quota plugin in mail_plugins setting. # <doc/wiki/Quota.txt> ## ## Quota limits ## # Quota limits are set using "quota_rule" parameters. To get per-user quota # limits, you can set/override them by returning "quota_rule" extra field # from userdb. It's also possible to give mailbox-specific limits, for example # to give additional 100 MB when saving to Trash: plugin { #quota_rule = *:storage=1G #quota_rule2 = Trash:storage=+100M } ## ## Quota warnings ## # You can execute a given command when user exceeds a specified quota limit. # Each quota root has separate limits. Only the command for the first # exceeded limit is excecuted, so put the highest limit first. # The commands are executed via script service by connecting to the named # UNIX socket (quota-warning below). # Note that % needs to be escaped as %%, otherwise "% " expands to empty. plugin { #quota_warning = storage=95%% quota-warning 95 %u #quota_warning2 = storage=80%% quota-warning 80 %u quota_warning = storage=90%% quota-warning 90 %u } # Example quota-warning service. The unix listener's permissions should be # set in a way that mail processes can connect to it. Below example assumes # that mail processes run as vmail user. If you use mode=0666, all system users # can generate quota warnings to anyone. service quota-warning { executable = script /usr/local/bin/quota-warning.sh user = vmail unix_listener quota-warning { user = vmail } } # Service der die Quota fernabfragbar macht service quota-status { executable = quota-status -p postfix inet_listener { address = 127.0.0.1 port = 12340 } client_limit = 1 } ## ## Quota backends ## # Multiple backends are supported: # dirsize: Find and sum all the files found from mail directory. # Extremely SLOW with Maildir. It'll eat your CPU and disk I/O. # dict: Keep quota stored in dictionary (eg. SQL) # maildir: Maildir++ quota # fs: Read-only support for filesystem quota plugin { #quota = dirsize:User quota quota = maildir:User quota #quota = dict:User quota::proxy::quota #quota = fs:User quota } # Multiple quota roots are also possible, for example this gives each user # their own 100MB quota and one shared 1GB quota within the domain: plugin { #quota = dict:user::proxy::quota #quota2 = dict:domain:%d:proxy::quota_domain #quota_rule = *:storage=102400 #quota2_rule = *:storage=1048576 } Sieht Du hier einen Fehler ?
  2. @Shortie: vielen Dank. E-Mails werden nun beim Erreichen der Quota abgelehnt. Was jetzt noch nicht funktioniert, ist der automatische Versand der quota-warning-de.sh Das manuelle Ausführen der Datei quota-warning-de.sh (chmod 755) von der Konsole funktioniert problemlos. Also vermute ich, das dovecot das Script nicht automatisch ausführt. Hast Du da evtl. eine Lösung ?
  3. Hallo d00p, leider funktioniert die Quota-Regel nicht. Ich habe ein Test-Mail-Konto angelegt und ein Kontingent von 5 MiB festgelegt. Dann habe ich zu dieser Mail-Adresse einige Mails geschickt (über 5 MiB) Es findet keine Abweisung durch den Dovecot statt. In der Datei /etc/dovecot/conf.d/90-quota.conf sind alle Einträge auskommentiert. Ist das so korrekt?
  4. Ich habe die Einstellung nun aktiviert. Müssen im Dovecot noch Einstellungen vorgenommen werden?
  5. Meinst Du diese Einstellung mit Mailbox-Quota: ??
  6. Danke für Deine Antwort. Kann ich mit der Aktivierung etwas "kaputt" machen? Ich habe irgendwo gelesen, dass sich durch eine Quota-Aktivierung die Datei-Struktur ändert. Oder kann ich Quota nach Belieben ein- und ausschalten ?
  7. Hallo zusammen, einige meiner Kunden sind eifrige Mail-Sammler und haben den zugewiesenen Mail-Speicherplatz teilweise schon überschritten. Meine Mails (siehe unten), den Speicherplatz zu erhöhen wurde komplett ignoriert. Die vom System ausgelöste Mail sieht wie folgt aus: ******* Sie haben bereits 5997.51 MB von Ihren insgesamt 5000 MB Speicherplatz verbraucht. Dies sind mehr als 90%. ****** Das die Berechnung hier überhaupt nicht passt ist natürlich absolut unschön, wie kann ich das korrigieren ? Aber nun zu meiner Frage, ich habe gelesen, dass ich durch Aktivierung von Quota den Versand von Mails unterbinden kann. Kann ich die Aktivierung von Quota auch jetzt noch machen ???? Was muss ich bedenken ? VG X-GER
×
×
  • Create New...