简体   繁体   English

Postfix邮件发送问题?

[英]Postfix mail send issue?

I am facing some issue in my postfix. 我在postfix中遇到了一些问题。 I am not receiving any mail from postfix. 我没有从postfix收到任何邮件。 The log file also doesn't show any error log. 日志文件也不显示任何错误日志。 Log file is normal. 日志文件正常。 On further analysis I found mail is going to incoming but not in active folder of postfix. 在进一步分析中,我发现邮件将传入但不在postfix的活动文件夹中。 Only one thing I found in maillog file: 我在maillog文件中找到的只有一件事:

postfix/cleanup[30369]: warning: database /etc/postfix/virtual.db is older than source file /etc/postfix/virtual postfix / cleanup [30369]:警告:数据库/etc/postfix/virtual.db比源文件/ etc / postfix / virtual旧

Rest of maillog file was normal. 其余的maillog文件是正常的。

I am able to find the issue. 我能找到问题。 can any one help on this. 任何人都可以帮忙。

Run: 跑:

postmap /etc/postfix/virtual

Then restart postfix. 然后重启postfix。

The warning means that you have a text version and a hashmap version of the virtual file. 警告意味着您具有文本版本和virtual文件的散列图版本。 The text version is the human readable one that you edit, then you build a hashmap of it using postmap and that's what postfix reads. 文本版本是您编辑的人类可读文本,然后使用postmap构建它的hashmap,这就是postfix读取的内容。 It's just telling you that you may have made a change to the human readable one and forgot to create a new .db of it. 它只是告诉你,你可能已经改变了人类可读的一个,忘了创建一个新的.db

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM