Gerard Seibert | 28 Jul 2006 18:31

Nothing logged into log file.

This is the output of 'fetchmail -V'

fetchmail: WARNING: Running as root is discouraged.
This is fetchmail release 6.3.4+POP2+RPA+SDPS+SSL+OPIE+NLS.

Copyright (C) 2002, 2003 Eric S. Raymond
Copyright (C) 2004 Matthias Andree, Eric S. Raymond, Rob F. Funk, Graham 
Wilson
Copyright (C) 2005-2006 Matthias Andree, Sunil Shetye
Fetchmail comes with ABSOLUTELY NO WARRANTY. This is free software, and 
you
are welcome to redistribute it under certain conditions. For details,
please see the file COPYING in the source or documentation directory.

Fallback MDA: (none)
FreeBSD seibercom.net 6.1-RELEASE-p3 FreeBSD 6.1-RELEASE-p3 #0: Sat Jul  8 
04:30:13 EDT 2006     ges <at> seibercom.net:/usr/obj/usr/src/sys/SEIBERCOM  i386
Taking options from command line
No mailservers set up -- perhaps /home/ges/.fetchmailrc is missing?

This is the start of my /usr/local/etc/fetchmailrc file:

# Configuration created Sun Jun 25 13:57:54 2006 by fetchmailconf 1.52 
$Revision: 4740 $

set logfile "/usr/home/ges/logs/fetchmail.log"
set postmaster "postmaster"
set bouncemail
set no spambounce
set properties ""
(Continue reading)

Matthias Andree | 28 Jul 2006 19:34
Picon
Picon

Re: Nothing logged into log file.

Gerard Seibert <gerard <at> seibercom.net> writes:

> This is the output of 'fetchmail -V'
>
> fetchmail: WARNING: Running as root is discouraged.
> This is fetchmail release 6.3.4+POP2+RPA+SDPS+SSL+OPIE+NLS.
>
> FreeBSD seibercom.net 6.1-RELEASE-p3 FreeBSD 6.1-RELEASE-p3 #0: Sat Jul
> 8 04:30:13 EDT 2006     ges <at> seibercom.net:/usr/obj/usr/src/sys/SEIBERCOM
> i386
>
> # Configuration created Sun Jun 25 13:57:54 2006 by fetchmailconf 1.52
> $Revision: 4740 $
>
> set logfile "/usr/home/ges/logs/fetchmail.log"
> set postmaster "postmaster"
> set bouncemail
> set no spambounce
> set properties ""
> set daemon 900
>
> I created the log file, gave it 0666 permission and changed file and
> group ownership to fetchmail respectively. Still, there is nothing ever
> written to the file. Any logging that is done goes to the system
> /var/mail/maillog log. Other than that, everything works fine.
>
> What am I doing wrong here?

The FreeBSD rc.d script passes the --syslog option to fetchmail, which
takes precedence over the configuration file.
(Continue reading)


Gmane