Skip to content

Run fetchmail not in verbose mode#2859

Merged
casperklein merged 3 commits intodocker-mailserver:masterfrom
casperklein:fetchmail-not-verbose
Oct 25, 2022
Merged

Run fetchmail not in verbose mode#2859
casperklein merged 3 commits intodocker-mailserver:masterfrom
casperklein:fetchmail-not-verbose

Conversation

@casperklein
Copy link
Copy Markdown
Member

@casperklein casperklein commented Oct 23, 2022

Description

Fetchmail is heavily verbose in mail.log. This leads to a lot of log entries on each poll:

Details
    fetchmail: 6.4.16 querying pop.gmx.net (protocol POP3) at Sun Oct 23 12:31:02 2022: poll started
    Trying to connect to 212.227.17.185/995...connected.
    fetchmail: Loaded OpenSSL library 0x101010ef newer than headers 0x101010bf, trying to continue.
    fetchmail: Server certificate:
    fetchmail: Issuer Organization: T-Systems International GmbH
    fetchmail: Issuer CommonName: TeleSec ServerPass Extended Validation Class 3 CA
    fetchmail: Subject CommonName: mail.gmx.net
    fetchmail: Subject Alternative Name: mail.gmx.net
    fetchmail: Subject Alternative Name: mail.gmx.de
    fetchmail: Subject Alternative Name: smtp.gmx.net
    fetchmail: Subject Alternative Name: smtp.gmx.de
    fetchmail: Subject Alternative Name: imap.gmx.net
    fetchmail: Subject Alternative Name: imap.gmx.de
    fetchmail: Subject Alternative Name: pop.gmx.net
    fetchmail: Subject Alternative Name: pop.gmx.de
    fetchmail: pop.gmx.net key fingerprint: 37:6D:93:28:DE:58:A2:7B:6D:61:07:76:1F:56:70:6F
    fetchmail: SSL/TLS: using protocol TLSv1.3, cipher TLS_AES_256_GCM_SHA384, 256/256 secret/processed bits
    fetchmail: POP3< +OK POP server ready H migmx006 1N6tSP-1pA9Gr1Tln-018FlG
    fetchmail: POP3> CAPA
    fetchmail: POP3< +OK Capability list follows
    fetchmail: POP3< TOP
    fetchmail: POP3< UIDL
    fetchmail: POP3< USER
    fetchmail: POP3< SASL PLAIN
    fetchmail: POP3< IMPLEMENTATION trinity
    fetchmail: POP3< .
    fetchmail: POP3> USER *****@gmx.de
    fetchmail: POP3< +OK password required for user "*****@gmx.de"
    fetchmail: POP3> PASS *
    fetchmail: POP3< +OK mailbox "*****@gmx.de" has 0 messages (0 octets) H migmx006
    fetchmail: POP3> STAT
    fetchmail: POP3< +OK 0 0
    fetchmail: No mail for *****@gmx.de at pop.gmx.net
    fetchmail: POP3> QUIT
    fetchmail: POP3< +OK POP server signing off
    fetchmail: 6.4.16 querying pop.gmx.net (protocol POP3) at Sun Oct 23 12:31:02 2022: poll completed
    fetchmail: sleeping at Sun Oct 23 12:31:02 2022 for 300 seconds

This PR removes the verbose option from the fetchmail command in supervisord.

Fixes: too much logging

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Improvement (non-breaking change that does improve existing functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (README.md or the documentation under docs/)
  • If necessary I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

-v | --verbose

Verbose mode. All control messages passed between fetchmail and the mail server are echoed to stdout.
@casperklein casperklein self-assigned this Oct 23, 2022
@casperklein casperklein added this to the v11.3.0 milestone Oct 23, 2022
@casperklein casperklein added area/scripts kind/improvement Improve an existing feature, configuration file or the documentation service/fetchmail and removed area/scripts labels Oct 23, 2022
@casperklein casperklein mentioned this pull request Oct 23, 2022
11 tasks
@casperklein casperklein marked this pull request as ready for review October 23, 2022 22:11
@casperklein casperklein requested a review from a team October 23, 2022 22:11
@casperklein casperklein merged commit caf2338 into docker-mailserver:master Oct 25, 2022
@casperklein casperklein deleted the fetchmail-not-verbose branch October 25, 2022 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/improvement Improve an existing feature, configuration file or the documentation service/fetchmail

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants