Bug 52963 - Service Fetchmail not started
Service Fetchmail not started
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Mail
UCS 5.0
amd64 All
: P5 normal (vote)
: UCS 5.0
Assigned To: Sönke Schwardt-Krummrich
Jürn Brodersen
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-03-19 17:22 CET by Axel Küpper
Modified: 2021-05-25 16:02 CEST (History)
4 users (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 5: Will affect all installed domains
How will those affected feel about the bug?: 3: A User would likely not purchase the product
User Pain: 0.429
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review: Yes
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments
listener.log (298.37 KB, text/plain)
2021-03-19 17:25 CET, Axel Küpper
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Axel Küpper 2021-03-19 17:22:15 CET

    
Comment 1 Axel Küpper 2021-03-19 17:25:50 CET
Created attachment 10657 [details]
listener.log

i saw an error at 18.03.21 17:52:02.654
Comment 2 Axel Küpper 2021-03-19 17:29:42 CET
After installing UCS 5 and fetchmail, I started to configure a user,
including the settings “Mail” and “Mail request”. Then I noticed that the service fetchmail was not started and rechmailrc looks like that:

set daemon 1200
set syslog
set postmaster "postmaster"
set bouncemail
set no spambounce
set properties ""
Comment 3 Florian Best univentionstaff 2021-03-22 11:21:22 CET
The error message from the listener.log is:

Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/^{ <-- HERE (\d+)\+?}\r?$/ at /usr/bin/sieve-connect line 926.
Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/^{ <-- HERE (\d+)\+?}\r?$/ at /usr/bin/sieve-connect line 1509.
Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/^{ <-- HERE \d+\+?}\r?\n?/ at /usr/bin/sieve-connect line 1525.
Sieve/IMAP Password: 
Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/^{ <-- HERE (\d+)\+?}\r?$/ at /usr/bin/sieve-connect line 926.
Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/^{ <-- HERE (\d+)\+?}\r?$/ at /usr/bin/sieve-connect line 1509.
Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/^{ <-- HERE \d+\+?}\r?\n?/ at /usr/bin/sieve-connect line 1525.
Sieve/IMAP Password:
Comment 5 Sönke Schwardt-Krummrich univentionstaff 2021-04-13 18:22:27 CEST
(In reply to Axel Küpper from comment #2)
> After installing UCS 5 and fetchmail, I started to configure a user,
> including the settings “Mail” and “Mail request”. Then I noticed that the
> service fetchmail was not started and rechmailrc looks like that:
> 
> set daemon 1200
> set syslog
> set postmaster "postmaster"
> set bouncemail
> set no spambounce
> set properties ""

@Axel thx for pointing this out!
I was able to reproduce and fix the issue. The listener module threw a traceback silently and did therefore nothing.

The only line indicating that there was an error/traceback:
18.03.21 17:52:02.653  LISTENER    ( WARN    ) : handler: fetchmailrc (failed)

[5.0-0] fdc21b3836 Bug #52963: fix traceback in fetchmailrc.py (objappend)

Package: univention-fetchmail
Version: 13.0.1-2A~5.0.0.202104131816
Branch: ucs_5.0-0
Comment 6 Sönke Schwardt-Krummrich univentionstaff 2021-04-13 18:24:41 CEST
(In reply to Florian Best from comment #3)
> The error message from the listener.log is:
> 
> Unescaped left brace in regex is deprecated here (and will be fatal in Perl
> 5.30), passed through in regex; marked by <-- HERE in m/^{ <-- HERE
> (\d+)\+?}\r?$/ at /usr/bin/sieve-connect line 926.
> Unescaped left brace in regex is deprecated here (and will be fatal in Perl
> 5.30), passed through in regex; marked by <-- HERE in m/^{ <-- HERE
> (\d+)\+?}\r?$/ at /usr/bin/sieve-connect line 1509.
> Unescaped left brace in regex is deprecated here (and will be fatal in Perl
> 5.30), passed through in regex; marked by <-- HERE in m/^{ <-- HERE
> \d+\+?}\r?\n?/ at /usr/bin/sieve-connect line 1525.
> Sieve/IMAP Password: 
> Unescaped left brace in regex is deprecated here (and will be fatal in Perl
> 5.30), passed through in regex; marked by <-- HERE in m/^{ <-- HERE
> (\d+)\+?}\r?$/ at /usr/bin/sieve-connect line 926.
> Unescaped left brace in regex is deprecated here (and will be fatal in Perl
> 5.30), passed through in regex; marked by <-- HERE in m/^{ <-- HERE
> (\d+)\+?}\r?$/ at /usr/bin/sieve-connect line 1509.
> Unescaped left brace in regex is deprecated here (and will be fatal in Perl
> 5.30), passed through in regex; marked by <-- HERE in m/^{ <-- HERE
> \d+\+?}\r?\n?/ at /usr/bin/sieve-connect line 1525.
> Sieve/IMAP Password:

This is a seperate issue that has been split off to bug 53070.
Comment 7 Jürn Brodersen univentionstaff 2021-04-19 11:08:57 CEST
Users with empty password are ignored -> OK
listener module does not crash any more -> OK
jenkins -> ok
No changelog as discussed -> OK

-> Verified
Comment 9 Florian Best univentionstaff 2021-05-25 16:02:52 CEST
UCS 5.0 has been released:
 https://docs.software-univention.de/release-notes-5.0-0-en.html
 https://docs.software-univention.de/release-notes-5.0-0-de.html

If this error occurs again, please use "Clone This Bug".