I am receiving the following errors in my logs. Any ideas what could be causing it and how to fix it.
Aug 17 08:15:01 myserver postfix/showq[14353]: warning: dict_open_dlinfo: cannot open /etc/postfix/dynamicmaps.cf. No dynamic maps will be allowed.
Aug 17 08:20:02 myserver postfix/sendmail[14479]: warning: dict_open_dlinfo: cannot open /etc/postfix/dynamicmaps.cf. No dynamic maps will be allowed.
Aug 17 08:20:02 myserver postfix/postqueue[14479]: warning: dict_open_dlinfo: cannot open /etc/postfix/dynamicmaps.cf. No dynamic maps will be allowed.
/etc/cron.daily/rkhunter:
sendmail: warning: dict_open_dlinfo: cannot open /etc/postfix/dynamicmaps.cf. No dynamic maps will be allowed.
postdrop: warning: dict_open_dlinfo: cannot open /etc/postfix/dynamicmaps.cf. No dynamic maps will be allowed.
Yeah you probably need to create the /etc/postfix/dynamicmaps.cf file… it sounds like that was removed, and a missing file can throw errors and warnings and cause other kinds of trouble
The contents should be as Locutus mentioned in his initial comment above – and then just make sure the file is readable by everyone (“chmod 644” should be good).