$hostname not translated in reports

Michael Mansour micoots at yahoo.com
Mon Nov 12 22:09:00 GMT 2007

Hi Julian,

Julian Field <MailScanner at ecs.soton.ac.uk> wrote: -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

You should be able to use
Do neither of them work?
I have just changed all references of $hostname to $linkhostname in the reports and will test this shortly.

I also use the latest MailScanner and SL4.5 (RHEL4U5), have been using MailScanner for years while this $hostname has never worked. This hasn't ever bothered me until I started customising reports for different people.

I'll let you know how it goes. Thanks.

Randal, Phil wrote:
> We have the same problem here, latest MailScanner, CentOS 5.0 x64.
> Cheers,
> Phil
> --
> Phil Randal
> Network Engineer
> Herefordshire Council
> Hereford, UK
>     ------------------------------------------------------------------------
>     *From:* mailscanner-bounces at lists.mailscanner.info
>     [mailto:mailscanner-bounces at lists.mailscanner.info] *On Behalf Of
>     *Michael Mansour
>     *Sent:* 10 November 2007 05:02
>     *To:* mailscanner at lists.mailscanner.info
>     *Subject:* $hostname not translated in reports
>     Hi,
>     When email reports get emailed to addresses (the "Hostname"
>     variable in MailScanner.conf), I notice that the $hostname is
>     never translated to the actual hostname of the machine that has
>     the quarantined file.
>     I just see:
>     ()
>     How can I trouble-shoot this so that I can fix it? ie. where do I
>     need to look to define the $hostname for the reports per
>     MailScanner server I run?
>     Thanks.
>     Michael.
>     ------------------------------------------------------------------------
>     National Bingo Night. Play along for the chance to win $10,000
>     every week. Download your gamecard now at Yahoo!7 TV
>     .


- -- 
Julian Field MEng CITP
Buy the MailScanner book at www.MailScanner.info/store

Need help customising MailScanner?
Contact me!
Need help fixing or optimising your systems?
Contact me!
Need help getting you started solving new requirements from your boss?
Contact me!

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

Version: PGP Desktop 9.7.0 (Build 867)
Comment: (pgp-secured)
Charset: ISO-8859-1


This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

MailScanner mailing list
mailscanner at lists.mailscanner.info

Before posting, read http://wiki.mailscanner.info/posting

Support MailScanner development - buy the book off the website!

National Bingo Night. Play along for the chance to win $10,000 every week. Download your gamecard now at Yahoo!7 TV.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20071113/31bd4661/attachment.html

More information about the MailScanner mailing list