Red Hat Bugzilla – Bug 177093
-v does not work anymore
Last modified: 2007-11-30 17:11:20 EST
Description of problem:
fetchmail -v does not print all exchanges to the terminal as it used to do,
when "set syslog" is present. This is a regression.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Have a workable configuration (with set syslog)
2. Run fetchmail -v
Only a few empty lines are printed.
The IMAP exchanges are printed.
[zaitcev@lembas ~]$ cat .fetchmailrc
# We normally run in daemon mode
# Over an ssh tunnel (ssh -L 2993:devserv.devel:993 sebastian.redhat.com)
#poll localhost protocol imap port 2993 ssl fetchall
# Over VPN
# poll devserv.devel.redhat.com protocol imap ssl fetchall
poll devserv.devel.redhat.com protocol imap port 991 ssl fetchall
The problem obviously has something to do with "set syslog".
If it is not set in the .fetchmailrc, then exchanges are printed
as before. However, the -v used to override "set syslog".
The FC4 version works ok.
AFAICS the FC4 version (126.96.36.199-1.fc4) behaves exactly the same way: it logs
the output to syslog only:
$ LC_ALL=C ~/fetchmail --version|head -n 1
This is fetchmail release 188.8.131.52+IMAP-GSS+RPA+NTLM+SDPS+SSL+INET6+NLS+HESIOD
$ cat ~/.fetchmailrc
set no bouncemail
poll localhost protocol pop3 port 11000 user "mitr" with password "foo" is * here
$ ~/fetchmail -v
... outputs nothing, with data in syslog.
Output verbosity and output destination are orthogonal, you can use --nosyslog
to override the "set syslog" directive.