23 Aug
2016
23 Aug
'16
4:36 a.m.
On 08/22/2016 02:00 PM, Aki Tuomi wrote:
Seems you accidentically replied to me only.
Yup, whoops.
Postfix uses the filename you provide as name for the db file, so running it against symlinks does follow the symlink, but it uses the symlink name as what it uses to create the .db file.
You can test this by creating file and doing symlink for it and running postmap against the symlink. You'll see that it will create symlink-name.db file instead of file.db.
Also good to know, although it seems like odd behavior. I would think that if Postfix followed the link then the corresponding .db would also be of the followed filename. No matter, I removed the link to simplify things.