Bug 55965 - migration of oxFetchmail to plain fetchmail fails
migration of oxFetchmail to plain fetchmail fails
Status: CLOSED FIXED
Product: Z_Internal OX development
Classification: Unclassified
Component: Installer
UCS 5.0 / 7.10.6
Other Linux
: P5 normal (vote)
: ---
Assigned To: Mail maintainers
https://git.knut.univention.de/univen...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2023-04-13 14:09 CEST by Dirk Ahrnke
Modified: 2023-09-30 07:23 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 4: Minor Usability: Impairs usability in secondary scenarios
Who will be affected by this bug?: 3: Will affect average number of installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.137
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 Dirk Ahrnke univentionstaff 2023-04-13 14:09:15 CEST
When upgrading oxseforucs to 7.10.6-ucs4 with existing fetchmail-configurations written by the old oxseforucs-integration the join-script 65univention-ox.inst tries to convert the objects oxmail/oxfetchmail* to the user-based configuration for univention-fetchmail. 
The first attempt fails with "LDAP Error: Undefined attribute type: univentionFetchmailSingle: attribute type undefined."
Note: I can not see that the join-script itself terminates unsuccessful. 

The fetchmail.schema is installed through 92univention-fetchmail-schema.inst. Due to the naming this will occur after the migration attempt. 


Once this is done the migration can be done, for example by running

python3 /usr/share/univention-ox/convert_oxfetchmail_to_fetchmail.py -v --binddn $ADMINDN --bindpwd $PWD

Note: In my installation /etc/fetchmailrc still had the old entries written by oxfetchmail.
Comment 1 Juan Carlos univentionstaff 2023-06-05 09:29:04 CEST
The oxseforucs joinscript has been renamed to run after 92univention-fetchmail-schema.inst.

oxseforucs: 7.10.6-ucs7