[BlueOnyx:12132] Re: Mailman configured to localhost.localdomain
Christoph Schneeberger
cschnee at box.telemedia.ch
Fri Feb 1 08:17:06 -05 2013
Hi Tobias,
That is pretty easy with python, just start python in interactive mode
and type the following 2 lines:
>>> from socket import getfqdn
>>> getfqdn()
But if you call getfqdn() without any parameters it will always assume
localhost as parameter so this output is perfectly normal and you will
see it on any BO server like this - if called without any arguments.(1)
If your hosts file is fine and hostname -f reports NOT
localhost.localdomain your problem most likely lies somewhere else and I
probably sent you on the wrong track for debugging this. Unfortunately I
have never used Mailman and can't give any further hints.
Cheers,
Christoph
(1)
http://docs.python.org/3/library/socket.html?highlight=socket#socket.getfqdn
On 02/01/2013 11:42 AM, Tobias Gablunsky wrote:
> Hi Christoph,
>
> well hostname -f prints the correct hostname. But I suspect you are right because all I found in the mailman config only points to the output of "socket.getfqdn".
>
> Does anybody know how I can test the output of this python function? Never wrote a python script before..
>
> Thank you in advance,
>
> Tobias
>
>
>
>> -----Original Message-----
>> From: blueonyx-bounces at mail.blueonyx.it
>> [mailto:blueonyx-bounces at mail.blueonyx.it] On Behalf Of
>> Christoph Schneeberger
>> Sent: Thursday, January 31, 2013 6:45 PM
>> To: BlueOnyx General Mailing List
>> Subject: [BlueOnyx:12127] Re: Mailman configured to
>> localhost.localdomain
>>
>> Hi,
>>
>> Check the output of "hostname -f", if this doesn't reflect
>> the servers
>> hostname then check the contents of /etc/hosts and fix it
>> according to
>> your needs.
>>
>> Hope this helps,
>> Christoph
>>
>> Tobias Gablunsky wrote:
>>> Hello,
>>>
>>> I have a mailman configuration (on BO 5107) which is
>> configured to run on localhost.localdomain. Thus it is
>> impossible to administer it over its web interface.
>>>
>>> Has anybody seen this before? And even more important: How
>> do I reconfigure it to run on the real hostname?
>>>
>>> Thanks for any help,
>>>
>>> Tobias
>>>
>>>
>>>
>>> _______________________________________________
>>> Blueonyx mailing list
>>> Blueonyx at mail.blueonyx.it
>>> http://mail.blueonyx.it/mailman/listinfo/blueonyx
>>>
>>
>> _______________________________________________
>> Blueonyx mailing list
>> Blueonyx at mail.blueonyx.it
>> http://mail.blueonyx.it/mailman/listinfo/blueonyx
>>
>
> _______________________________________________
> Blueonyx mailing list
> Blueonyx at mail.blueonyx.it
> http://mail.blueonyx.it/mailman/listinfo/blueonyx
>
More information about the Blueonyx
mailing list