On Tue, 2024-10-15 at 14:57 -0700, Ron / BCLUG wrote:
[snip]
Hi Bill,
I see
.db.db
on those files - a double extension.Not quite sure why that is, but I'm wondering if this message is slightly misleading:
> 2024-10-15T12:40:11.193687-04:00 mail postfix/virtual[960838]: error: > open database /opt/mailman/mm/var/data/postfix_lmtp.db: Permission > denied
As in, it's not permissions but not found because, the file it's looking for is somehow called:
> -rw-rw-r-- 1 postfix mailman 12288 Oct 15 12:53 postfix_lmtp.db.db
Perhaps manually rename (mv) or symlink to test-fix the .db.db issue.
If that helps, explore the config options to see where a ".db" is appended where not needed.
Hope that somehow helps...
Yeah, I saw that, too. The double db files are created by postmap. I haven't worried about it too much yet, since the permissions are the same. I don't know why postmap does this, but it's next on my list of things to fix.
In my main.cf postfix_lmtp is mentioned four times:
virtual_mailbox_maps = proxy:mysql:/etc/postfix/sql/mysql_virtual_mailbox_maps.cf,
proxy:mysql:/etc/postfix/sql/mysql_virtual_alias_domain_mailbox_maps.cf #added 20241009 for mailman hash:/opt/mailman/mm/var/data/postfix_lmtp ${dovecot}
virtual_alias_maps = proxy:mysql:/etc/postfix/sql/mysql_virtual_alias_maps.cf, proxy:mysql:/etc/postfix/sql/mysql_virtual_alias_domain_maps.cf,
proxy:mysql:/etc/postfix/sql/mysql_virtual_alias_domain_catchall_maps.c f #added 20241009 for mailman hash:/opt/mailman/mm/var/data/postfix_vmap
#Mailman transport stuff transport_maps = hash:/opt/mailman/mm/var/data/postfix_lmtp local_recipient_maps = hash:/opt/mailman/mm/var/data/postfix_lmtp ${dovecot}
billo