FIX POSTFIX "FATAL: OPEN DATABASE /ETC/ALIASES.DB: NO SUCH FILE OR DIRECTORY" ERROR
来源:互联网 发布:网络公司名称大全 编辑:程序博客网 时间:2024/06/06 05:29
FIX POSTFIX "FATAL: OPEN DATABASE /ETC/ALIASES.DB: NO SUCH FILE OR DIRECTORY" ERROR
PUBLISHED JUNE 25TH 2012 BY ANDREW MARTIN
As there was no email coming from a VM, I checked /var/log/maillog
:
Jun 25 10:59:13 localhost postfix/local[20793]: fatal: open database /etc/aliases.db: No such file or directory
As the missing file is some form of (Berkley?) DB, a simple touch
doesn't create any structure for a suitable "empty database".
To fix, update the /etc/aliases
database with newaliases
:
newaliases
From the man page:
This is a link to the ssmtp binary. It invokes /usr/sbin/sendmail with the -bi option. It is provided for compatibility with the sendmail program. In this case it does absolutely nothing since sSMTP does not support /etc/aliases and is just there to avoid programs returning error messages.
0 0
- Sass-四种编译输出代码风格
- 微信小程序教程(第三篇)
- 超时问题总结
- Java中将数组转化为List
- libpcap的一些主要函数和结构介绍
- FIX POSTFIX "FATAL: OPEN DATABASE /ETC/ALIASES.DB: NO SUCH FILE OR DIRECTORY" ERROR
- Ubuntu 16上装完nodejs还是找不到node命令?
- eclipse 卸载插件
- Adroid中线程间的通信(一)
- 安卓 关于《贪吃蛇大作战》蛇头方向的判断与实现
- 多进程下的文件描述符
- Android 蓝牙自动打开并扫描设备,以及获取对方蓝牙设备的种类
- 微信小程序教程(第四篇)
- Linux中普通进程、后台进程和守护进程