Loading...

fetchmail-friends@lists.ccil.org

[Prev] Thread [Next]  |  [Prev] Date [Next]

[fetchmail]Fetchmail fails to fetch mails with ipv6 host, is patch avail for this Usha Sat Jun 05 03:31:26 2004

Hi list,


As I discussed in my previous mail that trying to fetch mail with ipv6
address  fails with the error "couldn't find canonical DNS name of
fe80::230:6eff:fe48:a45b",
now I got it worked to connect with ipv6 address after the change of the
function replacement with getipnodebyname instead of gethostbyname( it does
not have ipv6 support in my OS version of HP-UX B.11.23 U ia64 3738763113).
So now I  could succeed with  connect and authenticate but ending  with
"fetchmail: Query status=2 (SOCKET)", it fails  to fetch the mail as
follows, Can anyone give me suggestion or any pathc avilab to make it work
it out!!!!!!!!

# ./fetchmail -v -u usha fe80::230:6eff:fe39:b7b3
Enter password for [EMAIL PROTECTED]::230:6eff:fe39:b7b3:
fetchmail: 6.2.5 querying fe80::230:6eff:fe39:b7b3 (protocol auto) at Sat
Jun  5 11:21:26 2004: poll started
fetchmail: 6.2.5 querying fe80::230:6eff:fe39:b7b3 (protocol IMAP) at Sat
Jun  5 11:21:26 2004: poll started
fetchmail: 6.2.5 querying fe80::230:6eff:fe39:b7b3 (protocol IMAP) at Sat
Jun  5 11:13:18 2004: poll completed
fetchmail: 6.2.5 querying fe80::230:6eff:fe39:b7b3 (protocol POP3) at Sat
Jun  5 11:13:18 2004: poll started
fetchmail: 6.2.5 querying fe80::230:6eff:fe39:b7b3 (protocol POP3) at Sat
Jun  5 11:13:18 2004: poll completed
fetchmail: 6.2.5 querying fe80::230:6eff:fe39:b7b3 (protocol auto) at Sat
Jun  5 11:13:18 2004: poll completed
fetchmail: Query status=2 (SOCKET)
fetchmail: normal termination, status 2

But the above similar test  works for ipv4 host adress, given below:

# ./fetchmail -v -u usha 172.16.1.178
Enter password for [EMAIL PROTECTED]:
fetchmail: 6.2.5 querying 172.16.1.178 (protocol auto) at Sat Jun  5
11:20:26 2004: poll started
fetchmail: 6.2.5 querying 172.16.1.178 (protocol IMAP) at Sat Jun  5
11:20:26 2004: poll started
fetchmail: IMAP< * OK [CAPABILITY IMAP4REV1 LOGIN-REFERRALS STARTTLS
AUTH=LOGIN] pallava.kovaiteam.com IMAP4rev1 2003.339 at Sat, 5 Jun 2004
11:20:26 +0530 (IST)
fetchmail: IMAP> A0001 CAPABILITY
fetchmail: IMAP< * CAPABILITY IMAP4REV1 IDLE NAMESPACE MAILBOX-REFERRALS
BINARY UNSELECT SCAN SORT THREAD=REFERENCES THREAD=ORDEREDSUBJECT
MULTIAPPEND LOGIN-REFERRALS STARTTLS AUTH=LOGIN
fetchmail: IMAP< A0001 OK CAPABILITY completed
fetchmail: IMAP> A0002 STARTTLS
fetchmail: IMAP< A0002 NO STARTTLS failed: Server certificate not installed
fetchmail: IMAP> A0003 CAPABILITY
fetchmail: IMAP< * CAPABILITY IMAP4REV1 IDLE NAMESPACE MAILBOX-REFERRALS
BINARY UNSELECT SCAN SORT THREAD=REFERENCES THREAD=ORDEREDSUBJECT
MULTIAPPEND LOGIN-REFERRALS STARTTLS AUTH=LOGIN
fetchmail: IMAP< A0003 OK CAPABILITY completed
fetchmail: IMAP> A0004 LOGIN * "usha"
fetchmail: IMAP< A0004 OK [CAPABILITY IMAP4REV1 IDLE NAMESPACE
MAILBOX-REFERRALS BINARY UNSELECT SCAN SORT THREAD=REFERENCES
THREAD=ORDEREDSUBJECT MULTIAPPEND] User usha authenticated
fetchmail: IMAP> A0005 SELECT "INBOX"
fetchmail: IMAP< * 2 EXISTS
fetchmail: IMAP< * NO Mailbox vulnerable - directory /var/mail must have
1777 protection
fetchmail: IMAP< * 2 RECENT
fetchmail: IMAP< * OK [UIDVALIDITY 1086349170] UID validity status
fetchmail: IMAP< * OK [UIDNEXT 4] Predicted next UID
fetchmail: IMAP< * FLAGS (\Answered \Flagged \Deleted \Draft \Seen)
fetchmail: IMAP< * OK [PERMANENTFLAGS (\* \Answered \Flagged \Deleted \Draft
\Seen)] Permanent flags
fetchmail: IMAP< * OK [UNSEEN 1] first unseen message in /var/mail/usha
fetchmail: IMAP< A0005 OK [READ-WRITE] SELECT completed
fetchmail: IMAP> A0006 EXPUNGE
fetchmail: IMAP< * NO Mailbox vulnerable - directory /var/mail must have
1777 protection
fetchmail: IMAP< A0006 OK Mailbox checkpointed, but no messages expunged
fetchmail: IMAP> A0007 SEARCH UNSEEN NOT DELETED
fetchmail: IMAP< * SEARCH 1 2
fetchmail: IMAP< A0007 OK SEARCH completed
2 messages for usha at 172.16.1.178.
fetchmail: IMAP> A0008 FETCH 1:2 RFC822.SIZE
fetchmail: IMAP< * 1 FETCH (RFC822.SIZE 629)
fetchmail: IMAP< * 2 FETCH (RFC822.SIZE 303)
fetchmail: IMAP< A0008 OK FETCH completed
fetchmail: IMAP> A0009 FETCH 1 RFC822.HEADER
fetchmail: IMAP< * 1 FETCH (RFC822.HEADER {620}
reading message usha@::ffff:172.16.1.178:1 of 2 (620 header octets)
fetchmail: SMTP< 220 pallava.kovaiteam.com ESMTP Sendmail 8.11.1/8.11.1;
Sat, 5 Jun 2004 11:20:28 +0530 (IST)
fetchmail: SMTP> EHLO localhost
fetchmail: SMTP< 250-pallava.kovaiteam.com Hello [EMAIL PROTECTED] [127.0.0.1],
pleased to meet you
fetchmail: SMTP< 250-ENHANCEDSTATUSCODES
fetchmail: SMTP< 250-EXPN
fetchmail: SMTP< 250-VERB
fetchmail: SMTP< 250-8BITMIME
fetchmail: SMTP< 250-SIZE
fetchmail: SMTP< 250-DSN
fetchmail: SMTP< 250-ONEX
fetchmail: SMTP< 250-ETRN
fetchmail: SMTP< 250-XUSR
fetchmail: SMTP< 250 HELP
fetchmail: SMTP> MAIL FROM:<[EMAIL PROTECTED]> SIZE=629
fetchmail: SMTP< 250 2.1.0 <[EMAIL PROTECTED]>... Sender ok
fetchmail: SMTP> RCPT TO:<[EMAIL PROTECTED]>
fetchmail: SMTP< 250 2.1.5 <[EMAIL PROTECTED]>... Recipient ok
fetchmail: SMTP> DATA
fetchmail: SMTP< 354 Enter mail, end with "." on a line by itself
#
fetchmail: IMAP< )
fetchmail: IMAP< A0009 OK FETCH completed
fetchmail: IMAP> A0010 FETCH 1 BODY.PEEK[TEXT]
fetchmail: IMAP< * 1 FETCH (BODY[TEXT] {9}
 (9 body octets) ***
fetchmail: IMAP< )
fetchmail: IMAP< A0010 OK FETCH completed
fetchmail: SMTP>. (EOM)
fetchmail: SMTP< 250 2.0.0 i555oSq04894 Message accepted for delivery
 flushed
fetchmail: IMAP> A0011 STORE 1 +FLAGS (\Seen \Deleted)
fetchmail: IMAP< * 1 FETCH (FLAGS (\Recent \Seen \Deleted))
fetchmail: IMAP< A0011 OK STORE completed
fetchmail: IMAP> A0012 EXPUNGE
fetchmail: IMAP< * 1 EXPUNGE
fetchmail: IMAP< * NO Mailbox vulnerable - directory /var/mail must have
1777 protection
fetchmail: IMAP< * 1 EXISTS
fetchmail: IMAP< * 1 RECENT
fetchmail: IMAP< A0012 OK Expunged 1 messages
fetchmail: IMAP> A0013 FETCH 1 RFC822.HEADER
fetchmail: IMAP< * 1 FETCH (RFC822.HEADER {284}
reading message usha@::ffff:172.16.1.178:2 of 2 (284 header octets)
fetchmail: SMTP> MAIL FROM:<[EMAIL PROTECTED]> SIZE=303
fetchmail: SMTP< 250 2.1.0 <[EMAIL PROTECTED]>... Sender ok
fetchmail: SMTP> RCPT TO:<[EMAIL PROTECTED]>
fetchmail: SMTP< 250 2.1.5 <[EMAIL PROTECTED]>... Recipient ok
fetchmail: SMTP> DATA
fetchmail: SMTP< 354 Enter mail, end with "." on a line by itself
#
fetchmail: IMAP< )
fetchmail: IMAP< A0013 OK FETCH completed
fetchmail: IMAP> A0014 FETCH 1 BODY.PEEK[TEXT]
fetchmail: IMAP< * 1 FETCH (BODY[TEXT] {19}
 (19 body octets) **
fetchmail: IMAP< )
fetchmail: IMAP< * 2 EXISTS
fetchmail: IMAP< * 2 RECENT
fetchmail: IMAP< A0014 OK FETCH completed
fetchmail: SMTP>. (EOM)
fetchmail: SMTP< 250 2.0.0 i555oSq04897 Message accepted for delivery
 flushed
fetchmail: IMAP> A0015 STORE 1 +FLAGS (\Seen \Deleted)
fetchmail: IMAP< * 1 FETCH (FLAGS (\Recent \Seen \Deleted))
fetchmail: IMAP< A0015 OK STORE completed
fetchmail: IMAP> A0016 EXPUNGE
fetchmail: IMAP< * 1 EXPUNGE
fetchmail: IMAP< * NO Mailbox vulnerable - directory /var/mail must have
1777 protection
fetchmail: IMAP< * 1 EXISTS
fetchmail: IMAP< * 1 RECENT
fetchmail: IMAP< A0016 OK Expunged 1 messages
fetchmail: IMAP> A0017 SEARCH UNSEEN NOT DELETED
fetchmail: IMAP< * SEARCH 1
fetchmail: IMAP< A0017 OK SEARCH completed
1 message for usha at 172.16.1.178.
fetchmail: IMAP> A0018 FETCH 1 RFC822.SIZE
fetchmail: IMAP< * 1 FETCH (RFC822.SIZE 965)
fetchmail: IMAP< A0018 OK FETCH completed
fetchmail: IMAP> A0019 FETCH 1 RFC822.HEADER
fetchmail: IMAP< * 1 FETCH (RFC822.HEADER {956}
reading message usha@::ffff:172.16.1.178:1 of 1 (956 header octets)
fetchmail: SMTP> MAIL FROM:<[EMAIL PROTECTED]> SIZE=965
fetchmail: SMTP< 250 2.1.0 <[EMAIL PROTECTED]>... Sender ok
fetchmail: SMTP> RCPT TO:<[EMAIL PROTECTED]>
fetchmail: SMTP< 250 2.1.5 <[EMAIL PROTECTED]>... Recipient ok
fetchmail: SMTP> DATA
fetchmail: SMTP< 354 Enter mail, end with "." on a line by itself
#
fetchmail: IMAP< )
fetchmail: IMAP< A0019 OK FETCH completed
fetchmail: IMAP> A0020 FETCH 1 BODY.PEEK[TEXT]
fetchmail: IMAP< * 1 FETCH (BODY[TEXT] {9}
 (9 body octets) ***
fetchmail: IMAP< )
fetchmail: IMAP< * 2 EXISTS
fetchmail: IMAP< * 2 RECENT
fetchmail: IMAP< A0020 OK FETCH completed
fetchmail: SMTP>. (EOM)
fetchmail: SMTP< 250 2.0.0 i555oSq04900 Message accepted for delivery
 flushed
fetchmail: IMAP> A0021 STORE 1 +FLAGS (\Seen \Deleted)
fetchmail: IMAP< * 1 FETCH (FLAGS (\Recent \Seen \Deleted))
fetchmail: IMAP< A0021 OK STORE completed
fetchmail: IMAP> A0022 EXPUNGE
fetchmail: IMAP< * 1 EXPUNGE
fetchmail: IMAP< * NO Mailbox vulnerable - directory /var/mail must have
1777 protection
fetchmail: IMAP< * 1 EXISTS
fetchmail: IMAP< * 1 RECENT
fetchmail: IMAP< A0022 OK Expunged 1 messages
fetchmail: IMAP> A0023 SEARCH UNSEEN NOT DELETED
fetchmail: IMAP< * SEARCH 1
fetchmail: IMAP< A0023 OK SEARCH completed
1 message for usha at 172.16.1.178.
fetchmail: IMAP> A0024 FETCH 1 RFC822.SIZE
fetchmail: IMAP< * 1 FETCH (RFC822.SIZE 639)
fetchmail: IMAP< A0024 OK FETCH completed
fetchmail: IMAP> A0025 FETCH 1 RFC822.HEADER
fetchmail: IMAP< * 1 FETCH (RFC822.HEADER {620}
reading message usha@::ffff:172.16.1.178:1 of 1 (620 header octets)
fetchmail: SMTP> MAIL FROM:<[EMAIL PROTECTED]> SIZE=639
fetchmail: SMTP< 250 2.1.0 <[EMAIL PROTECTED]>... Sender ok
fetchmail: SMTP> RCPT TO:<[EMAIL PROTECTED]>
fetchmail: SMTP< 250 2.1.5 <[EMAIL PROTECTED]>... Recipient ok
fetchmail: SMTP> DATA
fetchmail: SMTP< 354 Enter mail, end with "." on a line by itself
#
fetchmail: IMAP< )
fetchmail: IMAP< A0025 OK FETCH completed
fetchmail: IMAP> A0026 FETCH 1 BODY.PEEK[TEXT]
fetchmail: IMAP< * 1 FETCH (BODY[TEXT] {19}
 (19 body octets) **
fetchmail: IMAP< )
fetchmail: IMAP< A0026 OK FETCH completed
fetchmail: SMTP>. (EOM)
fetchmail: SMTP< 250 2.0.0 i555oTq04903 Message accepted for delivery
 flushed
fetchmail: IMAP> A0027 STORE 1 +FLAGS (\Seen \Deleted)
fetchmail: IMAP< * 1 FETCH (FLAGS (\Recent \Seen \Deleted))
fetchmail: IMAP< A0027 OK STORE completed
fetchmail: IMAP> A0028 EXPUNGE
fetchmail: IMAP< * 1 EXPUNGE
fetchmail: IMAP< * NO Mailbox vulnerable - directory /var/mail must have
1777 protection
fetchmail: IMAP< * 0 EXISTS
fetchmail: IMAP< * 0 RECENT
fetchmail: IMAP< A0028 OK Expunged 1 messages
fetchmail: IMAP> A0029 LOGOUT
fetchmail: IMAP< * BYE pallava.kovaiteam.com IMAP4rev1 server terminating
connection
fetchmail: IMAP< A0029 OK LOGOUT completed
fetchmail: 6.2.5 querying 172.16.1.178 (protocol IMAP) at Sat Jun  5
11:20:29 2004: poll completed
fetchmail: 6.2.5 querying 172.16.1.178 (protocol auto) at Sat Jun  5
11:20:29 2004: poll completed
fetchmail: SMTP> QUIT
fetchmail: SMTP< 221 2.0.0 pallava.kovaiteam.com closing connection
fetchmail: normal termination, status 0


rgds
Usha





---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.572 / Virus Database: 362 - Release Date: 1/27/2004