On Sunday 10 April 2005 9:50 am, Erik Jakobsen wrote:
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
Well, I'm not an expert on this, so all I can note is that my /etc/hosts also includes some ipv6 data, e.g., special IPv6 addresses ::1 localhost ipv6-localhost ipv6-loopback fe00::0 ipv6-localnet ff00::0 ipv6-mcastprefix ff02::1 ipv6-allnodes ff02::2 ipv6-allrouters ff02::3 ipv6-allhosts Don't know whether or note that has anything to do with your problem. Mine also does not have the localhost.localdomain entry, e.g., 127.0.0.1 localhost sqlhost mailhost sqlhost2 Again, not sure whether that's relevant or not. Perhaps someone knowledgeable on the subject will speak up. Scott -- POPFile, the OpenSource EMail Classifier http://popfile.sourceforge.net/ Linux 2.6.8-24.14-default x86_64