Bug 177093 - -v does not work anymore
Summary: -v does not work anymore
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: fetchmail
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Miloslav Trmač
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-01-06 05:09 UTC by Pete Zaitcev
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-01-07 02:17:10 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Pete Zaitcev 2006-01-06 05:09:56 UTC
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):

fetchmail-6.3.1-1

How reproducible:

100%

Steps to Reproduce:
1. Have a workable configuration (with set syslog)
2. Run fetchmail -v
  
Actual results:

Only a few empty lines are printed.

Expected results:

The IMAP exchanges are printed.

Additional info:

[zaitcev@lembas ~]$ cat .fetchmailrc
#
# We normally run in daemon mode
set syslog

# 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
[zaitcev@lembas ~]$

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.

Comment 1 Miloslav Trmač 2006-01-07 02:17:10 UTC
AFAICS the FC4 version (6.2.5.5-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 6.2.5.5+IMAP-GSS+RPA+NTLM+SDPS+SSL+INET6+NLS+HESIOD
$ cat ~/.fetchmailrc
set no bouncemail
set syslog
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.


Note You need to log in before you can comment on or make changes to this bug.