Scott Leighton wrote:
On Sunday 10 April 2005 8:44 am, Erik Jakobsen wrote:
Scott Leighton wrote:
On Sunday 10 April 2005 8:06 am, Erik Jakobsen wrote:
Look at line 2028 of the fetchmailconf python script, you will find...
# Get client host's FQDN hostname = socket.gethostbyaddr(socket.gethostname())[0]
That's where it dies, you never see the gui because the program is dying on you.
I have been there, and how can I avoid it to die ?.
Fix your setup so that gethostbyaddr returns the correct information.
Ok fine Scott.
Now, to answer your question, I run it as a normal user in terminal, e.g.,
helphand@helphand:~> fetchmailconf helphand@helphand:~>
And up pops the GUI.
Sounds very easy. But what's the difference between your line 2028 and mine ?
Nothing, my line 2028 is identical to your line 2028. The problem isn't with fetchmailconf, it's with something about your setup that is causing bad info to be returned to gethostbyaddr.
What does your /etc/hosts file have in in?
Scott
Here you se my /etc/hosts file: 127.0.0.1 localhost.localdomain localhost 192.168.1.1 mail.urbakken.dk mail www ftp 192.168.1.254 mail1.urbakken.dk mail1.urbakken.dk 83.91.50.39 wan.urbakken.dk wan.urbakken.dk 192.168.1.239 mail2.urbakken.dk mail2.urbakken.dk 192.168.1.101 mail3.urbakken.dk mail3.urbakken.dk 192.168.1.6 mail4.urbakken.dk mail4.urbakken.dk 192.168.1.7 win98.urbakken.dk win98 192.168.1.100 mail5.urbakken.dk mail5.urbakken.dk 192.168.1.9 linux.urbakken.dk linux<-----This is the computer I try fetchmailconf on. 192.168.1.4 lajka.urbakken.dk lajka 192.168.1.14 w2000.urbakken.dk w2000 Erik