From owner-freebsd-questions Thu Mar 7 21:36: 9 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.mango-bay.com (mail.mango-bay.com [208.206.15.12]) by hub.freebsd.org (Postfix) with ESMTP id CA1E937B416 for ; Thu, 7 Mar 2002 21:35:44 -0800 (PST) Received: from barbish ([63.70.155.37]) by mail.mango-bay.com (Post.Office MTA v3.5.3 release 223 ID# 0-52377U2500L250S0V35) with SMTP id com; Fri, 8 Mar 2002 00:40:36 -0500 From: "Joe & Fhe Barbish" To: "Tom Kersten" Cc: "FBSDQ" Subject: RE: Is fetchmail with Cox possible????? Date: Fri, 8 Mar 2002 00:35:39 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal In-Reply-To: <20020308043546.67378.qmail@web10005.mail.yahoo.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Tom I think you have problem with your ISP mail box. The following is what it is to look like. Script started on Fri Mar 8 00:17:08 2002 # /usr/home/barbish> /usr/local/bin/fetchmail -v -c fetchmail: 5.9.6 querying mail.manbay.com (protocol POP3) at Fri Mar 8 00:18:12 2002: poll started fetchmail: POP3< +OK mail.manbay.com POP3 server (Post.Office v3.5.3 release 223 with ZPOP version 1.0 ID# 0-52377U2500L250S0V35) ready Fri, 8 Mar 2002 00:22:35 -0500 fetchmail: POP3> USER barbish fetchmail: POP3< +OK Password required for barbish fetchmail: POP3> PASS * fetchmail: POP3< +OK Maildrop has 1 messages (6287 octets) fetchmail: POP3> STAT fetchmail: POP3< +OK 1 6287 fetchmail: POP3> LAST fetchmail: POP3< +OK 0 1 message for barbish at mail.manbay.com (6287 octets). fetchmail: POP3> QUIT fetchmail: POP3< +OK mail.manbay.com POP3 server closing connection fetchmail: 5.9.6 querying mail.manbay.com (protocol POP3) at Fri Mar 8 00:18:16 2002: poll completed fetchmail: normal termination, status 0 # / >cd /root # /root >more .fetchmailrc set postmaster "barbish" #set daemon 300 set no bouncemail #set logfile /var/log/fetchmail.log poll mail.manbay.com proto pop3 user "barbish" pass "xxxxxx" # mda /usr/local/sbin/postfix You get this doing the same thing thomas@www:/home/thomas> fetchmail -v -c Enter password for thomas@mydomain.com@smtp.west.cox.net: fetchmail: 5.9.6 querying smtp.west.cox.net (protocol POP3) at Thu Mar 7 21:17:52 2002: poll started fetchmail: 5.9.6 querying smtp.west.cox.net (protocol POP3) at Thu Mar 7 21:19:07 2002: poll completed fetchmail: normal termination, status 2 The status 2 is not the count of email in your ISP mail account, I think it is a return code. And not a good one. 2 An error was encountered when attempting to open a socket to retrieve mail. If you don't know what a socket is, don't worry about it -- just treat this as an 'unrecoverable error'. This error can also be because a protocol fetchmail wants to use is not listed in /etc/services. http://www.tuxedo.org/~esr/fetchmail/fetchmail-man.html#30 You should check out the fetchmail manual. Now you are making headway. -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Tom Kersten Sent: Thursday, March 07, 2002 11:36 PM To: Joe & Fhe Barbish; Andreas Ntaflos; bill@wiliweld.com Cc: FBSDQ Subject: RE: Is fetchmail with Cox possible????? --- Joe & Fhe Barbish wrote: > Run a test fetchmail -v -c -c means do nothing > but check isp mail account > and return count of number of email. Be sure to > remove the mda stuff from > the poll statement in .fetchmailrc first. If that > works the put the mda > back as mda "/user/local/sbin/sendmail" and this > time use fetchmail -v -k > And no set daemon statement in .fetchmailrc. Let me > know the results. > > Everyone who is helping, OK...we are getting somewhere...just a little comment will fix this one i think....here is my *new* ~/.fetchmailrc file: ******************start #set daemon 300 poll smtp.west.cox.net with protocol POP3: user thomas@whitespur.com there is thomas here #mda "/usr/local/bin/procmail -f - " ******************finish Now, this is what happens when I run fetchmail -v -c: *******start And this is what happens when I run fetchmail -a ********start thomas@www:/home/thomas> fetchmail -v -c Enter password for thomas@mydomain.com@smtp.west.cox.net: fetchmail: 5.9.6 querying smtp.west.cox.net (protocol POP3) at Thu Mar 7 21:17:52 2002: poll started fetchmail: 5.9.6 querying smtp.west.cox.net (protocol POP3) at Thu Mar 7 21:19:07 2002: poll completed fetchmail: normal termination, status 2 *****finish Whohooo!! It looks (to me) like it is returning 2 messages, which is the number of messages in my mailbox. But...when I type "mail" I get "no mail for thomas".....I don't know, but I am assuming this is because nothing is delivering it to me (ie-sendmail, procmail, etc)...but this is new territory for me. Now, I am going to change back to using "sendmail" because it says that procmail is not always reliable in the man page...I need all the reliability I can get...so here is my *new new* ~/.fetchmailrc file.... *************start******** #set daemon 300 poll smtp.west.cox.net with protocol POP3: user thomas@whitespur.com there is thomas here mda "/usr/sbin/sendmail" ***********finish********** NOTE-I have tried the mda line w/ & w/o the quotes around the path...same results Now I try this.... ********start******** thomas@www:/home/thomas> fetchmail -v -a --all Enter password for thomas@mydomain.com@smtp.west.cox.net: fetchmail: 5.9.6 querying smtp.west.cox.net (protocol POP3) at Thu Mar 7 21:32:04 2002: poll started fetchmail: 5.9.6 querying smtp.west.cox.net (protocol POP3) at Thu Mar 7 21:33:19 2002: poll completed fetchmail: Query status=2 (SOCKET) fetchmail: normal termination, status 2 ********finish******* It appears to be successful (to me), but when I type "mail" again....still "no mail for thomas"---where is it going???? How do I deliver it??? This has to be the last leg? Or maybe we have solve nothing....let me know........ Thomas > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG]On > Behalf Of Andreas Ntaflos > Sent: Thursday, March 07, 2002 5:45 PM > To: Tom Kersten > Cc: freebsd-questions@freebsd.org > Subject: Re: Is fetchmail with Cox possible????? > > On Thu, Mar 07, 2002 at 02:31:40PM -0800, Tom > Kersten wrote: > > > > --- Bill Schoolcraft wrote: > > > At Thu, 7 Mar 2002 it looks like Tom Kersten > > > composed: > > > > > > > set daemon 300 > > > > > > > > poll smtp.west.cox.net with protocol POP3: > > > > > > > > user thomas@mydomain.com there is thomas here > mda > > > > "/usr/local/bin/procmail -f - " > > > > > > > > I didn't have procmail > > installed........wow........anyway, that didn't > seem > > to solve my problem. I was using sendmail before > as my > > mda...which is better???? also, any other ideas? I > > just can't seem to figure this out... > > > > thomas > > **************deleted for redundancy avoidance******* __________________________________________________ Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email! http://mail.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message