Hi Folks, nach ewigem hin und her habe ich dem sendmail das empfanden für meine dyndns.org-Domäne beigebracht :-) (Mit den Defaultwerten und Webmin ist das eigentlich schnell erledigt *g*) Nun zu meinem Prob: In der letzten LAN-Line ist eine Test-CD dabei gewesen, um einen Mailserver auf Sicherheit zu testen. Das hätte ich lassen sollen (oder auch nicht *g* - Standpunktfrage). Dabei werden Tonnen von Mails verschickt und mein Postfach hatte dann eine Grösse von 49 MB. Abholen war nicht mehr drin. Server-Antwort: Unable to copy mail spool file to temp dropbox /var/mail/.gschiffer.pop: No space left on device (28) Habe dann die temporären Dateien, die beim Abholen angelegt werden manuell gelöscht. Dito mit gschiffer und mit touch neu angelegt. Läuft also wieder. samba:/var/spool/mail # df -h /var/ Filesystem Size Used Avail Use% Mounted on /dev/hdc2 164M 78M 86M 48% /var samba:/var/spool/mail # Weiss einer von Euch, wo die maximale Postfachgrösse liegt und wie ich verhindern kann, dass ein Postfach zugebombt wird? Dank Euch für Tipps. CU Guido
Guido Schiffer schrieb:
Weiss einer von Euch, wo die maximale Postfachgrösse liegt und wie ich verhindern kann, dass ein Postfach zugebombt wird?
Liegen die Postfächer auf einer eigenen Partition? Dann könntest du z.B. mit Dateisystem-Quotas arbeiten. Machen wir hier auch so. Das dürfte die rabiateste Methode sein, Postfachgrößen einzuschränken. Gruß, Patrick
Hi Leute, Das ist Rekord! Eine Responszeit von 90 Sekunden hatte ich noch nie! Am Donnerstag, 28. November 2002 22:24 schrieb Patrick Hess:
Guido Schiffer schrieb:
Weiss einer von Euch, wo die maximale Postfachgrösse liegt und wie ich verhindern kann, dass ein Postfach zugebombt wird?
Liegen die Postfächer auf einer eigenen Partition? Dann könntest
Nö, nur /var (=/dev/hdc2)
du z.B. mit Dateisystem-Quotas arbeiten. Machen wir hier auch so.
Wie gross sind Eure Quotas? Wenn ich das ganze auf z.B. 50 Meg setze bring mich das nicht wirklich weiter.
Das dürfte die rabiateste Methode sein, Postfachgrößen einzuschränken.
Ich hatte eigentlich mehr an eine Parametergeschichte gedacht. Für die Brutalo-Methode (sprich Quotas) sollte ich mir dann doch noch mal Gedanken über meine Partitionierung machen. /var/spool/mail in eine eigene Partition zu legen erscheint mir sinnig (sollte dann das Leben denk ich vereinfachen *g*). Aber dazu sollte ich noch mal googeln. CU Guido
Guido Schiffer schrieb:
Das ist Rekord! Eine Responszeit von 90 Sekunden hatte ich noch nie!
Das ist wirklich Rekord. So schnell hat der T-Offline-Server die Mails noch nie verschickt *SCNR*
Am Donnerstag, 28. November 2002 22:24 schrieb Patrick Hess:
Guido Schiffer schrieb:
Weiss einer von Euch, wo die maximale Postfachgrösse liegt und wie ich verhindern kann, dass ein Postfach zugebombt wird?
Liegen die Postfächer auf einer eigenen Partition? Dann könntest
Nö, nur /var (=/dev/hdc2)
Och, das reicht eigentlich auch noch. Ist bei uns auch so eingerichtet.
du z.B. mit Dateisystem-Quotas arbeiten. Machen wir hier auch so.
Wie gross sind Eure Quotas? Wenn ich das ganze auf z.B. 50 Meg setze bring mich das nicht wirklich weiter.
Wir haben hier jedem Benutzer 30 MB erlaubt, dem Admin allerdings unbegrenzt (ja, wir haben genug Platz auf der Kiste ;-) Du kannst es natürlich auch auf 5 MB oder so beschränken, ganz wie du willst.
Das dürfte die rabiateste Methode sein, Postfachgrößen einzuschränken.
Ich hatte eigentlich mehr an eine Parametergeschichte gedacht.
Da kenn ich mich nicht aus. Habe mich auch nie drum gekümmert, da mir Quotas in unserem Falle die einfachste und flexibelste Lösung ist. Vor allem ist sie unabhängig von einem bestimmten MTA (war mir wichtig, da ich vielleicht gerne mal wechseln möchte).
Für die Brutalo-Methode (sprich Quotas) sollte ich mir dann doch noch mal Gedanken über meine Partitionierung machen. /var/spool/mail in eine eigene Partition zu legen erscheint mir sinnig (sollte dann das Leben denk ich vereinfachen *g*).
Für einen Mail-Server ist das auf jeden Fall nicht schlecht. Aber s.o.: Wir haben das auch in der /var-Partition drin. Hauptsache, die Postfächer sind aus der Root-Partition raus. Die sollte nämlich unter keinen Umständen zulaufen können. Gruß, Patrick
Hi Leute, Hi Patrick, Am Freitag, 29. November 2002 17:13 schrieb Patrick Hess: [...]
Ich hatte eigentlich mehr an eine Parametergeschichte gedacht.
Da kenn ich mich nicht aus. Habe mich auch nie drum gekümmert, da mir Quotas in unserem Falle die einfachste und flexibelste Lösung ist. Vor allem ist sie unabhängig von einem bestimmten MTA (war mir wichtig, da ich vielleicht gerne mal wechseln möchte).
Habe das ganze auch mal an sendmail-questions@sendmail.org gepostet und sagen: "Believe it or not, but sendmail doesn't have mailboxes. Your local delivery agent has mailboxes. In any case, this seems to be a problem with your POP3 daemon, not with sendmail." Ich bin sooo doof. Da hätt' ich nämlich auch selber drauf kommen können. Der sendmail kann ja auch nur schicken. Poppen kann er nicht (imappen auch nicht). Is halt keine Eierlegende Wollmilchsau wie das Teil aus dieser komische Muckelbude in Redmond (*SCNR*). Wer denken kann ist klar im Vorteil und wer es tut gewinnt *g*
Für die Brutalo-Methode (sprich Quotas) sollte ich mir dann
Nach ein wenig rumgoogelei hab ich den Eindruck, das dies mehr oder weniger gängige Praxis zu sein scheint. Dank Dir Patrick. CU Guido
participants (2)
-
Guido Schiffer
-
patrick_hess@t-online.de