1748274 Members
4201 Online
108761 Solutions
New Discussion юеВ

Mail.log

 
SOLVED
Go to solution
Samantha Newman
New Member

Mail.log

Is it possible to disable logging of sent and received mail from certain users to the mail.log file?
4 REPLIES 4
Frank Li
Trusted Contributor

Re: Mail.log

I think the answer maybe "NO" , you can " man syslogd" and it can give you some infomation .

You can't disable certain users' mail sent/receipt information , but you can disable all user mail infomation
Hi Friend
Shahul
Esteemed Contributor

Re: Mail.log


Hi

Normally it is not possible (By using a script it may be possible). U can stop receiving mails for a user but that also will be logged in /var/adm/syslog/mail.log.

Shahul

Ralf Hildebrandt
Valued Contributor
Solution

Re: Mail.log

Yes, it is possible.
Not with default HP tools, though. If you replace syslogd by syslog-ng, then you can define regular expressions by which you can "sort" logentries to different logfiles. YOu'd normally specify /dev/null as logfile for stuff that's not to be logged.
Postfix/BIND/Security/IDS/Scanner, you name it...
Samantha Newman
New Member

Re: Mail.log

Thanks All!!! /dev/null was what I needed.