Package: postfix
Version: 3.1.6-0+deb9u1
Severity: important

Hi!

the most resent postfix update in stable broke postmap on files that are
not in the current directory:

| root@playbox01:~# postmap test/in
| postmap: fatal: open database test/in.db: No such file or directory


More detailed script:
previous version:
} root@playbox01:~# dpkg -s postfix  | grep Version
} Version: 3.1.4-7
} root@playbox01:~# mkdir test
} root@playbox01:~# echo 't...@example.com foo:' > test/in
} root@playbox01:~# postmap test/in
} root@playbox01:~# ls -l test
} total 12
} -rw-r--r-- 1 root root    22 Oct 20 11:10 in
} -rw-r--r-- 1 root root 12288 Oct 20 11:10 in.db

current version:
] root@playbox01:~# rm -rf test
] root@playbox01:~# dpkg -s postfix  | grep Version
] Version: 3.1.6-0+deb9u1
] root@playbox01:~# mkdir test
] root@playbox01:~# echo 't...@example.com foo:' > test/in
] root@playbox01:~# postmap test/in
] postmap: fatal: open database test/in.db: No such file or directory
] root@playbox01:~#ยท
] root@playbox01:~# ls -l test
] total 4
] -rw-r--r-- 1 root root 22 Oct 20 11:11 in

Note that it still works in the current directory:
] root@playbox01:~# cd test
] root@playbox01:~/test# postmap in
] root@playbox01:~/test# ls -l
] total 12
] -rw-r--r-- 1 root root    22 Oct 20 11:11 in
] -rw-r--r-- 1 root root 12288 Oct 20 11:11 in.db

Cheers,
-- 
                            |  .''`.       ** Debian **
      Peter Palfrader       | : :' :      The  universal
 https://www.palfrader.org/ | `. `'      Operating System
                            |   `-    https://www.debian.org/

Reply via email to