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

Problems running fetchmail in /etc/ppp/ip-up.d



Fetchmail is not fetching my email properly when 
invoked from a script in the /etc/ppp/ip-up.d

/etc/ppp/ip-up.d/fetchmail reads ...
#!/bin/sh
# run fetchmail
test -r /etc/fetchmailrc && //
	fetchmail --syslog --invisible --fetchmailrc /etc/fetchmailrc

Syslog contains the following ...

Aug 10 20:32:41 calliope fetchmail[9256]: fetchmail: POP3 connection
to pop3.paradise.net.nz failed: temporary name server error. 
Aug 10 20:32:41 calliope fetchmail[9256]: Query status=2 (SOCKET)

/etc/ppp/ip-up.d also contains 00ipmasq to rerun the firewalling rules
over the new interface (ppp0) and 0dns-up which sets up
/etc/resolv.conf for the provider being connected to.

The fetchmail script (above) runs fine from the command line.

For completeness /etc/fetchmailrc reads ... 

poll pop3.paradise.net.nz proto pop3 user [USERNAME] with password
[PASSWORD] 

NB: [ ]'s replace actual values.

TIA
Cheers,
Alan



Reply to: