fetchmail gmail setup problem

Jude DaShiell jdashiel at shellworld.net
Mon Feb 7 09:52:31 UTC 2011

I fixed the sslcertpath in my .fetchmailrc file.  That made no change in 
the error I get.
Script started on Mon 07 Feb 2011 03:47:51 AM EST
jude at md:~$ fetchmail --version
This is fetchmail release 6.3.17+SSL+NLS.

Copyright (C) 2002, 2003 Eric S. Raymond
Copyright (C) 2004 Matthias Andree, Eric S. Raymond,
                   Robert M. Funk, Graham Wilson
Copyright (C) 2005 - 2006, 2010 Sunil Shetye
Copyright (C) 2005 - 2010 Matthias Andree
Fetchmail comes with ABSOLUTELY NO WARRANTY. This is free software, and you
are welcome to redistribute it under certain conditions. For details,
please see the file COPYING in the source or documentation directory.

Fallback MDA: (none)
Linux md #5 Mon Aug 17 02:05:51 CDT 2009 i686 AMD Athlon(tm) 64 Processor 3400+ AuthenticAMD GNU/Linux
Taking options from command line and /home/jude/.fetchmailrc
Idfile is /home/jude/.fetchids
Fetchmail will forward misaddressed multidrop messages to jude.
Options for retrieving from jdashiel at imap.gmail.com:
  True name of server is imap.gmail.com.
  Protocol is IMAP.
  All available authentication methods will be tried.
  SSL encrypted sessions enabled.
  SSL server certificate checking enabled.
  SSL trusted certificate directory: /etc/ssl/certs/
  Server nonresponse timeout is 300 seconds (default).
  Default mailbox selected.
  Only new messages will be retrieved (--all off).
  Fetched messages will not be kept on the server (--keep off).
  Old messages will not be flushed before message retrieval (--flush off).
  Oversized messages will not be flushed before message retrieval (--limitflush off).
  Rewrite of server-local addresses is enabled (--norewrite off).
  Carriage-return stripping is enabled (stripcr on).
  Carriage-return forcing is disabled (forcecr off).
  Interpretation of Content-Transfer-Encoding is enabled (pass8bits off).
  MIME decoding is disabled (mimedecode off).
  Idle after poll is disabled (idle off).
  Nonempty Status lines will be kept (dropstatus off)
  Delivered-To lines will be kept (dropdelivered off)
  Fetch message size limit is 100 (--fetchsizelimit 100).
  Do binary search of UIDs during 3 out of 4 polls (--fastuidl 4).
  Messages will be delivered with "/usr/bin/procmail -d %T".
  Single-drop mode: 1 local name recognized.
  No UIDs saved from this host.
jude at md:~$ cat fetchmail.txt
poll imap.gmail.com
with proto imap
user 'jdashiel'
there with password 'mypass'
is 'jude' here
mda "/usr/bin/procmail -d %T"
no keep
sslcertpath /etc/ssl/certs/
jude at md:~$ lsc/etc/ssl/certs/
gmail.crt  google.crt
jude at md:~$ fetchmail
fetchmail: Server certificate verification error: unable to get local issuer certificate
fetchmail: This means that the root signing certificate (issued for /C=US/O=Google Inc/CN=Google Internet Authority) is not in the trusted CA certificate locations, or that c_rehash needs to be run on the certificate directory. For details, please see the documentation of --sslcertpath and --sslcertfile in the manual page.
4064:error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed:s3_clnt.c:984:
fetchmail: SSL connection failed.
fetchmail: socket error while fetching from jdashiel at imap.gmail.com
fetchmail: Query status=2 (SOCKET)
jude at md:~$ exit

Script done on Mon 07 Feb 2011 03:50:07 AM EST

More information about the Blinux-list mailing list