postfix (precise) has lost the ability to lookup aliases in NIS
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
postfix (Ubuntu) |
Fix Released
|
High
|
Scott Kitterman | ||
Precise |
Fix Released
|
High
|
Scott Kitterman | ||
Quantal |
Fix Released
|
High
|
Scott Kitterman | ||
Raring |
Fix Released
|
High
|
Scott Kitterman |
Bug Description
[IMPACT]
* NIS authentication doesn't work.
[TESTCASE]
* With postfix installed do:
$ postconf -m | grep nis
If that produces no output, you've reproduced the bug.
* Install the updated package and repeat. This time is should look like:
$ postconf -m | grep nis
nis
[Regression Potential]
* Nil. It's just re-enabling a build flag for functionality that was previously dropped.
[Original Bug]
on a (freshly installed) system with nis authentication, postfix is no longer able to read aliases from the nis table mail.aliases.
in 10.04 it worked
symptoms are:
- errors in /var/log/mail.log:
warning: nis:mail.aliases is unavailable. unsupported dictionary type: nis
- and mail is not forwarded
Obviously some build switch was changed between 10.04 and 12.04.
In 10.04:
$ postconf -m | grep nis
nis
In 12.04 the output is empty.
But still in 12.04 the postfix.postinst skript looks for nis and creates an appropriate mail.cf entry for lookup in nis:mail.aliases
$ lsb_release -rd
Description: Ubuntu 12.04.1 LTS
Release: 12.04
$ apt-cache policy postfix
postfix:
Installiert: 2.9.3-2~12.04.3
description: | updated |
tags: |
added: verification-done removed: verification |
Yes. It was a build argument change. I found where it was done and I'm checking to verify if there was a reason for it.