View Single Post
  #7  
Old 18th February 2009, 04:52
bl4ckb1rd bl4ckb1rd is offline
Member
 
Join Date: Feb 2009
Posts: 36
Thanks: 2
Thanked 6 Times in 4 Posts
Default

Also on centos 5.2 default installation of postfix logs all messages to /var/log/maillog which isn't very useful for ispconfig, since it tracks /var/log/mail.log, mail.warn and mail.err

you may want to edit your /etc/syslog.conf and change mail line to:

Quote:
# Log all the mail messages in one place.
mail.* -/var/log/mail.log
mail.=warn -/var/log/mail.warn
mail.err -/var/log/mail.err
Which will make use of your monitor in ISPconfig again.


Another note is about syslog facility of pure-ftpd. Default installation will log all to syslog. If you dont want to get flooded with:

Quote:
Feb 18 00:20:02 ibex pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
Feb 18 00:20:02 ibex pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Feb 18 00:25:01 ibex pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
Feb 18 00:25:01 ibex pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Change /etc/pure-ftpd/pure-ftpd.conf to:

Quote:
# Syslog facility (auth, authpriv, daemon, ftp, security, user, local*)
# The default facility is "ftp". "none" disables logging.

SyslogFacility none
This should disable logging of pure-ftpd directly to /var/log/messages which ic shown under "Show System Log" in Monitor section of ISPconfig 3.

Clamd also logs in other file, so find and edit LogFile in /etc/clamd.conf to this:

Quote:
LogFile /var/log/clamav/clamav.log
There you go, quick update on default installation of centos 5.2 (all services installed thru yum repositories exactly as guide tells you to do.)
Reply With Quote