MacPorts updates (mail-server install) apparently messing with installed configuration dates

Steven Smith steve.t.smith at gmail.com
Tue Mar 24 17:50:23 UTC 2020


I see the same thing. The Berkeley database .db binary files are derived from the non-.db text files, so the .db files should be younger, not older.

There must be some postmap or newaliases command to regenerate everything, but that won’t get at the underlying issue of why these files are being “updated” with a MacPorts update.

These database files are not and should not be part of the mail-server or postfix ports:

> port contents mail-server | grep aliases
> port contents postfix | grep aliases


I don’t see why they’d have new time stamps on them. 

> ls -l /opt/local/etc/postfix/aliases*
> -rw-r--r--  1 root  admin  11150 Feb 14 16:32 /opt/local/etc/postfix/aliases
> -rw-r--r--  1 root  admin  16384 May 23  2019 /opt/local/etc/postfix/aliases.db


> On Mar 23, 2020, at 06:03, Gerben Wierda <gerben.wierda at rna.nl> wrote:
> 
> I did an update of postfix, dovecot etc. on Feb 22. This worked fine and everything has been running smoothly since.
> 
> However, I just noticed these messages in my postfix log:
> 
> Mar 23 10:43:04 mail smtp/smtpd[70713]: warning: database /opt/local/etc/postfix/aliases.db is older than source file /opt/local/etc/postfix/aliases
> Mar 23 10:43:04 mail smtp/smtpd[70713]: warning: database /opt/local/etc/postfix/rna_sender_canonical.db is older than source file /opt/local/etc/postfix/rna_sender_canonical
> Mar 23 10:43:04 mail smtp/smtpd[70713]: warning: database /opt/local/etc/postfix/rna_recipient_overrides.db is older than source file /opt/local/etc/postfix/rna_recipient_overrides
> Mar 23 10:43:04 mail smtp/smtpd[70713]: warning: database /opt/local/etc/postfix/rna_virtual_users.db is older than source file /opt/local/etc/postfix/rna_virtual_users
> Mar 23 10:43:05 mail postfix/trivial-rewrite[70715]: warning: database /opt/local/etc/postfix/rna_virtual_domains.db is older than source file /opt/local/etc/postfix/rna_virtual_domains
> Mar 23 10:43:05 mail postfix/trivial-rewrite[70715]: warning: database /opt/local/etc/postfix/transport.db is older than source file /opt/local/etc/postfix/transport
> Mar 23 10:43:05 mail postfix/cleanup[70716]: warning: database /opt/local/etc/postfix/rna_sender_canonical.db is older than source file /opt/local/etc/postfix/rna_sender_canonical
> Mar 23 10:43:05 mail postfix/cleanup[70716]: warning: database /opt/local/etc/postfix/rna_recipient_overrides.db is older than source file /opt/local/etc/postfix/rna_recipient_overrides
> Mar 23 10:43:05 mail postfix/cleanup[70716]: warning: database /opt/local/etc/postfix/rna_virtual_users.db is older than source file /opt/local/etc/postfix/rna_virtual_users
> 
> And what seems to have happened is that the MacPorts maintenance has touched the dates on these files (without actually changing them):
> 
> -rw-r--r--   1 root  admin     12144 Feb 22 13:37 aliases
> -rw-r--r--   1 root  admin     16384 Oct  4 15:53 aliases.db
> -rw-r--r--   1 root  wheel     10519 Feb 22 13:37 aliases.sample
> 
> Hmm, that is not nice. It should leave those files such as my aliases file alone. Probably a fix/check for ownership?
> 
> Is this something that is fixable in the port or is this something inherent in the way MacPorts work when installing?
> 
> (Same happened with dovecot. I have been using the mail-server port as an umbrella, so it might have been that one)
> 
> G
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20200324/8d7b55a3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3898 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20200324/8d7b55a3/attachment.bin>


More information about the macports-users mailing list