fetchmail-friends
[Top] [All Lists]

[fetchmail] fetchmailconf can't read its own files...

2002-09-28 12:25:14
I haven't used conf in a while, so I can't say whether this is recent or
not. Anyhoo, in version 6.1.0, conf died trying to read my existing rc
file with the status message: "Can't read configuration output of
fetchmail --configdump."

No problem. I moved my old rc file and created a brand new one using conf.
But, even after creating the new rc file, conf still barfs with the "Can't
read..." message when trying to parse the file it created.

I know this isn't a good way to make friends on a mailing list, but here's
the configdump in question (with passwords excised):

TRUE=1; FALSE=0

os_type = 'linux'
feature_options = ('pop3','imap','etrn','odmr','ssl',)
# Start of configuration initializer
fetchmailrc = {
    'poll_interval':0,
    "logfile":None,
    "idfile":"/home/jack/.fetchids",
    "postmaster":"jack",
    'bouncemail':TRUE,
    'spambounce':FALSE,
    "properties":"",
    'invisible':FALSE,
    'showdots':FALSE,
    'syslog':FALSE,
    # List of server entries begins here
    'servers': [
        # Entry for site `mail.earthlink.net' begins:
        {
            "pollname":"mail.earthlink.net",
            'active':TRUE,
            "via":None,
            "protocol":"POP3",
            'port':0,
            '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":"mojohand",
                    'localnames':["jack"],
                    'fetchall':FALSE,
                    'keep':FALSE,
                    'flush':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,
                    '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":[],
                }
                ,               {
                    "remote":"burpelsonafb",
                    'localnames':["jack"],
                    'fetchall':FALSE,
                    'keep':FALSE,
                    'flush':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,
                    '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":[],
                }
                ,               {
                    "remote":"spaminacan",
                    'localnames':["jack"],
                    'fetchall':FALSE,
                    'keep':FALSE,
                    'flush':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,
                    '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":[],
                }
                ,               {
                    "remote":"jaxmerc",
                    'localnames':["jack"],
                    'fetchall':FALSE,
                    'keep':FALSE,
                    'flush':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,
                    '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":[],
                }
                ,               {
                    "remote":"themojowire",
                    'localnames':["jack"],
                    'fetchall':FALSE,
                    'keep':FALSE,
                    'flush':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,
                    '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 `jaxmerc.com' begins:
        {
            "pollname":"jaxmerc.com",
            'active':TRUE,
            "via":None,
            "protocol":"auto",
            'port':0,
            '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":"jaxmerc",
                    'localnames':["jack"],
                    'fetchall':FALSE,
                    'keep':TRUE,
                    'flush':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,
                    '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":[],
                }
                ,           ]
        }
    ]
}
# End of initializer

TIA,
JEB

-- 
======================================================
* Jack Browning               mojohand(_at_)earthlink(_dot_)net *
* 2.4.19                              34d + 00:30:01 *
* 09/28/2002                            13:57:22 CDT *
======================================================



<Prev in Thread] Current Thread [Next in Thread>
  • [fetchmail] fetchmailconf can't read its own files..., Jack Browning <=