hi guys,
Is there a way to discard all email in postfix?, example, now i send email for
xxxxx@gmail.com, the result is successful.
I need discard all email for any domain, example , send email for
xxxxx@gmail.com, the result is failure.
Because, i need run security test, but, when test is running, send mails to all domains, so i need configure the postfix when test is running block send mails.
------
- create a drop file in /etc/postfix
* discard :
- postmap drop
- then edit /etc/postfix/main.cf
drop_maps= hash:/etc/postfix/drop
and restart the postfix service.
But, continue send email successful.
Thanks guys.