LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-23-2013, 01:53 AM   #1
hydraMax
Member
 
Registered: Jul 2010
Location: Skynet
Distribution: Debian + Emacs
Posts: 467
Blog Entries: 60

Rep: Reputation: 51
postifx: do not log name and IP of server connection


Hi. I'm not quite clear from the online Postfix documentation, on how to do this: How do you set postfix so that it does not log the name, nor the IP, of the servers postfix connects to (sending or receiving). I do not want my server log to contain any information pertaining to whom it sent e-mails to or whom it received e-mails from.

If that meant disabling the whole logging process, I suppose that would be fine, though I would think it would still be useful to log some things, such as error messages.
 
Old 12-23-2013, 02:19 AM   #2
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,748
Blog Entries: 11

Rep: Reputation: 233Reputation: 233Reputation: 233
I did not find much in the documentation of postfix besides increasing log level. Using -v on the smtpd binary in master.cf. Maybe a -q would turn of logging. Also I did not find any options for the postfix/smtpd binary.

Nother approach would be to have your log server mangle the lines. Depending on which syslog your using. Heres something for rsyslog: http://www.rsyslog.com/doc/mmanon.html.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
In Apache server, How to change log file location and log format for access log fil? since1993 Linux - Server 1 08-19-2009 04:14 PM
Can Samhain log my entries in /var/log/secure and /var/log/mesage to a central server abefroman Linux - Software 2 04-13-2008 04:13 PM
Log the connection status of NAT server orthogonal Linux - Networking 1 06-09-2007 04:19 PM
A postifx question mabs Linux - Software 0 10-21-2004 06:56 AM
postifx problem rnj Fedora 0 10-18-2004 03:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration