From: longbow <lo...@gm...> - 2006-10-12 18:01:23
|
Rob MacGregor wrote: > On 10/12/06, longbow <lo...@gm...> wrote: >> hi all! >> >> i think i have a problem with my fetchmail (config). i use it to get all >> the email from my various accounts. in the .fetchmailrc in my home dir i >> put something like this: >> >> poll MAILSERVER protocol IMAP user "MAILBOXUSERNAME" password >> "THESECRET" is LOCALUSER keep > > Can we see the file (munge username and password)? "Something like" > isn't good enough. here it is: poll MAILSERVER1 protocol IMAP user "MAILBOXUSER1" password "PWD1" is LOCALUSER keep poll MAILSERVER2 protocol POP3 user "MAILBOXUSER2" password "PWD2" ssl is LOCALUSER > > The output of "fetchmail --nosyslog -v -v" is also necessary and > "fetchmail --configdump" would help (remember to munge username and > password). > fetchmail --nosyslog -v -v fetchmail: 6.3.4 querying MAILSERVER1 (protocol IMAP) at Thu Oct 12 17:42:05 2006: poll started fetchmail: IMAP< * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION] Courier-IMAP ready. Copyright 1998-2004 Double Precision, Inc. See COPYING for distribution information. fetchmail: IMAP> A0001 CAPABILITY fetchmail: IMAP< * CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION fetchmail: IMAP< A0001 OK CAPABILITY completed fetchmail: Protocol identified as IMAP4 rev 1 fetchmail: IMAP> A0002 LOGIN "MAILBOXUSER1" * fetchmail: IMAP< A0002 OK LOGIN Ok. fetchmail: selecting or re-polling default folder fetchmail: IMAP> A0003 SELECT "INBOX" fetchmail: IMAP< * FLAGS (\Draft \Answered \Flagged \Deleted \Seen \Recent) fetchmail: IMAP< * OK [PERMANENTFLAGS (\* \Draft \Answered \Flagged \Deleted \Seen)] Limited fetchmail: IMAP< * 0 EXISTS fetchmail: IMAP< * 0 RECENT fetchmail: IMAP< * OK [UIDVALIDITY 1159609714] Ok fetchmail: IMAP< * OK [MYRIGHTS "acdilrsw"] ACL fetchmail: IMAP< A0003 OK [READ-WRITE] Ok fetchmail: 0 messages waiting after first poll fetchmail: No mail for MAILBOXUSER1 at MAILSERVER1 fetchmail: IMAP> A0004 LOGOUT fetchmail: IMAP< * BYE Courier-IMAP server shutting down fetchmail: IMAP< A0004 OK LOGOUT completed fetchmail: 6.3.4 querying MAILSERVER1 (protocol IMAP) at Thu Oct 12 17:42:06 2006: poll completed fetchmail: not swapping UID lists, no UIDs seen this query fetchmail: Query status=1 (NOMAIL) fetchmail: 6.3.4 querying MAILSERVER2 (protocol POP3) at Thu Oct 12 17:42:06 2006: poll started fetchmail: Issuer Organization: THE ORGANIZATION fetchmail: Issuer CommonName: Certification Authority (CA) 2005 fetchmail: Server CommonName: MAILSERVER2 fetchmail: MAILSERVER1 key fingerprint: 72:72:A9:AE:DD:11:DA:01:C4:9D:29:D8:88:C7:74:39 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 fetchmail: POP3< +OK CommuniGate Pro POP3 Server 5.0.2 ready <88610.1160667726@MAILSERVER2> fetchmail: POP3> CAPA fetchmail: POP3< +OK capability list follows fetchmail: POP3< SASL LOGIN PLAIN fetchmail: POP3< LAST fetchmail: POP3< TOP fetchmail: POP3< USER fetchmail: POP3< PIPELINING fetchmail: POP3< UIDL fetchmail: POP3< IMPLEMENTATION CommuniGatePro fetchmail: POP3< . fetchmail: POP3> USER MAILBOXUSER2 fetchmail: POP3< +OK please send the PASS fetchmail: POP3> PASS * fetchmail: POP3< +OK 0 messages (0 bytes) fetchmail: selecting or re-polling default folder fetchmail: POP3> STAT fetchmail: POP3< +OK 0 0 fetchmail: No mail for MAILBOXUSER2 at MAILSERVER2 fetchmail: POP3> QUIT fetchmail: POP3< +OK CommuniGate Pro POP3 Server connection closed fetchmail: 6.3.4 querying MAILSERVER2 (protocol POP3) at Thu Oct 12 17:42:08 2006: poll completed fetchmail: not swapping UID lists, no UIDs seen this query fetchmail: Query status=1 (NOMAIL) fetchmail: Deleting fetchids file. fetchmail: normal termination, status 1 fetchmail: Deleting fetchids file. fetchmail --configdump TRUE=1; FALSE=0 os_type = 'linux' feature_options = ('pop3','imap','rpa','sdps','etrn','odmr','ssl',) # Start of configuration initializer fetchmailrc = { 'poll_interval':0, "logfile":None, "idfile":"/home/LOCALUSER/.fetchids", "postmaster":"LOCALUSER", 'bouncemail':TRUE, 'spambounce':FALSE, "properties":None, 'invisible':FALSE, 'showdots':TRUE, 'syslog':FALSE, # List of server entries begins here 'servers': [ # Entry for site `MAILSERVER1' begins: { "pollname":"MAILSERVER1", 'active':TRUE, "via":None, "protocol":"IMAP", "service":None, 'timeout':300, 'interval':0, "envelope":"Received", 'envskip':0, "qvirtual":None, "auth":"any", 'dns':TRUE, 'uidl':FALSE, "aka":[], "localdomains":[], "interface":None, "monitor":None, "plugin":None, "plugout":None, "principal":None, 'tracepolls':FALSE, 'users': [ { "remote":"MAILBOXUSER1", "password":"PWD1", 'localnames':["LOCALUSER"], 'fetchall':FALSE, 'keep':TRUE, 'flush':FALSE, 'limitflush':FALSE, 'rewrite':TRUE, 'stripcr':FALSE, 'forcecr':FALSE, 'pass8bits':FALSE, 'dropstatus':FALSE, 'dropdelivered':FALSE, 'mimedecode':FALSE, 'idle':FALSE, "mda":None, "bsmtp":None, 'lmtp':FALSE, "preconnect":None, "postconnect":None, 'limit':0, 'warnings':3600, 'fetchlimit':0, 'fetchsizelimit':100, 'fastuidl':4, 'batchlimit':0, 'ssl':FALSE, "sslkey":None, "sslcert":None, "sslproto":None, 'sslcertck':FALSE, "sslcertpath":None, "sslfingerprint":None, 'expunge':0, "properties":None, "smtphunt":["localhost"], "fetchdomains":[], "smtpaddress":None, "smtpname":None, 'antispam':'', "mailboxes":[], } , ] } , # Entry for site `MAILSERVER2' begins: { "pollname":"MAILSERVER2", 'active':TRUE, "via":None, "protocol":"POP3", "service":None, 'timeout':300, 'interval':0, "envelope":"Received", 'envskip':0, "qvirtual":None, "auth":"any", 'dns':TRUE, 'uidl':FALSE, "aka":[], "localdomains":[], "interface":None, "monitor":None, "plugin":None, "plugout":None, "principal":None, 'tracepolls':FALSE, 'users': [ { "remote":"MAILBOXUSER2", "password":"PWD2", 'localnames':["LOCALUSER"], 'fetchall':FALSE, 'keep':FALSE, 'flush':FALSE, 'limitflush':FALSE, 'rewrite':TRUE, 'stripcr':FALSE, 'forcecr':FALSE, 'pass8bits':FALSE, 'dropstatus':FALSE, 'dropdelivered':FALSE, 'mimedecode':FALSE, 'idle':FALSE, "mda":None, "bsmtp":None, 'lmtp':FALSE, "preconnect":None, "postconnect":None, 'limit':0, 'warnings':3600, 'fetchlimit':0, 'fetchsizelimit':100, 'fastuidl':4, 'batchlimit':0, 'ssl':TRUE, "sslkey":None, "sslcert":None, "sslproto":None, 'sslcertck':FALSE, "sslcertpath":None, "sslfingerprint":None, 'expunge':0, "properties":None, "smtphunt":["localhost"], "fetchdomains":[], "smtpaddress":None, "smtpname":None, 'antispam':'', "mailboxes":[], } , ] } ] } # End of initializer >> this runs perfect expect that the fetchmail daemon is deleting the >> messages in the remote server's inbox. i read in the manual that >> deleteing is the default action and adding "keep" should keep the >> messages on the remote side. i tried it and fetchmail recognizes that >> the config has changed by diplaying this: > > This isn't normal for the config you're talking about - I poll an IMAP > server with keep and it doesn't delete the messages. > > The possibilities are that either you've not got a valid configuration > or the remote server is doing something it shouldn't. The information > I've asked for will help identify which. well i thought so too... > > (Oh, and I'd suggest you read the FAQ, which details what you should > provide when reporting something you think is a bug). > hope you can help me with this. thx longbow |