Debian Sarge + Postfix Logrotation -> wo einstellen?
Debian Sarge + Postfix Logrotation -> wo einstellen?
Hallo allerseits,
ich kann in der logrotate.conf und in logrotate.d nix für die mail logfiles finden, die logfiles werden aber rotiert.
Vom Zeitpunkt her passts vor allem auf den täglichen Anacron Lauf, ich kann aber auch in cron.daily nix finden.
Laut "man logrotate" rotiert das Tool auch die Mail Logs, aber meine Default Einstellungen "weekly" passen auch net.
Hat jemand eine Idee wo ich das einstellen kann?
Danke und Gruß
Hotzi
ich kann in der logrotate.conf und in logrotate.d nix für die mail logfiles finden, die logfiles werden aber rotiert.
Vom Zeitpunkt her passts vor allem auf den täglichen Anacron Lauf, ich kann aber auch in cron.daily nix finden.
Laut "man logrotate" rotiert das Tool auch die Mail Logs, aber meine Default Einstellungen "weekly" passen auch net.
Hat jemand eine Idee wo ich das einstellen kann?
Danke und Gruß
Hotzi
Re: Debian Sarge + Postfix Logrotation -> wo einstellen?
Moin,
so ganz sicher bin ich mir bei dem Thema auch nicht, aber ich vermute mal, dass die Maillogs gleich behandelt werden wie das syslog, da in /etc/syslog.conf nur System-Logs "outgesourced" werden.
Bitte nicht hauen, falls es nicht stimmt :)
Gruß
Marcus
so ganz sicher bin ich mir bei dem Thema auch nicht, aber ich vermute mal, dass die Maillogs gleich behandelt werden wie das syslog, da in /etc/syslog.conf nur System-Logs "outgesourced" werden.
Bitte nicht hauen, falls es nicht stimmt :)
Gruß
Marcus
Re: Debian Sarge + Postfix Logrotation -> wo einstellen?
Hallo,
ich denke die syslog.conf bestimmt: Was in welchem Log landet.
Mein Syslog wurde täglich rotiert, das mail log nicht, daher kanns das wohl nicht sein.
Danke und Gruß
Hotzi
ich denke die syslog.conf bestimmt: Was in welchem Log landet.
Mein Syslog wurde täglich rotiert, das mail log nicht, daher kanns das wohl nicht sein.
Danke und Gruß
Hotzi
Re: Debian Sarge + Postfix Logrotation -> wo einstellen?
Code: Select all
ls -alhR /etc/cron*PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Re: Debian Sarge + Postfix Logrotation -> wo einstellen?
Die Crontabs habe ich längst geprüft, aber nix gefunden, wobei ich cron.monthly, hourly, weekly ingorniert habe.Joe User wrote:Code: Select all
ls -alhR /etc/cron*
Außerdem liegen auch crontabs in /var/spool/cron...
Re: Debian Sarge + Postfix Logrotation -> wo einstellen?
Wenn Du keine Hilfe möchtest...
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Re: Debian Sarge + Postfix Logrotation -> wo einstellen?
Das hast Du falsch verstanden, ich habe natürlich nochmal reingesehen, aber nix gefunden. Weder in der crontab, noch in cron.d ist irgendwas drin, dem ich das zuordnen könnte.Joe User wrote:Wenn Du keine Hilfe möchtest...
Re: Debian Sarge + Postfix Logrotation -> wo einstellen?
Da muss ich Hotzi leider Recht geben:
Ich hab sogar rekursiv das komplette /etc/ nach "mail" durchgegrept, aber nix Passendes gefunden. So langsam ist mein Ehrgeiz geweckt ;)
Ich hab sogar rekursiv das komplette /etc/ nach "mail" durchgegrept, aber nix Passendes gefunden. So langsam ist mein Ehrgeiz geweckt ;)
Re: Debian Sarge + Postfix Logrotation -> wo einstellen?
Vielleicht sind wir ja beide doof... :-D
Re: Debian Sarge + Postfix Logrotation -> wo einstellen?
Kann es sein, dass die Logs irgendwo durch einen Wildcard-Eintrag erfasst werden?
Re: Debian Sarge + Postfix Logrotation -> wo einstellen?
Das habe ich schon untersucht, konnte aber nix finden, wenn der Rhythmus passt nicht zum Syslog oder zum Default des Logrotate, evt gibts noch andere...SunTzu wrote:Kann es sein, dass die Logs irgendwo durch einen Wildcard-Eintrag erfasst werden?
-
mrmasterjpsy
- Posts: 16
- Joined: 2005-10-13 14:09
Re: Debian Sarge + Postfix Logrotation -> wo einstellen?
^^ Lösung gefunden ?
Thx JPsy
Thx JPsy
Re: Debian Sarge + Postfix Logrotation -> wo einstellen?
Bisher keine Zeit gehabt. Hast DU nen Tipp für mich?
