From: Martin K. <mk...@gm...> - 2015-02-11 19:03:43
|
Hi Claudio, On Wed, 11 Feb 2015, Claudio Mendes wrote: > if i use EFS instead of fetchmail it works > > # Configuration created Fri Jan 9 17:33:10 2015 by fetchmailconf 1.52 $Revision: 4636 $ > set postmaster "ad...@do..." > #set bouncemail > #set no spambounce > #set properties "" > #set daemon 900 > poll mail.domain.com with proto POP3 localdomains domain.com > #001 poll 195.219.0.173 with proto POP3 localdomains domain.com > #002 poll 195.219.0.195 with proto POP3 localdomains domain.com > #003 poll 195.218.28.28 with proto POP3 localdomains domain.com > envelope X-Originally-To > # user 'domainemail' with password 'pass1234' to * here options smtphost 192.168.16.160 > user 'domainemail' with password 'pass1234' to * here options smtphost 192.168.15.150 > > > > proxy-srv:~ # fetchmail -v -v > fetchmail: WARNING: Running as root is discouraged. > fetchmail: 6.3.2 querying mail.domain.com (protocol POP3) at Tue Feb 10 15:17:41 2015: poll started > fetchmail: POP3< +OK POP3 server ready <134...@ma...> > fetchmail: POP3> CAPA > fetchmail: POP3< -ERR bad command > fetchmail: bad command > fetchmail: Repoll immediately on dom...@ma... > fetchmail: POP3< +OK POP3 server ready <589...@ma...> > fetchmail: POP3> USER domainemail > fetchmail: POP3< +OK > fetchmail: POP3> PASS * > fetchmail: POP3< +OK connected > fetchmail: selecting or re-polling default folder > fetchmail: POP3> STAT > fetchmail: POP3< +OK 4 117964 > fetchmail: POP3> LAST > fetchmail: POP3< -ERR bad command > fetchmail: bad command > fetchmail: POP3> UIDL > fetchmail: POP3< +OK listing follows > fetchmail: POP3< 1 15021015161094 > fetchmail: 1 is unseen > fetchmail: POP3< 2 15021015171770 > fetchmail: 2 is unseen > fetchmail: POP3< 3 15021015154640 > fetchmail: 3 is unseen > fetchmail: POP3< 4 15021015155722 > fetchmail: 4 is unseen > fetchmail: POP3< . > 4 messages for domainemail at mail.domain.com (117964 octets). > fetchmail: POP3> LIST 1 > fetchmail: POP3< -ERR message 1 not found > fetchmail: message 1 not found > fetchmail: POP3> QUIT > fetchmail: POP3< +OK > fetchmail: client/server protocol error while fetching from dom...@ma... > fetchmail: 6.3.2 querying mail.domain.com (protocol POP3) at Tue Feb 10 15:17:41 2015: poll completed > fetchmail: discarding new UID list > fetchmail: Query status=4 (PROTOCOL) > fetchmail: Deleting fetchids file. > fetchmail: normal termination, status 4 > fetchmail: Deleting fetchids file. > you could give the option "fetchall" a try. (If it is OK for your use case.) For me it then worked when I had a pure RFC compliant server, with only the mandatory features available. fetchmail doesn't do unseen/seen processing in this case, but simply fetches everything. Martin |