Re: HUP reqired after rotating mail.log on postfix?

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Jeremy C. Reed
Date:  
To: plug-discuss
Subject: Re: HUP reqired after rotating mail.log on postfix?
> > I have an amavisd-new, spamassassin, postfix configuration and after
> > logroate rotates mail.log is sending an HUP singnal to postfix necessary?
> > is the " killall -HUP postfix" line necessary?
>
> The HUP tells postfix to reload its config file and will help it deal
> with the change in the presence of the mail.log file since it is being
> moved during the logrotate cron job and postfix may not normally catch
> that and create a new one on its own...


postfix, by default, doesn't know anything about mail.log.

Type in:

postconf syslog_name

postconf syslog_facility

postfix uses the system message logger (it doesn't handle logs files
itself).

For the facility, look at your syslogger configuration (like
/etc/syslog.conf).

Telling postfix to restart should not change anything and should not be
needed.

Jeremy C. Reed

                 BSD News, BSD tutorials, BSD links
                http://www.bsdnewsletter.com/


---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss