syslog/postfix question

Kurt Buff kurt.buff at gmail.com
Wed Mar 30 18:19:58 PST 2005


I've been perusing man syslog and man syslog.conf, and haven't gotten my 
mind quite wrapped around it yet.

I have 4 FBSD 5.3 servers on my network, each running postfix 2.x. One 
is a mail gateway to our Exchange server, the others are just using 
postifx for mailing out the daily/weekly/monthly/security logs, while 
they perform their other duties.

I want to have the normal logging (in this case /var/log/messages and 
/var/log/maillog) happen both locally and sent to a remote syslog server.

I haven't yet modified syslog.conf on any of these machines.

Am I correct in believing that all I have to do to make this happen is 
uncomment the line that says:

#*.*						@loghost

and change @loghost to match my syslog server? That is, along with 
making sure that name resolution works correctly, of course.

TIA,

Kurt


More information about the freebsd-questions mailing list