How to disable postfix address verification

时光总嘲笑我的痴心妄想 提交于 2020-08-09 07:09:12

问题


I'm doing some spam/botnet research and need to accept all email that my mail server receives. I've set postfix up, but I can't seem to figure out how to disable the sender address verification function. During my initial tests (spoofing mail source as test@test.com), I discovered postfix checks with the sender's mail server to verify the user exists (which it doesn't in my test case). As a result, the test message fails. Any ideas?


回答1:


Got it... Paste this in /etc/postfix/main.cf

smtpd_restriction_classes = verify_sender
verify_sender = permit


来源:https://stackoverflow.com/questions/32020139/how-to-disable-postfix-address-verification

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!