Bug 29272 - primäre Mailadresse im UDM erlaubt mehr Zeichen als cyrus beim Name der Mailbox
primäre Mailadresse im UDM erlaubt mehr Zeichen als cyrus beim Name der Mailbox
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: Mail
UCS 3.1
Other Linux
: P5 normal (vote)
: ---
Assigned To: Mail maintainers
:
: 29028 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-19 12:16 CET by Sönke Schwardt-Krummrich
Modified: 2017-08-08 07:09 CEST (History)
4 users (show)

See Also:
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:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sönke Schwardt-Krummrich univentionstaff 2012-11-19 12:16:26 CET
Aus Bug #17928:
>> Wir sollte bei der primären Mailadresse darauf achten, dass die Syntax den 
>> von cyrus erlaubten Zeichen entspricht, sonst bekommt man kein Postfach.
> Das nicht. Da stellt im Moment einen zu harten Eingriff in die freie Auswahl
> der EmailAdresse dar.

Das sollten wir nochmal überdenken. Ich glaube, es ergibt wenig Sinn, den Admin eine Mailadresse angeben zu lassen, für das dann kein IMAP-Postfach angelegt werden kann. Der Admin erhält keine Rückmeldung dass das Anlegen der Mailbox auf dem Mailsystem (häufig ungleich dem UMC-System) nicht funktioniert hat und
stochert da erstmal im Nebel herum.

+++ This bug was initially created as a clone of Bug #17928 +++

E-Mail-Adressen mit Sonderzeichen führen zu Fehlermeldungen in der
listener.log:

10.03.10 14:37:18  LISTENER    ( ERROR   ) : Could not write Sieve-Script to:
/var/spool/cyrus/sieve/domain/u/univention.qa/t/tews#$%&/te/sieve.siv
sh: /te@univention.qa: No such file or directory
Traceback (most recent call last):
  File "/usr/sbin/univention-cyrus-mkdir", line 96, in ?
    domainpart=user_name.split('@')[1]
IndexError: list index out of range
Traceback (most recent call last):
  File "/usr/sbin/univention-cyrus-mkdir", line 96, in ?
    domainpart=user_name.split('@')[1]
IndexError: list index out of range
sh: /te@univention.qa: No such file or directory
10.03.10 14:39:14  LISTENER    ( ERROR   ) : Could not write Sieve-Script to:
/var/spool/cyrus/sieve/domain/u/univention.qa/t/te+ws#$%&/te/sieve.siv
sh: /te@univention.qa: No such file or directory
Traceback (most recent call last):
  File "/usr/sbin/univention-cyrus-mkdir", line 96, in ?
    domainpart=user_name.split('@')[1]
IndexError: list index out of range
Traceback (most recent call last):
  File "/usr/sbin/univention-cyrus-mkdir", line 96, in ?
    domainpart=user_name.split('@')[1]
IndexError: list index out of range
Traceback (most recent call last):
  File "/usr/lib/univention-directory-listener/system/gencertificate.py", line
72, in handler
    create_certificate(new['cn'][0], int(new['uidNumber'][0]),
domainname=domain)
KeyError: 'uidNumber'
11.03.10 13:35:11  LISTENER    ( WARN    ) : handler: gencertificate (failed)
Comment 1 Stefan Gohmann univentionstaff 2012-11-19 14:48:37 CET
(In reply to comment #0)
> Aus Bug #17928:
> >> Wir sollte bei der primären Mailadresse darauf achten, dass die Syntax den 
> >> von cyrus erlaubten Zeichen entspricht, sonst bekommt man kein Postfach.
> > Das nicht. Da stellt im Moment einen zu harten Eingriff in die freie Auswahl
> > der EmailAdresse dar.
> 
> Das sollten wir nochmal überdenken. Ich glaube, es ergibt wenig Sinn, den Admin
> eine Mailadresse angeben zu lassen, für das dann kein IMAP-Postfach angelegt
> werden kann. Der Admin erhält keine Rückmeldung dass das Anlegen der Mailbox
> auf dem Mailsystem (häufig ungleich dem UMC-System) nicht funktioniert hat und
> stochert da erstmal im Nebel herum.

Teilweise wird kein cyrus verwendet. Die Syntax müsste umgestellt werden, je nachdem welche Groupware installiert wird.
Comment 2 Florian Best univentionstaff 2017-02-10 11:00:56 CET
*** Bug 29028 has been marked as a duplicate of this bug. ***
Comment 3 Florian Best univentionstaff 2017-02-10 11:01:12 CET
Is cyrus still used?
Comment 4 Daniel Tröder univentionstaff 2017-02-10 13:13:28 CET
(In reply to Florian Best from comment #3)
> Is cyrus still used?
Yes - all installations of UCS < 4.1 that installed the mailserver component or parts of it use Cyrus IMAP. If they update to 4.1 they keep using it. Cyrus will also be supported in UCS 4.2.
Comment 5 Stefan Gohmann univentionstaff 2017-06-16 20:37:03 CEST
This issue has been filed against UCS 3. UCS 3 is out of the normal maintenance and many UCS components have vastly changed in UCS 4.

If this issue is still valid, please change the version to a newer UCS version otherwise this issue will be automatically closed in the next weeks.
Comment 6 Stefan Gohmann univentionstaff 2017-08-08 07:09:45 CEST
This issue has been filed against UCS 3.1.

UCS 3.1 is out of maintenance and many UCS components have vastly changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen this issue. In this case please provide detailed information on how this issue is affecting you.