小编use*_*262的帖子

Postfix aliases db: 没有那个文件或目录

我正在尝试postfix在本地Ubuntu 12.04使用ZoneMinder. 我从安装Ubuntu DesktopPostfix软件包和它的依赖。

现在,如果我尝试使用以下命令发送电子邮件,则效果很好:

echo "This is the body of the email" | mail -s "This is the subject line" myemail@gmail.com
Run Code Online (Sandbox Code Playgroud)

然后,如果警报ZoneMinder发送电子邮件,我会收到以下信息

Apr 16 17:05:18 ubuntu postfix/local[11541]: warning: hash:/etc/aliases is unavailable. open database /etc/aliases.db: No such file or directory
Run Code Online (Sandbox Code Playgroud)

如果我运行 postqueue -qi get queueed email with(别名数据库不可用)

A09B4A40C16      422 Thu Apr 16 16:59:37  destination@email.net
                                                  (alias database unavailable)
                                         root@nameofthehost.net
Run Code Online (Sandbox Code Playgroud)

我试图设置pownershippostfix在其他后建议用以下

sudo chown postfix:postfix -R /var/lib/postfix …
Run Code Online (Sandbox Code Playgroud)

postfix ubuntu-12.04

9
推荐指数
1
解决办法
3万
查看次数

标签 统计

postfix ×1

ubuntu-12.04 ×1