我有简约的Dovecot + Postfix安装。 还有/ etc / postfix / sender_access文件,几乎没有封锁的电子邮件地址。
现在后缀答复代码554到这些地址。 The error that the other server returned was: 554 5.7.1 : Sender address rejected: Access denied
我可以将代码更改为550,并导致“邮箱找不到”? 有没有黑客Postfix的源代码?
谢谢!
请参阅man 5 access REJECT ACTIONS 。 具体来说,你会想要使用
[email protected] REJECT 550 Mailbox not found
与往常一样,使用postmap -q "string" /etc/postfix/<your_access_file> 。