word number: 898
Time: 2021-04-25 21:14:05 +0000
This is the ninth assignment from my Masters Advanced Network Security Course which has never been published anywhere and I, as the author and copyright holder, license this assignment customized CC-BY-SA where anyone can share, copy, republish, and sell on condition to state my name as the author and notify that the original and open version available here.
The protocol that is defined to exchange email over the Internet is simple mail transfer protocol (SMTP). SMTP is used to send email to another email server which is then received through the procedure of post office protocol version 3 (POP3) or another procedure instant message access protocol (IMAP). It can be illustrated in Figure 1 that the email was send via SMTP, then authentication is handled by POP3 or IMAP. The authentication alone is unencrypted, to encrypt is to be send over secure socket layer (SSL) for more secure communication .
Figure 1. Illustration of email exchange 
Another technology is the mailing list where the clients subscribes so they’re included into the mailing list. Materials will be send to the subscriber within the mailing list. Security issues on email other than malware mostly dealt with spams.
People defined the term email spam as bulk email or unsolicited email. It’s very subjective how each person defines a spam. An example of a common spam is an advertisement sent to a mailing list or lot’s of email address, in an indiscriminate way. A light spam usually contains advertisement only but a severe spam may contain threats that could harm the user like malware. The subtopic belows are example of how spam may occur and what measure that had been taken. Most of the below materials are based on  and most definitions are based on  (by each key words).
Open relay is a configuration on the mail server to accept all incoming emails either by known users or anonymous users. This was used to be the default configuration of all mail servers but it became unpopular since it was abused by spammers and malwares, refer to small illustration on Figure 2. Most open relay’s are closed, or put on blacklist.
Figure 2. Illustration of open relay abused 
There many impacts of spams. It can be summarize in general as follows:
To cope with Figure 2, POP before SMTP is implemented with the concept of allowing email transmission if able to retrieve email. In short you be able to access and retrieve your email first, then you’re able to send an email. But today people tends to use SMTP authentication instead. Figure 3 is a general illustration.
Figure 3. Using authentication for smtp 
Back then the POP before SMTP was implemented to cope with the open relay issue, still it’s a method to allow email exchange from outside, spammers just need to find another way. (1) First they could gain control (spam bot) the user’s PC that had authorization to the SMTP server through service attack worms (SAW) and mass mailing worms (MMS). (2) Second is a method called email error back scattering where on the envelop insert “reply-to: firstname.lastname@example.org” (if error will go to that email). This two are illustrated on Figure 4. How is it possible? It is because of direct SMTP.
Figure 4. Other round-ways for POP before SMTP 
To avoid spams the following are recommended, (note: there are more ways the below recommendation):