Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 03-22-2004, 10:35 PM   #1
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
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
Have you checked your syslog since you enabled it as yes?
Old 03-23-2004, 09:01 PM   #3
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
[root@pc1 /]#

which of these file I should check...

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 11:06 PM.

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