New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

[SOLVED] fetchmail question

Got problems with your B2 or B3? Share and get helped!
Post Reply
dmpop
Posts: 14
Joined: 19 Sep 2008, 09:19

[SOLVED] fetchmail question

Post by dmpop »

Hello,

I'm trying to make fetchmail to fetch messages from my Gmail account. Here is my .fetchmailrc file:

Code: Select all

poll pop.gmail.com with proto POP3 and options no dns
user 'user@gmail.com' there with password 'password' is
'dmpop' here options keep ssl
When I run the fetchmail -v command, everything seems to work fine, but the /var/spool/mail directory remains empty. Here is fetchmail's output:

Code: Select all

dmpop@bubba:~$ fetchmail -v
fetchmail: 6.3.6 querying pop.gmail.com (protocol POP3) at Tue 07 Sep 2010 02:43:04 PM CEST: poll started
Trying to connect to 74.125.79.109/995...connected.
fetchmail: Issuer Organization: Google Inc
fetchmail: Issuer CommonName: Google Internet Authority
fetchmail: Server CommonName: pop.gmail.com
fetchmail: pop.gmail.com key fingerprint: 6B:C4:63:05:87:1E:72:88:ED:81:C5:A2:51:6B:B7:B6
fetchmail: POP3< +OK Gpop ready for requests from 87.57.173.186 p16pf10087265eeh.35
fetchmail: POP3> CAPA
fetchmail: POP3< +OK Capability list follows
fetchmail: POP3< USER
fetchmail: POP3< RESP-CODES
fetchmail: POP3< EXPIRE 0
fetchmail: POP3< LOGIN-DELAY 300
fetchmail: POP3< X-GOOGLE-VERHOEVEN
fetchmail: POP3< UIDL
fetchmail: POP3< .
fetchmail: POP3> USER writertools@gmail.com
fetchmail: POP3< +OK send PASS
fetchmail: POP3> PASS *
fetchmail: POP3< +OK Welcome.
fetchmail: POP3> STAT
fetchmail: POP3< +OK 1 2836
fetchmail: POP3> LAST
fetchmail: POP3< -ERR Not supported
fetchmail: Not supported
fetchmail: POP3> UIDL
fetchmail: POP3< +OK
fetchmail: POP3< 1 GmailId12aec3859dd8af27
fetchmail: POP3< .
1 message for writertools@gmail.com at pop.gmail.com (2836 octets).
fetchmail: POP3> LIST 1
fetchmail: POP3< +OK 1 2836
fetchmail: POP3> RETR 1
fetchmail: POP3< +OK message follows
reading message writertools@gmail.com@pop.gmail.com:1 of 1 (2836 octets)
Trying to connect to 127.0.0.1/25...connected.
fetchmail: SMTP< 220 bubba.localdomain ESMTP Postfix (Debian/GNU)
fetchmail: SMTP> EHLO bubba
fetchmail: SMTP< 250-bubba.localdomain
fetchmail: SMTP< 250-PIPELINING
fetchmail: SMTP< 250-SIZE 10240000
fetchmail: SMTP< 250-ETRN
fetchmail: SMTP< 250-STARTTLS
fetchmail: SMTP< 250-ENHANCEDSTATUSCODES
fetchmail: SMTP< 250-8BITMIME
fetchmail: SMTP< 250 DSN
fetchmail: SMTP> MAIL FROM:<dmpop9mm@yahoo.com> SIZE=2836
fetchmail: SMTP< 250 2.1.0 Ok
fetchmail: SMTP> RCPT TO:<dmpop@localhost>
fetchmail: SMTP< 250 2.1.5 Ok
fetchmail: SMTP> DATA
fetchmail: SMTP< 354 End data with <CR><LF>.<CR><LF>
#***fetchmail: SMTP>. (EOM)
fetchmail: SMTP< 250 2.0.0 Ok: queued as 4CFE1FF175
 not flushed
fetchmail: POP3> QUIT
fetchmail: POP3< +OK Farewell.
fetchmail: SMTP> QUIT
fetchmail: SMTP< 221 2.0.0 Bye
fetchmail: 6.3.6 querying pop.gmail.com (protocol POP3) at Tue 07 Sep 2010 02:43:06 PM CEST: poll completed
fetchmail: normal termination, status 0
Am I doing something wrong? Thanks!
dmpop
Posts: 14
Joined: 19 Sep 2008, 09:19

Re: [SOLVED] fetchmail question

Post by dmpop »

Aha! The email is actually delivered to /home/USER/mail Better yet, I can then use Bubba's built-in Webmail to view the fetched emails. Thanks to helpful people at Excito who helped to sort this out.
Post Reply