problems installing mailscanner in debian

Julian Field mailscanner at
Mon Jan 13 21:12:13 GMT 2003

Nick says this:

Fix whatever causes hostname to output "Unknown host" I guess...

I haven't really looked at the scripts in the mailscanner 3 package, but I
guess it's
trying to use /bin/hostname to get the name to use in the config file and
finding that
hostname fails.

Maybe check /etc/mailname and /etc/hosts?

Failing that use the Debian BTS to report a bug (if it's possible for
hostname to fail then
the scripts need to handle it, I guess).

At 17:59 13/01/2003, you wrote:
>I have passed your problem onto my Debian expert (ie. Nick). Hopefully he
>will get back to you soon.
>At 12:30 13/01/2003, you wrote:
>>I was trying to install mailscanner with debian (apt-get install mailscanner
>>but I got the following error):
>>Setting up mailscanner (3.13.2-4) ...
>>hostname: Unknown host
>>dpkg: error processing mailscanner (--configure):
>>  subprocess post-installation script returned error exit status 1
>>Errors were encountered while processing:
>>  mailscanner
>>E: Sub-process /usr/bin/dpkg returned an error code (1)
>>How can I fix this?
>Julian Field
>MailScanner thanks transtec Computers for their support

Julian Field
MailScanner thanks transtec Computers for their support

More information about the MailScanner mailing list