[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Fetchmail may almost be working in pop3.



On Thursday 09 July 2015 12:54:07 Martin G. McCormick wrote:
> Bob Bernstein writes:
> > Is there a special reason you do not post your .fetchmailrc file?
>
> Yes. This is called a senior moment. It's when you forget to
> include all the relevant information for which I apologize.
>
> 	Here is the slightly obfuscated .fetchmailrc file. The
> only obscured part is the password.
>
> #./fetchmailrc for martin
> # This file must be chmod 0600, owner fetchmail
> # set polling time (10 minutes)
> #
> set daemon 600
> set no bouncemail
> defaults:
> mda '/usr/bin/procmail'
>   antispam -1
>   batchlimit 0
>
> #server settings
> #poll suddenlink.net with protocol pop3
> poll pop.suddenlink.net with proto POP3
> # set username
> user 'martin.m'
> password 'SECRET'
>
> End of .fetchmailrc settings
>
> 	Running under --Version produces the following with
> password redacted:
>
> This is fetchmail release 6.3.18+GSS+NTLM+SDPS+SSL+NLS+KRB5.
>
> 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.
> This product includes software developed by the OpenSSL Project
> for use in the OpenSSL Toolkit. (http://www.openssl.org/)
>
> Fallback MDA: (none)
> Linux wb5agz 2.6.32-5-686 #1 SMP Wed Feb 18 13:24:13 UTC 2015 i686
> GNU/Linux Taking options from command line and /home/martin/.fetchmailrc
> Poll interval is 600 seconds
> Idfile is /home/martin/.fetchids
> Fetchmail will forward misaddressed multidrop messages to martin.
> Fetchmail will direct error mail to the postmaster.
> Fetchmail will treat permanent errors as temporary (keep messages).
> Options for retrieving from martin.m@pop.suddenlink.net:
>   True name of server is pop.suddenlink.net.
>   This host will be queried when no host is specified.
>   Password = "SOME_PASSWORD".
>   Protocol is POP3 (using default port).
>   All available authentication methods will be tried.
>   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)
>   No received-message limit (--fetchlimit 0).
>   Fetch message size limit is 100 (--fetchsizelimit 100).
>   Do binary search of UIDs during 3 out of 4 polls (--fastuidl 4).
>   No SMTP message batch limit (--batchlimit 0).
>   No forced expunges (--expunge 0).
>   Messages will be delivered with "/usr/bin/procmail".
>   Recognized listener spam block responses are: -1
>   No pre-connection command.
>   No post-connection command.
>   Single-drop mode: 1 local name recognized.
> 	martin
>   No interface requirement specified.
>   No monitor interface specified.
>   No plugin command specified.
>   No plugout command specified.
>   No UIDs saved from this host.
>   No poll trace information will be added to the Received header.
>   Messages with bad headers will be rejected.
>
> 	All that does match what I am expecting based on config.
> Here is an actual session:
>
> Old UID list from pop.suddenlink.net: <empty>
> Scratch list of UIDs: <empty>
> fetchmail: 6.3.18 querying pop.suddenlink.net (protocol POP3) at Thu Jul  9
> 06:19:20 2015: poll started Trying to connect to
> 208.180.40.196/110...connected.
> fetchmail: POP3< +OK InterMail POP3 server ready.
> fetchmail: POP3> CAPA
> fetchmail: POP3< +OK Capability list follows
> fetchmail: POP3< TOP
> fetchmail: POP3< USER
> fetchmail: POP3< RESP_CODES
> fetchmail: POP3< PIPELINING
> fetchmail: POP3< EXPIRE NEVER
> fetchmail: POP3< UIDL
> fetchmail: POP3< IMPLEMENTATION Openwave Email vM.8.04.03.20
> 201-2389-100-164-20 fetchmail: POP3< 150330
> fetchmail: POP3< .
> fetchmail: pop.suddenlink.net: opportunistic upgrade to TLS failed, trying
> to continue. fetchmail: POP3> USER martin.m
> fetchmail: POP3< +OK please send PASS command
> fetchmail: POP3> PASS *
> fetchmail: POP3< -ERR invalid user name or password.
> fetchmail: invalid user name or password.
> fetchmail: Authorization failure on martin.m@pop.suddenlink.net
> fetchmail: For help, see http://www.fetchmail.info/fetchmail-FAQ.html#R15
> fetchmail: POP3> QUIT
> fetchmail: POP3< +OK martin.m InterMail POP3 server signing off.
> fetchmail: 6.3.18 querying pop.suddenlink.net (protocol POP3) at Thu Jul  9
> 06:19:21 2015: poll completed Merged UID list from pop.suddenlink.net:
> <empty>
> fetchmail: Query status=3 (AUTHFAIL)
> fetchmail: normal termination, status 3
>
> end of session output
>
> 	It looks as if the server is wanting the password for
> retrieving mail and I am not sending it. I actually thought this
> happened as one retrieved the messages so if that is the case,
> what else do I add in .fetchmailrc?
>
> Thank you.

As someone else has pointed out, it looks as though your username is wrong.  
Most POP3 mailhosts require the full email address, with the @domain bit.

Lisi


Reply to: