Maillog get error /etc/postfix/vmail_ssl.map

Started by Demontara, May 15, 2020, 08:35:23 PM

Previous topic - Next topic

Demontara

Hi,

I see this error in the mail log file /var/log/maillog

warning: database /etc/postfix/vmail_ssl.map.db is older than source file /etc/postfix/vmail_ssl.map


How can i fix this error ?

Regards,

rcschaff

postmap /etc/postfix/vmail_ssl

systemctl restart postfix
Google Hangouts:  rcschaff82@gmail.com

Demontara

Thank you,
But this command fix : postmap /etc/postfix/vmail_ssl.map

Quote from: rcschaff on May 15, 2020, 09:28:40 PM
postmap /etc/postfix/vmail_ssl

systemctl restart postfix

rcschaff

Yeah Sorry.  Doing 200 things at once.  Only type quick responses and often  missing things.  Glad you got it working. :)
Google Hangouts:  rcschaff82@gmail.com

idovecer

I have the similar problem, but generating database isn't possible with this command
postmap /etc/postfix/vmail_ssl.map

because I'm getting this:
postmap: warning: /etc/postfix/vmail_ssl.map.db: duplicate entry: "webmail.somedomain.com"
postmap: warning: /etc/postfix/vmail_ssl.map.db: duplicate entry: "mail.somedomain.com"
postmap: warning: /etc/postfix/vmail_ssl.map.db: duplicate entry: "webmail.somedomain2.com"
postmap: warning: /etc/postfix/vmail_ssl.map.db: duplicate entry: "mail.somedomain2.com"
etc...

And it is right, this file vmail_ssl.map has really double entries, but why?
It is generated at night, so I guess there is some bug that is generating double lines.

Is this a bug?