....
 

Guardian Digital Inc. > InfoCenter > Mailing List Archives > Amavis

Amavis Mailing List Archive

From: Mark Martinec (Mark.Martinec+amavis@ijs.si)
Date: Wed Dec 15 2004 - 19:50:34 EST


Rocco,

> How I can put amavis-milter log in a different file from sendmail (what
> syslogd entry must I use?)?

The syslog facility is hardwired in amavis-milter.c to LOG_MAIL,
so (depending on your syslog.conf) it will probably end up in mail.log.

You will have to change the source and recompile amavis-milter.c
to use a different syslog facility (or tell sendmail to log elsewhere).

The line in question (in amavis-milter.c) is:

  openlog("amavis-milter", LOG_PID|LOG_CONS, LOG_MAIL);
                                             ^^^^^^^^
Use something like LOG_DAEMON or LOG_USER or LOG_LOCAL0 .

  Mark

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/



[ About Guardian Digital ] - [ Press Center ] - [ Contact Us ] - [ System Activation ] - [ Reseller Info ] - [ Online Store ] - [ Site Map ]
Copyright (c) 2000 - 2004 Guardian Digital, Inc. Linux Lockbox and EnGarde are Trademarks of Guardian Digital, Inc.