postinst scripts in tasksel are considered as maintainer scripts. So they cannot modify a configuration file. Patching dovecot.conf from the task postinstall script is forbidden.
So another solution would be: * modify the default dovecot.conf file to enable sasl by default in the dovecot package. * create a new package with a postinst script that would setup postfix with the postconf commands and depend on postfix * add the new package to the mail-server task so that dovecot and postfix are automatically integrated when the mail-server task is installed. ** Changed in: tasksel (Ubuntu) Status: Confirmed => Invalid ** Changed in: dovecot (Ubuntu) Status: In Progress => Triaged -- Dovecot SASL for postfix https://bugs.launchpad.net/bugs/164837 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs