我用rm -R命令删除了一个重要的目录。这是一个非常流行的主机数据。它位于/var/zpanel/hostdata/ayrintilih
删除 ayrintilih 目录后,一切都消失了。
我试图用ext4magic程序取消删除。但它需要另一个硬盘卷进行恢复。
错误信息:
ERROR: can not use "/root/recoveried" for recover directory. It's the same filesystem : "/dev/dm-0"
Run Code Online (Sandbox Code Playgroud)
我的 ISP 刚刚回复了我的请求:
Unfortunately there is no way to add another Volume to a virtual Instance.
If it would be a dedicated Server, we could do it, but not in a Cloudserver.
You could try to minimize the partition and create another one, that would
count as another Volume. We also recommend to have …Run Code Online (Sandbox Code Playgroud) 我的邮件服务器在垃圾邮件的黑名单中。我重新配置了 postfix。之后我的客户收到此错误,他们无法发送电子邮件。
404 4.5.2 <PLLAMNAZIFE>: Helo command rejected: need fully-qualified hostname
Run Code Online (Sandbox Code Playgroud)
在 Mail.log 中:
postfix/smtpd[9853]: NOQUEUE: reject: RCPT from unknown[xx.xx.xx.xx]:
404 4.5.2 <PLLAMNAZIFE>: Helo command rejected: need fully-qualified hostname;
from=<info@domain.com> to=<mail@mail.com> proto=ESMTP helo=<PLLAMNAZIFE>
Run Code Online (Sandbox Code Playgroud)
在我的 main.cf 中:
# rules restrictions
smtpd_client_restrictions =
permit_sasl_authenticated
smtpd_helo_restrictions =
permit_mynetworks,
reject_non_fqdn_helo_hostname,
reject_invalid_helo_hostname,
permit
smtpd_sender_restrictions =
smtpd_recipient_restrictions =
permit_sasl_authenticated,
reject_unauth_pipelining,
reject_non_fqdn_recipient,
reject_unknown_recipient_domain,
permit_mynetworks,
reject_unauth_destination,
reject_invalid_hostname,
reject_non_fqdn_sender,
reject_unknown_sender_domain,
reject_rhsbl_client blackhole.securitysage.com,
reject_rhsbl_sender blackhole.securitysage.com,
reject_rbl_client zen.spamhaus.org,
reject_rbl_client bl.spamcop.net,
reject_rbl_client blackholes.easynet.nl,
reject_rbl_client cbl.abuseat.org,
reject_rbl_client proxies.blackholes.wirehub.net,
reject_rbl_client dnsbl.njabl.org
smtpd_helo_required = yes …Run Code Online (Sandbox Code Playgroud) /var/log/maillog 中的错误行
Sep 22 12:08:20 sun amavis[4493]: (04493-09) (!)run_av (ClamAV-clamd) FAILED - unexpected , output="/var/spool/amavisd/tmp/amavis-20130922T052321-04493-crApLkq5/parts: lstat() failed: Permission denied. ERROR\n"
Sep 22 12:08:20 sun amavis[4493]: (04493-09) (!)ClamAV-clamd av-scanner FAILED: CODE(0x29185c0) unexpected , output="/var/spool/amavisd/tmp/amavis-20130922T052321-04493-crApLkq5/parts: lstat() failed: Permission denied. ERROR\n" at (eval 113) line 897.
Sep 22 12:08:20 sun amavis[4493]: (04493-09) (!)WARN: all primary virus scanners failed, considering backups
Run Code Online (Sandbox Code Playgroud)
服务器用户和组
# cat /etc/passwd | grep "amavis\|clamav"
clam:x:495:493:Clam Anti Virus Checker:/var/lib/clamav:/sbin/nologin
amavis:x:494:492:User for amavisd-new:/var/spool/amavisd:/sbin/nologin
# id amavis
uid=494(amavis) gid=492(amavis) groups=492(amavis),493(clam)
# id …Run Code Online (Sandbox Code Playgroud)