lr-20001211 on FreeBSD 4.1-STABLE?

Brad Knowles blk at skynet.be
Wed Dec 13 10:01:02 CET 2000


At 11:53 PM +0100 2000/12/12, Joost van Baal wrote:

>  A! Sounds excellent. I am planning to upload a new package this week.
>  Install procedure won't change this week, however. I am working on
>  bugfixes in the sendmail part now.

	Okay, I think I've got something that is at least making an 
attempt to execute on FreeBSD.


	First off, I have to say that I really object to having to modify 
my path and my manpath to suit logreport.  All this stuff should be 
able to be dumped into /usr/local/bin, or the top-level programs 
should be able to be dumped there with knowledge of where to find all 
the other parts.

	Likewise, all the man pages should be able to be dumped into 
/usr/local/man.


	I think things still aren't quite right on my system, because in 
order to get postfix2dlf to work at all, I have to symlink it into 
/usr/local/logreport/bin, instead of letting lr_log2mail find the 
program where it would expect it to be.



	Secondly, when it comes to postfix, some of us don't use the 
standard "qmgr" process, but are instead trying out the experimental 
"nqmgr" process.  Therefore, around line 132 of postfix2dlf, we need 
something more like this:

     } elsif ($type eq "qmgr" || $type eq "nqmgr") {
         for my $k ('size', 'from') {
             defined $log->{$k} or warn "$tag error expected to find " .
                 "'$k'= field, substituting default for queueid '$qid', " .
                 "type '$type'\n" and $log->{$k} = '-';
         }

	In addition, lines like the following are not "errors" per se, 
and should not be treated as such:

		Dec 13 07:49:35 huntley postfix/smtpd[79046]:
		connect from scorpius.skynet.be[195.238.3.14]

		Dec 13 07:49:36 huntley postfix/smtpd[79046]:
		disconnect from scorpius.skynet.be[195.238.3.14]

		Dec 13 01:00:59 huntley postfix/smtpd[51938]:
		timeout after DATA from ck.egroups.com[208.50.144.69]

		Dec 13 05:35:17 huntley postfix/trivial-rewrite[71146]:
		table has changed -- exiting

		Dec 13 09:38:34 huntley postfix/smtpd[89568]: lost
		connection after RCPT from m097.centtel.com[209.5.245.127]

		Dec 13 09:05:10 huntley postfix/smtpd[84541]: lookup
		table has changed -- exiting

	If you wanted to consider these (and many other things) to be 
warnings and to summarize them separately, that would be one thing. 
But these should not be considered errors.


	Finally, not everyone has "mutt" installed.  Your program should 
not be dependant on it.  Either use the standard "sendmail -t" 
interface, or try transmitting your message directly via SMTP to the 
appropriate MTA.

--
   These are my opinions -- not to be taken as official Skynet policy
======================================================================
Brad Knowles, <blk at skynet.be>                || Belgacom Skynet SA/NV
Systems Architect, Mail/News/FTP/Proxy Admin || Rue Colonel Bourg, 124
Phone/Fax: +32-2-706.13.11/12.49             || B-1140 Brussels
http://www.skynet.be                         || Belgium

"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
     -Benjamin Franklin, Historical Review of Pennsylvania.

-- 
To UNSUBSCRIBE, email to questions-request at logreport.org with a subject of 
"unsubscribe". Trouble? Send an email with subject "help" to 
questions-request at logreport.org



More information about the Questions mailing list