ubuntu postfix/smtpd[6785]: error: open database /etc/aliases.db: No such file or directory

ubuntu postfix/smtpd[6785]: error: open database /etc/aliases.db: No such file or directory The above error is due to there is no file at /etc/aliases.db. Create the above directory using the below command to fix the issue: newaliases

Continue Reading

Command to check postfix configuration

root@ubuntu:/var/log# postconf -nalias_database = hash:/etc/aliasesalias_maps = hash:/etc/aliasesappend_dot_mydomain = nobiff = noinet_interfaces = allinet_protocols = allmailbox_size_limit = 0mydestination = $myhostname, ubuntu, localhost.localdomain, , localhostmyhostname = ubuntumynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128readme_directory = norecipient_delimiter = +relayhost =smtp_tls_session_cache_database = btree:${data_directory}/smtp_scachesmtpd_banner = $myhostname ESMTP $mail_name…

Continue Reading