From: Daniel P. <d.p...@qg...> - 2007-06-28 13:26:03
|
Hi list, I'm a linux developer and using amavis for years for gateway spam filtering. Hoever: after upgrading from (please don't laugh) amavisd-new-20030616-p7 to amavisd-new-2.5.2 and therefore reinstalling perl (5.8.8) and all libraries in newest versions available through cpan, it is no longer possible for me to start amavis with logging to syslog. Well, what I tried: *** stracing "amavisd debug": it gives debug output, opens port, everything seems to be fine, however a telnet does not respond and no output is given (neither debug nor syslog - see output below) *** after hours finding out that amavis works perfectly without DO_SYSLOG=3D1 (file / stdout) *** make test for Unix::Syslog --> everything is fine *** playing around with all syslog parameters available in config file, testing the same settings with Unix::Syslog/test.pl --> test works, amavis just hangs *** Debugging with perl -D, going through every single step in amavisd: openlog call works, strace shows me /dev/log is opened, however when calling Unix::Syslog::syslog(...) amavis freezes when executing library routine _isyslog($priority, $msg) *** played around with LOTS of configuration options, chrooting, .... I've got no clue why this call works well using the test.pl but not when amavis opens it. This is really the first time I'm writing to a mailing list - I'm really despaired... Regards, Daniel |