Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

protocol error connecting to POP3

Quote Reply
protocol error connecting to POP3
Like some other people, I haven't been able to connect to my POP3 server using Gossamer Mail. I have a system POP3 account that matches the Gossamer Mail account. The error I'm getting is :
[Sat Jul 15 23:10:49 2000] webmail.cgi: Webmail (29222): Getting messages from POP.
[Sat Jul 15 23:10:49 2000] webmail.cgi:
[Sat Jul 15 23:10:49 2000] webmail.cgi: POP3 (29222): New pop object created.
[Sat Jul 15 23:10:49 2000] webmail.cgi: POP3 (29222): Attempting to connect ..
[Sat Jul 15 23:10:49 2000] webmail.cgi: POP3 (29222): Could not connect to server [110, _j]: Address family not supported by protocol family
[Sat Jul 15 23:10:49 2000] webmail.cgi: POP3 (29222): --> QUIT
[Sat Jul 15 23:10:49 2000] webmail.cgi: POP3 (29222): <--
[Sat Jul 15 23:10:49 2000] webmail.cgi: POP3 (29222): Closed connection.
[Sat Jul 15 23:10:49 2000] webmail.cgi: POP3 (29222): POP Object destroyed.

I've found the code responsible in POP3.pm starting at line 164 :
# Look up the domain name.
if (! defined $self->{ADDR}) {
my $addr = ($self->{HOST} =~ /^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/) ?
pack('C4',$1,$2,$3,$4) : (gethostbyname($self->{HOST}))[4];
$self->{ADDR} = $addr;
}
$self->{ADDR} or croak "POP3 ($$): Unable to parse host name: ", $self->{HOST}, "\n";

# Connect to the pop box.
socket ($s, PF_INET, SOCK_STREAM, getprotobyname("tcp") || 6) or return error "POP3 ($$): Could not open soc$
connect ($s, pack('Sna4x8', AF_INET, $self->{PORT}, $self->{ADDR}) ) or return error "POP3 ($$): Could not conn$

Unfortunately, I don't know enough about POP3 to see what's wrong. Can anyone figure this one out?

Thanks!
-Michael J

Quote Reply
Re: protocol error connecting to POP3 In reply to
Here's a little info I found :

EAFNOSUPPORT - Address family not supported by protocol family

An address incompatible with the requested protocol was used. For example, you shouldn't necessarily expect to be able to use NS addresses with ARPA Internet protocols.

Still not sure what this means...

Quote Reply
Re: protocol error connecting to POP3 In reply to
This was a bug in our pop module that made it incompatible with some pop servers. We will be posting a new file that will fix this. If you want us to change it for you, just send a message using the support form and include your login information.

Cheers,

Alex

--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] protocol error connecting to POP3 In reply to
hi alex,

would this affect Version: 2.0.2-Upgrade?

regan
Quote Reply
Re: [ryel01] protocol error connecting to POP3 In reply to
No, I don't think so. The version of the pop library that came with 2.0.2 was the same till 2.0.6 and was done in June 2001, well after this post.

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] protocol error connecting to POP3 In reply to
hhmmm.. ok, can you tell me how I can see why a pop account won't connect to a pop server? the error being returned to the user page is...

Cannot connect to server.

I haven't played around with that much so don't really know where to look!?

r