Discussion:
How can I have amavisd-new log to /var/log/maillog?
Scott Henderson
2002-08-08 18:20:25 UTC
Permalink
Subject pretty much says it all. I would prefer not to log to
either /var/log/messages, nor another, separate file. It would
be nicer, I think, to have amavis log to the same file as my mail
system does. Thanks for any help!



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Mark Martinec
2002-08-08 19:44:56 UTC
Permalink
Scott,

| Subject: How can I have amavisd-new log to /var/log/maillog?
|
| Subject pretty much says it all. I would prefer not to log to
| either /var/log/messages, nor another, separate file. It would
| be nicer, I think, to have amavis log to the same file as my mail
| system does. Thanks for any help!

Use the settings in amavisd.conf to direct the logging to syslog:

$DO_SYSLOG = "yes"; # yes - syslog, no - file logging
$SYSLOG_LEVEL = "mail.info"; # or "user.info" or whatever

Then direct your syslogd (/etc/syslogd.conf) to place
mail.info (or whatever you set it to) to the same file
as your regular MTA sends its log to.

Mark


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Rob MacGregor
2002-08-08 19:58:36 UTC
Permalink
Post by Scott Henderson
Subject pretty much says it all. I would prefer not to log to
either /var/log/messages, nor another, separate file. It would
be nicer, I think, to have amavis log to the same file as my mail
system does. Thanks for any help!
Which version? By default amavisd-snapshot logs to syslog using the mail
facility.


Please DO NOT send me ANY email directly unless it's a privacy issue.
Reply-to mangled to assist those who don't read the above.
--
Rob | What part of "no" was it you didn't understand?


_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

Loading...