fetchmail-friends
[Top] [All Lists]

[fetchmail] preconnect and fetchmail -d

2003-09-23 01:37:47

Greetings!  First post here, because I've never had problems with
Fetchmail before ;-) in three years use.

Running Slackware Linux 9.0 (kernel 2.4.20) 
fetchmail release 6.2.2+SSL+NLS   but Im not using ssl.

My difficulty is this:-
The .fetchmailrc below works fine if i invoke fetchmail on the commmand
line. Popsneaker does its inimitible thing, then fetchmail follows
gracefully on. 

However if I invoke it from /etc/ppp/ip-up, then the preconnect call
fails eg (from maillog)

8<------8<------8<------8<------8<------8<------8<------8<------8<------
Sep 22 12:07:39 glynthebearded fetchmail[3855]: starting fetchmail 6.2.2 daemon
Sep 22 12:07:39 glynthebearded fetchmail[3855]: pre-connection command failed wi
th status 65280
Sep 22 12:07:39 glynthebearded fetchmail[3855]: Query status=5 (SYNTAX)
8<------8<------8<------8<------8<------8<------8<------8<------8<------


fetchmailrc looks like this

8<------8<------8<------8<------8<------8<------8<------8<------8<------
# This file must be chmod 0600, owner fetchmail


set syslog                      # log through syslog facility

set no bouncemail       
poll pop.freeserve.net proto pop3 user "me" with password "guess" 
                   is "glyn" here
options fetchall 
preconnect "popsneaker  pop.freeserve.net"
                   
poll pop.oneandone.co.uk proto pop3 user "me again" with password  
"moreguesswork"
                   is "glyn" here
options fetchall
preconnect "popsneaker  pop.oneandone.co.uk"
8<------8<------8<------8<------8<------8<------8<------8<------8<------

Is it something about fetchmail in daemon mode?
Or something environemental?

I've RTFM and Googled with vigour but cannot find a clue.  Can anyone
help?

TIA


Glyn

<Prev in Thread] Current Thread [Next in Thread>