Bug 38716

Summary: Make Dovecots quota-service listen address configurable
Product: UCS Reporter: Daniel Tröder <troeder>
Component: Mail - DovecotAssignee: Daniel Tröder <troeder>
Status: CLOSED FIXED QA Contact: Sönke Schwardt-Krummrich <schwardt>
Severity: normal    
Priority: P5 CC: schwardt, walkenhorst
Version: UCS 4.0   
Target Milestone: ---   
Hardware: Other   
OS: Linux   
What kind of report is it?: --- What type of bug is this?: ---
Who will be affected by this bug?: --- How will those affected feel about the bug?: ---
User Pain: Enterprise Customer affected?:
School Customer affected?: ISV affected?:
Waiting Support: Flags outvoted (downgraded) after PO Review:
Ticket number: Bug group (optional):
Max CVSS v3 score:
Bug Depends on: 38553    
Bug Blocks: 34839    

Description Daniel Tröder univentionstaff 2015-06-17 09:14:17 CEST
Create a UCRV to change the IP Dovecots quota-service listens on, for the case, that a frontend Postfix needs to know about the quota-status of a user in a backend Dovecot.
Comment 1 Daniel Tröder univentionstaff 2015-06-17 09:57:22 CEST
In commit 61299 two UCRVs were added:
* mail/dovecot/quota-status/ip
* mail/dovecot/quota-status/port
Comment 2 Sönke Schwardt-Krummrich univentionstaff 2015-07-01 17:32:57 CEST
# netstat -anvptu | grep 12340
tcp     0   0 127.0.0.1:12340      0.0.0.0:*       LISTEN      19932/dovecot   
# ucr set mail/dovecot/quota-status/ip=0.0.0.0 \
          mail/dovecot/quota-status/port=12345
Create mail/dovecot/quota-status/port
File: /usr/sbin/univention-sa-learn
File: /etc/dovecot/conf.d/95-quota-status.conf
Multifile: /etc/postfix/ldap.sharedfolderlocal
# invoke-rc.d dovecot restart
Restarting IMAP/POP3 mail server: dovecot.
# netstat -anvptu | grep 12340
# netstat -anvptu | grep 12345
tcp     0   0 0.0.0.0:12345       0.0.0.0:*        LISTEN      23245/dovecot   


Works as expected → VERIFIED
Comment 3 Janek Walkenhorst univentionstaff 2015-07-09 18:14:41 CEST
<http://errata.univention.de/ucs/4.0/237.html>