PDA

View Full Version : Fetchmail weird issue after upgrading FC 4 -> 5



catalinr
8th May 2006, 03:51 PM
The problem: right after booting, fetchmail doesn't do anything,
although ps shows it as running. It doesn't fetch and it doesn't
output *any* log.

This started to happen after upgrading to Fedora Core 5 from FC4.

A simple restart (service fetchmail restart) gets it going, with
logging and fetching and all...

fetchmail --version
fetchmail: WARNING: Running as root is discouraged.
This is fetchmail release 6.3.4+IMAP-GSS+RPA+NTLM+SDPS+SSL+HESIOD+NLS.

uname -a
Linux foo.bar.net 2.6.16-1.2111_FC5 #1 Thu May 4 21:16:58 EDT 2006
i686 athlon i386 GNU/Linux

more /etc/fetchmailrc
#set daemon 100

poll foo.bar.com proto imap
localdomains bar.net
user "user" pass "pass" is "user" here
...

more /etc/init.d/fetchmail
...
FETCHMAIL=/usr/bin/fetchmail
FRC=/etc/fetchmailrc
TIME=100
start() {
$FETCHMAIL -f $FRC -L /var/log/fetchmail -d $TIME >/dev/null 2>&1
}
...

Any clues?

Thanks!
Cata

GL1800
8th May 2006, 09:14 PM
You are running fetchmail as root? Where is your fetchmailrc located?

catalinr
9th May 2006, 08:52 AM
No one? No one at all???

As noted, fetchmail is run as root and the rc is located at "/etc/fetchmailrc".

Cata