Hum... creo que he encontrado algo.
[fetchmail-users] Rotating Fetchmail log
https://lists.berlios.de/pipermail/fetchmail-users/2009-November/002142.html
Me parece que vas a tener que añadir un comando de reinicio del servicio
en el script del logrotate:
***
http://opensource.apple.com/source/fetchmail/fetchmail-30/fetchmail/contrib/fetchmail.logrotate?f=text
# This is an example logrotate configuration file, editing required
# before use. It is useful if you have fetchmail logging to a separate
# file, /var/log/fetchmail as shown below.
#
# This file has been written for Debian Linux systems.
#
# Other systems will probably require adjustments, such as: how
# often to rotate, how many files to retain, how to name them, if
# compression is desired, which user and group the file should be
# created with, and where the .pid file is. Check the logrotate
# documentation for details.
# --Matthias Andree, 2007-01-14
/var/log/fetchmail {
weekly
rotate 5
compress
missingok
notifempty
create 640 fetchmail root
sharedscripts
postrotate
if [ -f /var/run/fetchmail/fetchmail.pid ]; then \
if [ -x /usr/sbin/invoke-rc.d ]; then \
invoke-rc.d fetchmail restart> /dev/null; \
else \
/etc/init.d/fetchmail restart> /dev/null; \
fi; \
fi;
endscript
}
***
Lo que te interesa aquí sería el bloque del "postrotate/endscript" que
es lo que entiendo que verifica si el proceso está en ejecución y en caso
afirmativo, lo reinicia.
Es decir, con esto se le dice al fetchmail que tras ejecutar el rotate,
que detenga y reinicie el servicio de nuevo. Se ve que lo necesita para
poder volver a generar el registro... qué raro ¿verdad? :-?
Podrían añadirlo de manera predeterminada al instalar Fetchmail.
Prueba y nos cuentas. Espero que funcione sin problemas.
Saludos,