This question already has an answer here:
I am doing a test where we want to asses whether an email with a benign virus in it, exits a network.
I need a means to receive the test emails I am sending from inside the network, without any antivirus or spam filters, and I need to receive them outside the network.
The problem is that all the online email services I have access to have anti virus protection, and will delete any messages sent from the network containing viruses before they reach my inbox. This makes it impossible to assess whether the emails where sent and received, and what viruses they contained.
Do you know of any email solutions (preferably online) without antivirus, or where I can turn it off?
I ended up setting up my own mail service on a server using pythons smtpd module and configuring mx records to point to my new service.
This solution is cumbersome to me and if you have an easier one, then please let me know.