LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-26-2013, 08:14 AM   #1
bensons
LQ Newbie
 
Registered: Nov 2013
Posts: 5

Rep: Reputation: Disabled
Fetchmail not working


here is the output of the command fetchmail -v

[root@mails ~]# fetchmail -v
fetchmail: WARNING: Running as root is discouraged.
fetchmail:/root/.fetchmailrc:8: syntax error at sslcertck!
[root@mails ~]# vim .fetchmailrc
[root@mails ~]# fetchmail -v
fetchmail: WARNING: Running as root is discouraged.
fetchmail: 6.3.22 querying exam.com (protocol POP3) at Tue 26 Nov 2013 02:41:33 PM WAT: poll started
fetchmail: couldn't find canonical DNS name of exam.com (exam.com): No address associated with hostname
fetchmail: 6.3.22 querying exam.com (protocol POP3) at Tue 26 Nov 2013 02:41:33 PM WAT: poll completed
fetchmail: Query status=11 (DNS)
fetchmail: 6.3.22 querying mail.exam.com (protocol auto) at Tue 26 Nov 2013 02:41:33 PM WAT: poll started
fetchmail: 6.3.22 querying mail.exam.com (protocol IMAP) at Tue 26 Nov 2013 02:41:33 PM WAT: poll started
Trying to connect to 192.185.8.218/143...connected.
fetchmail: IMAP< * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
fetchmail: IMAP> A0001 CAPABILITY
fetchmail: IMAP< * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS QUOTA STARTTLS AUTH=PLAIN AUTH=LOGIN
fetchmail: IMAP< A0001 OK Capability completed.
fetchmail: IMAP> A0002 STARTTLS
fetchmail: IMAP< A0002 OK Begin TLS negotiation now.
fetchmail: Server certificate:
fetchmail: Issuer Organization: COMODO CA Limited
fetchmail: Issuer CommonName: PositiveSSL CA 2
fetchmail: Subject CommonName: *.websitewelcome.com
fetchmail: Subject Alternative Name: *.websitewelcome.com
fetchmail: Subject Alternative Name: websitewelcome.com
fetchmail: Server CommonName mismatch: *.websitewelcome.com != mail.exam.com
fetchmail: mail.exam.com key fingerprint: 94:F3:9F:EC:B7:A1D:10:92:15:37:F6:CC:73:63:34
fetchmail: Warning: the connection is insecure, continuing anyways. (Better use --sslcertck!)
fetchmail: IMAP> A0003 CAPABILITY
fetchmail: IMAP< * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS QUOTA AUTH=PLAIN AUTH=LOGIN
fetchmail: IMAP< A0003 OK Capability completed.
fetchmail: mail.exam.com: upgrade to TLS succeeded.
fetchmail: IMAP> A0004 LOGIN "user3" *
fetchmail: IMAP< A0004 NO [AUTHENTICATIONFAILED] Authentication failed.
fetchmail: Authorization failure on user3@exam.com
fetchmail: For help, see http://www.fetchmail.info/fetchmail-FAQ.html#R15
fetchmail: IMAP> A0005 LOGOUT
fetchmail: IMAP< * BYE Logging out
fetchmail: IMAP< A0005 OK Logout completed.
fetchmail: 6.3.22 querying mail.exam.com (protocol IMAP) at Tue 26 Nov 2013 02:41:52 PM WAT: poll completed
fetchmail: 6.3.22 querying mail.exam.com (protocol auto) at Tue 26 Nov 2013 02:41:52 PM WAT: poll completed
fetchmail: Query status=3 (AUTHFAIL)
fetchmail: 6.3.22 querying mail.exam.com (protocol auto) at Tue 26 Nov 2013 02:41:52 PM WAT: poll started
fetchmail: 6.3.22 querying mail.exam.com (protocol IMAP) at Tue 26 Nov 2013 02:41:52 PM WAT: poll started
Trying to connect to 192.185.8.218/143...connected.
fetchmail: IMAP< * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
fetchmail: IMAP> A0001 CAPABILITY
fetchmail: IMAP< * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS QUOTA STARTTLS AUTH=PLAIN AUTH=LOGIN
fetchmail: IMAP< A0001 OK Capability completed.
fetchmail: IMAP> A0002 STARTTLS
fetchmail: IMAP< A0002 OK Begin TLS negotiation now.
fetchmail: Server certificate:
fetchmail: Issuer Organization: COMODO CA Limited
fetchmail: Issuer CommonName: PositiveSSL CA 2
fetchmail: Subject CommonName: *.websitewelcome.com
fetchmail: Subject Alternative Name: *.websitewelcome.com
fetchmail: Subject Alternative Name: websitewelcome.com
fetchmail: Server CommonName mismatch: *.websitewelcome.com != mail.exam.com
fetchmail: mail.exam.com key fingerprint: 94:F3:9F:EC:B7:A1D:10:92:15:37:F6:CC:73:63:34
fetchmail: Warning: the connection is insecure, continuing anyways. (Better use --sslcertck!)
fetchmail: IMAP> A0003 CAPABILITY
fetchmail: IMAP< * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS QUOTA AUTH=PLAIN AUTH=LOGIN
fetchmail: IMAP< A0003 OK Capability completed.
fetchmail: mail.exam.com: upgrade to TLS succeeded.
fetchmail: IMAP> A0004 LOGIN "user2" *
fetchmail: IMAP< A0004 NO [AUTHENTICATIONFAILED] Authentication failed.
fetchmail: Authorization failure on user2@exam.com
fetchmail: For help, see http://www.fetchmail.info/fetchmail-FAQ.html#R15
fetchmail: IMAP> A0005 LOGOUT
fetchmail: IMAP< * BYE Logging out
fetchmail: IMAP< A0005 OK Logout completed.
fetchmail: 6.3.22 querying mail.exam.com (protocol IMAP) at Tue 26 Nov 2013 02:42:07 PM WAT: poll completed
fetchmail: 6.3.22 querying mail.exam.com (protocol auto) at Tue 26 Nov 2013 02:42:07 PM WAT: poll completed
fetchmail: Query status=3 (AUTHFAIL)
fetchmail: 6.3.22 querying mail.exam.com (protocol auto) at Tue 26 Nov 2013 02:42:07 PM WAT: poll started
fetchmail: 6.3.22 querying mail.exam.com (protocol IMAP) at Tue 26 Nov 2013 02:42:07 PM WAT: poll started
Trying to connect to 192.185.8.218/143...connected.
fetchmail: IMAP< * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
fetchmail: IMAP> A0001 CAPABILITY
fetchmail: IMAP< * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS QUOTA STARTTLS AUTH=PLAIN AUTH=LOGIN
fetchmail: IMAP< A0001 OK Capability completed.
fetchmail: IMAP> A0002 STARTTLS
fetchmail: IMAP< A0002 OK Begin TLS negotiation now.
fetchmail: Server certificate:
fetchmail: Issuer Organization: COMODO CA Limited
fetchmail: Issuer CommonName: PositiveSSL CA 2
fetchmail: Subject CommonName: *.websitewelcome.com
fetchmail: Subject Alternative Name: *.websitewelcome.com
fetchmail: Subject Alternative Name: websitewelcome.com
fetchmail: Server CommonName mismatch: *.websitewelcome.com != mail.exam.com
fetchmail: mail.exam.com key fingerprint: 94:F3:9F:EC:B7:A1D:10:92:15:37:F6:CC:73:63:34
fetchmail: Warning: the connection is insecure, continuing anyways. (Better use --sslcertck!)
fetchmail: IMAP> A0003 CAPABILITY
fetchmail: IMAP< * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS QUOTA AUTH=PLAIN AUTH=LOGIN
fetchmail: IMAP< A0003 OK Capability completed.
fetchmail: mail.exam.com: upgrade to TLS succeeded.
fetchmail: IMAP> A0004 LOGIN "user1" *
fetchmail: IMAP< A0004 NO [AUTHENTICATIONFAILED] Authentication failed.
fetchmail: Authorization failure on user1@exam.com
fetchmail: For help, see http://www.fetchmail.info/fetchmail-FAQ.html#R15
fetchmail: IMAP> A0005 LOGOUT
fetchmail: IMAP< * BYE Logging out
fetchmail: IMAP< A0005 OK Logout completed.
fetchmail: 6.3.22 querying mail.exam.com (protocol IMAP) at Tue 26 Nov 2013 02:42:18 PM WAT: poll completed
fetchmail: 6.3.22 querying mail.exam.com (protocol auto) at Tue 26 Nov 2013 02:42:18 PM WAT: poll completed
fetchmail: Query status=3 (AUTHFAIL)
fetchmail: normal termination, status 3

Also here is .fetchmailrc file conf

cat .fetchmailrc
set postmaster "user1"
set bouncemail


poll exam.com proto pop3 auth password
user 'user1' there with password '<password>' is user1 here

sslcertck
fetchall
no keep
no rewrite

poll mail.exam.com
user 'user3' there with password '<password>' is user1 here
user 'user2' there with password '<password>' is user1 here
user 'user1' there with password '<password>' is user1 here

kindly assist in troubleshooting.
 
Old 11-26-2013, 03:16 PM   #2
bensons
LQ Newbie
 
Registered: Nov 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
fetchmail config

Please is anything wrong with my configuration or where did i missed it.

House kindly assist me please.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] fetchmail stops and does not working golden_boy615 Linux - General 3 05-02-2011 06:18 AM
[SOLVED] Why fetchmail asks for a SMTP server when working with IMAP? ?? anishkumarv Linux - Newbie 3 02-14-2011 01:43 AM
fetchmail working only after restarting machine sambyte Linux - General 1 01-03-2007 06:47 PM
fetchmail/sendmail working, but rejected addresses? FLOODS Linux - Software 0 07-27-2004 12:32 PM
help! fetchmail not working properly, loosing emails fast! Red Squirrel Linux - Software 0 04-18-2004 08:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration