LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 03-22-2004, 10:35 PM   #1
mairul
Member
 
Registered: Sep 2003
Location: In front of my LAN
Distribution: Redhat
Posts: 82

Rep: Reputation: 15
view the logfile of outgoing email


I have installed amavis mailscanner with clam antivirus at my redhat 9 (
sendmail MTA ) ...but was unable to view the logfile..of my outgoing
email...I am able to send mail only .....but not able to recieve
..........cause I can't find any logfile.... I found a file under the
amavis directory which was amavis configure file and there I find written at
one place which is as follows :

---------------------------------------------------------

#
# Logging

# yes - syslog, no - file logging
$DO_SYSLOG = "yes";

# Directory to put log entries (if not using syslog)
$LOGDIR = "/var/amavis";
$LOGFILE = "amavis.log";

# 0: default - startup/exit/failure messages
# 1: args passed from client
# 2: virus scanner output
# 3: server client
# 4: decompose parts
$log_level = 0;

-----------------------------------------------------------

Then I search for /var/amavis/amavis.log file but it was not found. I
created one file named amavis.log under /var/amavis directory but still
the file is showing 0 bytes after sending several email and also after
restarting PC.

I change the option $DO_SYSLOG = "yes"; to $DO_SYSLOG = "no"; ..but not worked...

Please help me to find out the logfile of amavis...
 
Old 03-23-2004, 04:20 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Have you checked your syslog since you enabled it as yes?
 
Old 03-23-2004, 09:01 PM   #3
mairul
Member
 
Registered: Sep 2003
Location: In front of my LAN
Distribution: Redhat
Posts: 82

Original Poster
Rep: Reputation: 15
Actually I am not so expert....I have found following files while searching for syslog file..

[root@pc1 /]# find -name syslog
./var/lock/subsys/syslog
./etc/sysconfig/syslog
./etc/rc.d/init.d/syslog
./etc/logrotate.d/syslog
./mnt/c/progra~1/syslog
[root@pc1 /]#

which of these file I should check...

I have found another file which is /var/log/maillog....is this my logfile for outgoing email...?
 
  


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
Shell scripting: Print output to logfile, error to logfile & screen stefanlasiewski Programming 18 05-22-2008 12:47 PM
logfile analyse saavik Linux - Networking 4 03-30-2005 05:14 AM
sendmail, sm-msp-queue for outgoing logfile after ssl lildrummerboy Linux - Newbie 0 07-26-2004 09:09 AM
Startup Logfile Wynand1 Linux - Newbie 1 06-01-2004 06:04 AM
Editing outgoing email content senthil Linux - Software 0 06-13-2003 07:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 01:48 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