Hi Julian,<br><br><b><i>Julian Field <MailScanner@ecs.soton.ac.uk></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> -----BEGIN PGP SIGNED MESSAGE-----<br>Hash: SHA1<br><br>You should be able to use<br> $hostname<br>or<br> $linkhostname<br>Do neither of them work?<br></blockquote>I have just changed all references of $hostname to $linkhostname in the reports and will test this shortly.<br><br>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.<br><br>I'll let you know how it goes. Thanks.<br><br>Michael.<br><blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">Randal, Phil wrote:<br>> We have the same problem here, latest MailScanner, CentOS 5.0 x64.<br>>
<br>> Cheers,<br>> <br>> Phil<br>> <br>><br>> --<br>> Phil Randal<br>> Network Engineer<br>> Herefordshire Council<br>> Hereford, UK<br>><br>> <br>><br>> ------------------------------------------------------------------------<br>> *From:* mailscanner-bounces@lists.mailscanner.info<br>> [mailto:mailscanner-bounces@lists.mailscanner.info] *On Behalf Of<br>> *Michael Mansour<br>> *Sent:* 10 November 2007 05:02<br>> *To:* mailscanner@lists.mailscanner.info<br>> *Subject:* $hostname not translated in reports<br>><br>> Hi,<br>><br>> When email reports get emailed to addresses (the "Hostname"<br>> variable in MailScanner.conf), I notice that the $hostname is<br>> never translated to the actual hostname of the machine that has<br>> the quarantined file.<br>><br>> I just see:<br>><br>> ()<br>><br>> How can I trouble-shoot
this so that I can fix it? ie. where do I<br>> need to look to define the $hostname for the reports per<br>> MailScanner server I run?<br>><br>> Thanks.<br>><br>> Michael.<br>><br>> ------------------------------------------------------------------------<br>> National Bingo Night. Play along for the chance to win $10,000<br>> every week. Download your gamecard now at Yahoo!7 TV<br>> <http: au.rd.yahoo.com="" mail="" taglines="" default_all="" bingo="" *http:="" au.blogs.yahoo.com="" national-bingo-night="">.<br>><br>><br><br>Jules<br><br>- -- <br>Julian Field MEng CITP<br>www.MailScanner.info<br>Buy the MailScanner book at www.MailScanner.info/store<br><br>Need help customising MailScanner?<br>Contact me!<br>Need help fixing or optimising your systems?<br>Contact me!<br>Need help getting you started solving new requirements from your boss?<br>Contact me!<br><br>PGP footprint: EE81 D763 3DB0 0BFD E1DC
7222 11F6 5947 1415 B654<br><br><br>-----BEGIN PGP SIGNATURE-----<br>Version: PGP Desktop 9.7.0 (Build 867)<br>Comment: (pgp-secured)<br>Charset: ISO-8859-1<br><br>wj8DBQFHOD2FEfZZRxQVtlQRAiwFAJ4tacFF9BDi83ZVCZEEITNpXDhxHQCgxtIF<br>3AEFWQmFsvARWsTOT6Fcyag=<br>=mQlK<br>-----END PGP SIGNATURE-----<br><br>-- <br>This message has been scanned for viruses and<br>dangerous content by MailScanner, and is<br>believed to be clean.<br><br>--<br>MailScanner mailing list<br>mailscanner@lists.mailscanner.info<br>http://lists.mailscanner.info/mailman/listinfo/mailscanner<br><br>Before posting, read http://wiki.mailscanner.info/posting<br><br>Support MailScanner development - buy the book off the website!<br></http:></blockquote><br><p> 
<hr size=1>
National Bingo Night. Play along for the chance to win $10,000 every week. <a href="http://au.rd.yahoo.com/mail/taglines/default_all/bingo/*http://au.blogs.yahoo.com/national-bingo-night/" target=_blank>Download your gamecard now at Yahoo!7 TV</a>.