Page 1 of 1

Debian Sarge + Postfix Logrotation -> wo einstellen?

Posted: 2005-10-18 20:41
by hotzi
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

Re: Debian Sarge + Postfix Logrotation -> wo einstellen?

Posted: 2005-10-19 17:08
by m.c.s.
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

Re: Debian Sarge + Postfix Logrotation -> wo einstellen?

Posted: 2005-10-19 17:23
by hotzi
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

Re: Debian Sarge + Postfix Logrotation -> wo einstellen?

Posted: 2005-10-19 18:09
by Joe User

Code: Select all

ls -alhR /etc/cron*

Re: Debian Sarge + Postfix Logrotation -> wo einstellen?

Posted: 2005-10-19 18:14
by hotzi
Joe User wrote:

Code: Select all

ls -alhR /etc/cron*
Die Crontabs habe ich längst geprüft, aber nix gefunden, wobei ich cron.monthly, hourly, weekly ingorniert habe.

Außerdem liegen auch crontabs in /var/spool/cron...

Re: Debian Sarge + Postfix Logrotation -> wo einstellen?

Posted: 2005-10-19 18:19
by Joe User
Wenn Du keine Hilfe möchtest...

Re: Debian Sarge + Postfix Logrotation -> wo einstellen?

Posted: 2005-10-19 18:26
by hotzi
Joe User wrote:Wenn Du keine Hilfe möchtest...
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.

Re: Debian Sarge + Postfix Logrotation -> wo einstellen?

Posted: 2005-10-20 18:36
by m.c.s.
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 ;)

Re: Debian Sarge + Postfix Logrotation -> wo einstellen?

Posted: 2005-10-20 18:41
by hotzi
Vielleicht sind wir ja beide doof... :-D

Re: Debian Sarge + Postfix Logrotation -> wo einstellen?

Posted: 2005-10-20 19:03
by suntzu
Kann es sein, dass die Logs irgendwo durch einen Wildcard-Eintrag erfasst werden?

Re: Debian Sarge + Postfix Logrotation -> wo einstellen?

Posted: 2005-10-20 19:07
by hotzi
SunTzu wrote:Kann es sein, dass die Logs irgendwo durch einen Wildcard-Eintrag erfasst werden?
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...

Re: Debian Sarge + Postfix Logrotation -> wo einstellen?

Posted: 2005-11-11 11:29
by mrmasterjpsy
^^ Lösung gefunden ?

Thx JPsy

Re: Debian Sarge + Postfix Logrotation -> wo einstellen?

Posted: 2005-11-11 11:31
by hotzi
Bisher keine Zeit gehabt. Hast DU nen Tipp für mich?