Carlos Williams wrote:
> Do you mean read my Amavisd logs or Postfix logs? I checked /var/log/
> and Amavisd does not appear to store logs there unless I don't have it
> properly installed / running.
> 
> mail:/var/log# ls
> apt           debug       dpkg.log.1  mail.err     messages.0   syslog.4.gz
> auth.log      debug.0     faillog     mail.info    news         syslog.5.gz
> auth.log.0    dmesg       fsck        mail.info.0  ntpstats     user.log
> boot          dmesg.0     installer   mail.log     syslog       user.log.0
> btmp          dmesg.1.gz  kern.log    mail.log.0   syslog.0     wtmp
> btmp.1        dmesg.2.gz  kern.log.0  mail.warn    syslog.1.gz  wtmp.1
> daemon.log    dmesg.3.gz  lastlog     mail.warn.0  syslog.2.gz
> daemon.log.0  dpkg.log    lpr.log     messages     syslog.3.gz
> 
> I checked messages, mail.log, mail.err, & mail.warn and could not find
> anything related to Amavisd. I think I am missing something.
> 
I don't know what Debian defaults to.  Amavis default is:

# $DO_SYSLOG = undef;  # same as 0

# $syslog_ident = 'amavis';
# $syslog_facility = 'mail';    # after-default, derived from
                                # $SYSLOG_LEVEL
# $syslog_priority = 'debug';   # after-default, derived from
                                # $SYSLOG_LEVEL
# $SYSLOG_LEVEL = 'mail.debug'; # obsolete variable

Be sure to set:

$DO_SYSLOG = 1;                 # log via syslogd (preferred)

This will place log entries in the location specified in syslog.conf for
mail.debug and higher priorities.

Here is an alternative method:

http://groups.google.com/group/mailing.unix.amavis-user/browse_thread/thread/ff7c62b6d598bc22/39d6015dc32ae56a?lnk=gst&q=DO_SYSLOG+syslog_facility#39d6015dc32ae56a

MrC

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to