fetchmailrc not working
Admin
admin at enabled.com
Sat Jul 18 17:08:20 UTC 2009
Jay Daniels wrote:
> On Sat, 2009-07-18 at 00:05 -0700, Admin wrote:
>> Jay Daniels wrote:
>>> On Fri, 2009-07-17 at 14:40 -0700, Admin wrote:
>>>> Hi there,
>>>>
>>>> can somebody let me know the entire steps required to configuration
>>>> fetchmail to pull mail from google? Any clues on how to get this to work?
>>>>
>>>> I am still unable to get it to work:
>>>>
>>>> here is my configuration:
>>>>
>>>> poll pop.gmail.com uidl proto pop3 port 995 auth password user
>>>> "user at gmail.com" there with password "password" nokeep no fetchall
>>>> ssl sslcertpath /etc/ssl/certs/
>>>> ~$ /usr/bin/fetchmail -k -s
>>>> fetchmail: Server certificate verification error: unable to get local
>>>> issuer certificate
>>>> fetchmail: Server certificate verification error: certificate not trusted
>>>> fetchmail: Server certificate verification error: unable to verify the
>>>> first certificate
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>> I could not find ssl certs for bluehost, so i did...
>>>
>>> removed the path to the certs and also remove sslcertpath and leave ssl
>>>
>>> Works though the ssl certs are not verified.
>>>
>>>
>>>
>>> jay d.
>>
>> Hi Jay,
>>
>> something still is not working for me. I removed the sslcertpath and
>> then in response to an error I removed the '/home/user/.certs'
>> directive. And still I have an error.
>>
>> See the log:
>>
>> user at enabled:~$ emacs .fetchmailrc
>> user at enabled:~$ /usr/bin/fetchmail -k -s
>> fetchmail:/home/user/.fetchmailrc:20: syntax error at /home/user/.certs
>> user at enabled:~$ cat .fetchmailrc
>> # Configuration created Wed Jul 4 14:43:14 2001 by fetchmailconf
>> set postmaster "user"
>> set bouncemail
>> #set no spambounce
>> set properties ""
>> #set daemon 5
>>
>> poll pop.gmail.com uidl proto pop3 port 995 auth password user
>> "user at gmail.com" there with password "password" nokeep no fetchall
>> ssl /home/user/.certs
>>
>>
>> user at enabled:~$ /usr/bin/fetchmail -k -s
>> fetchmail: Server certificate verification error: unable to get local
>> issuer certificate
>> fetchmail: Server certificate verification error: certificate not trusted
>> fetchmail: Server certificate verification error: unable to verify the
>> first certificate
>> user at enabled:~$ cat .fetchmailrc
>> # Configuration created Wed Jul 4 14:43:14 2001 by fetchmailconf
>> set postmaster "user"
>> set bouncemail
>> #set no spambounce
>> set properties ""
>> #set daemon 5
>>
>>
>> #poll pop.gmail.com proto pop3 port 995 user user at gmail.com is 'user'
>> here password 'password' ssl
>>
>> poll pop.gmail.com uidl proto pop3 port 995 auth password user
>> "user at gmail.com" there with password "password" nokeep no fetchall
>> ssl
>>
>>
>>
>
>
> Made sure ssl is on a separate line by itself below the poll line.
>
> man fetchmailrc
>
> user options are way down the man page.
>
> mine generated by fetchmailconf and works with bluehost. many others
> with gmail are on google.
>
>
>
> jay d.
the ssl directive is on a separate line in the .fetchmailrc
how does fetchmail decide where to Place incoming pop'ed mail?
$ cat .fetchmailrc
# Configuration created Wed Jul 4 14:43:14 2001 by fetchmailconf
set bouncemail
set properties ""
poll pop.gmail.com uidl proto pop3 port 995 auth password user
"username at gmail.com" there with password "(KP800st" nokeep no fetchall
ssl
Old UID list from pop.gmail.com: GmailId1227664b01af00f0
GmailId1227ab38a0c99f03 GmailId1227b57e11219c67 GmailId1227b6d1567eb8d3
GmailId1227c6eaddaa5777 GmailId1227c9e7b358b9bd GmailId1227ef498b186c7c
GmailId1227ef499abba7c7 GmailId1227fd9ec124dcb9 GmailId122800ef0bf0a843
GmailId122806ee264dae0a GmailId12283c297221386b GmailId1228582ca622935c
GmailId1228583b621b1603 GmailId12289ff047fa0bf6 GmailId1228bc3175d0f6ec
GmailId1228bc3179ff241a GmailId1228bc3224f2f7a8 GmailId1228bc323c2248f3
GmailId1228bc3288bee0ce GmailId1228bc5c038ff4a3 GmailId1228e6b97c376d8c
GmailId1228eb36d480eb67 GmailId1228eb3b3eaa9f44 <empty>
Scratch list of UIDs: <empty>
fetchmail: 6.3.8 querying pop.gmail.com (protocol POP3) at Sat Jul 18
09:46:21 2009: poll started
Trying to connect to 209.85.133.109/995...connected.
fetchmail: Issuer Organization: Equifax
fetchmail: Unknown Issuer CommonName
fetchmail: Server CommonName: pop.gmail.com
fetchmail: pop.gmail.com key fingerprint:
44:A8:E9:2C:FB:A9:7E:6D:F9:DB:F3:62:B2:9E:F1:A9
fetchmail: POP3< +OK Gpop ready for requests from 174.143.253.66
c1pf2778ana.32
fetchmail: POP3> USER username at gmail.com
fetchmail: POP3< +OK send PASS
fetchmail: POP3> PASS *
fetchmail: POP3< +OK Welcome.
fetchmail: selecting or re-polling default folder
fetchmail: POP3> STAT
fetchmail: POP3< +OK 24 210868
fetchmail: POP3> UIDL
fetchmail: POP3< +OK
fetchmail: POP3< 1 GmailId1227664b01af00f0
fetchmail: POP3< 2 GmailId1227ab38a0c99f03
fetchmail: POP3< 3 GmailId1227b57e11219c67
fetchmail: POP3< 4 GmailId1227b6d1567eb8d3
fetchmail: POP3< 5 GmailId1227c6eaddaa5777
fetchmail: POP3< 6 GmailId1227c9e7b358b9bd
fetchmail: POP3< 7 GmailId1227ef498b186c7c
fetchmail: POP3< 8 GmailId1227ef499abba7c7
fetchmail: POP3< 9 GmailId1227fd9ec124dcb9
fetchmail: POP3< 10 GmailId122800ef0bf0a843
fetchmail: POP3< 11 GmailId122806ee264dae0a
fetchmail: POP3< 12 GmailId12283c297221386b
fetchmail: POP3< 13 GmailId1228582ca622935c
fetchmail: POP3< 14 GmailId1228583b621b1603
fetchmail: POP3< 15 GmailId12289ff047fa0bf6
fetchmail: POP3< 16 GmailId1228bc3175d0f6ec
fetchmail: POP3< 17 GmailId1228bc3179ff241a
fetchmail: POP3< 18 GmailId1228bc3224f2f7a8
fetchmail: POP3< 19 GmailId1228bc323c2248f3
fetchmail: POP3< 20 GmailId1228bc3288bee0ce
fetchmail: POP3< 21 GmailId1228bc5c038ff4a3
fetchmail: POP3< 22 GmailId1228e6b97c376d8c
fetchmail: POP3< 23 GmailId1228eb36d480eb67
fetchmail: POP3< 24 GmailId1228eb3b3eaa9f44
fetchmail: POP3< .
24 messages (24 seen) for username at gmail.com at pop.gmail.com (210868
octets).
skipping message username at gmail.com@gmail-pop.l.google.com:1 not flushed
skipping message username at gmail.com@gmail-pop.l.google.com:2 not flushed
skipping message username at gmail.com@gmail-pop.l.google.com:3 not flushed
skipping message username at gmail.com@gmail-pop.l.google.com:4 not flushed
skipping message username at gmail.com@gmail-pop.l.google.com:5 not flushed
skipping message username at gmail.com@gmail-pop.l.google.com:6 not flushed
skipping message username at gmail.com@gmail-pop.l.google.com:7 not flushed
skipping message username at gmail.com@gmail-pop.l.google.com:8 not flushed
skipping message username at gmail.com@gmail-pop.l.google.com:9 not flushed
skipping message username at gmail.com@gmail-pop.l.google.com:10 not flushed
skipping message username at gmail.com@gmail-pop.l.google.com:11 not flushed
skipping message username at gmail.com@gmail-pop.l.google.com:12 not flushed
skipping message username at gmail.com@gmail-pop.l.google.com:13 not flushed
skipping message username at gmail.com@gmail-pop.l.google.com:14 not flushed
skipping message username at gmail.com@gmail-pop.l.google.com:15 not flushed
skipping message username at gmail.com@gmail-pop.l.google.com:16 not flushed
skipping message username at gmail.com@gmail-pop.l.google.com:17 not flushed
skipping message username at gmail.com@gmail-pop.l.google.com:18 not flushed
skipping message username at gmail.com@gmail-pop.l.google.com:19 not flushed
skipping message username at gmail.com@gmail-pop.l.google.com:20 not flushed
skipping message username at gmail.com@gmail-pop.l.google.com:21 not flushed
skipping message username at gmail.com@gmail-pop.l.google.com:22 not flushed
skipping message username at gmail.com@gmail-pop.l.google.com:23 not flushed
skipping message username at gmail.com@gmail-pop.l.google.com:24 not flushed
fetchmail: POP3> QUIT
fetchmail: POP3< +OK Farewell.
fetchmail: 6.3.8 querying pop.gmail.com (protocol POP3) at Sat Jul 18
09:46:21 2009: poll completed
New UID list from pop.gmail.com: GmailId1227664b01af00f0 = 1
GmailId1227ab38a0c99f03 = 1 GmailId1227b57e11219c67 = 1
GmailId1227b6d1567eb8d3 = 1 GmailId1227c6eaddaa5777 = 1
GmailId1227c9e7b358b9bd = 1 GmailId1227ef498b186c7c = 1
GmailId1227ef499abba7c7 = 1 GmailId1227fd9ec124dcb9 = 1
GmailId122800ef0bf0a843 = 1 GmailId122806ee264dae0a = 1
GmailId12283c297221386b = 1 GmailId1228582ca622935c = 1
GmailId1228583b621b1603 = 1 GmailId12289ff047fa0bf6 = 1
GmailId1228bc3175d0f6ec = 1 GmailId1228bc3179ff241a = 1
GmailId1228bc3224f2f7a8 = 1 GmailId1228bc323c2248f3 = 1
GmailId1228bc3288bee0ce = 1 GmailId1228bc5c038ff4a3 = 1
GmailId1228e6b97c376d8c = 1 GmailId1228eb36d480eb67 = 1
GmailId1228eb3b3eaa9f44 = 1 <empty>
fetchmail: swapping UID lists
fetchmail: Query status=1 (NOMAIL)
fetchmail: Writing fetchids file.
fetchmail: normal termination, status 1
fetchmail: Writing fetchids file.
More information about the ubuntu-users
mailing list