Ross Boylan
2006-May-01 04:48 UTC
[Logcheck-devel] Bug#365565: logcheck: improve description of FQDN option
Package: logcheck Version: 1.2.43a Severity: wishlist The conf file currently says # Should the hostname of the generated mails be fully qualified? FQDN=1 I suggest rewording that to # Should the hostname in the subject of the generated mails be fully qualified? FQDN=1 The current wording led me to believe that the sender, and perhaps recipient (if otherwise unqualified) of the emails generated by logcheck would be fully qualified. This is not the case, and from inspecting the code this setting seems to affect only the text of subject lines and some debug lines. Probably the usage note -H HOST = use this hostname for the mail should be -H HOST = use this hostname in the mail's subject line with similar change to the man page. An alternate approach would be to change the actual behavior, which currently is provided by the "mail" program for the sender and recipient addresses. I think mail uses the contents of /etc/mailname (or at least exim will). My /etc/mailname does not have the hostname --short in it. Since the recipient domain can be set explicitly, and since the sender domain can be inferred from the subject line, there seems little value in changing the actual behavior. The wisdom of overriding the standard domain handling is also debatable in this context. -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (990, 'testing'), (50, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.15 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages logcheck depends on: ii adduser 3.85 Add and remove users and groups ii cron 3.0pl1-94 management of regular background p ii debconf [debconf 1.4.72 Debian configuration management sy ii debianutils 2.15.7 Miscellaneous utilities specific t ii exim4 4.61-1 metapackage to ease exim MTA (v4) ii exim4-daemon-hea 4.61-1 exim MTA (v4) daemon with extended ii grep 2.5.1.ds2-4 GNU grep, egrep and fgrep ii lockfile-progs 0.1.10 Programs for locking and unlocking ii logcheck-databas 1.2.43a database of system log rules for t ii logtail 1.2.43a Print log file lines that have not ii mailx 1:8.1.2-0.20050715cvs-1 A simple mail user agent ii sysklogd [system 1.4.1-17 System Logging Daemon logcheck recommends no packages. -- debconf information: logcheck/changes: * logcheck/install-note:
Jamie L. Penman-Smithson
2006-Jun-04 22:52 UTC
Bug#365565: [Logcheck-devel] Bug#365565: logcheck: improve description of FQDN option
package logcheck tags 365565 pending thanks On 1 May 2006, at 05:48, Ross Boylan wrote:> The conf file currently says > # Should the hostname of the generated mails be fully qualified? > FQDN=1 > > I suggest rewording that to > # Should the hostname in the subject of the generated mails be > fully qualified? > FQDN=1 > > The current wording led me to believe that the sender, and perhaps > recipient (if otherwise unqualified) of the emails generated by > logcheck would be fully qualified. This is not the case, and from > inspecting the code this setting seems to affect only the text of > subject lines and some debug lines. > > Probably the usage note > -H HOST = use this hostname for the mail > should be > -H HOST = use this hostname in the mail's subject line > with similar change to the man page.The usage summary now reads: -H HOST = use this hostname in the subject of any generated mail The explanation of the FQDN option now reads: # Should the hostname in the subject of generated mails be fully qualified? The manpage for logcheck now reads: "-H Use this hostname string in the subject of logcheck mail." Thanks for your bug report, -j -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part Url : http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20060604/ecf8344f/attachment.pgp
Debian Bug Tracking System
2006-Jun-04 23:18 UTC
Processed: Re: [Logcheck-devel] Bug#365565: logcheck: improve description of FQDN option
Processing commands for control at bugs.debian.org:> package logcheckIgnoring bugs not assigned to: logcheck> tags 365565 pendingBug#365565: logcheck: improve description of FQDN option There were no tags set. Tags added: pending> thanksStopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database)
Reasonably Related Threads
- Bug#365121: logcheck: Fails to ignore certain pattern
- Bug#353868: logcheck-database: no longer ignores "spamd: checking message ..."
- Bug#359878: logcheck: extend exim rules to cope with multiple recipients
- Bug#363336: logcheck-database: incomplete regexp for popa3d log message
- Bug#355649: logcheck: ntp 'adjusting local clock' only matches positive corrections