|This is a basic email traffic testing scenario. We start with an easy-to-construct scenario for a mail server (no user authentication or TLS configured). This testing scenario works when
The following scenario was tested against two postfix servers:
Please remember that you cannot actually send things to example.com, see RFC 2606, Section 3. You will want to assemble your own mail domain records and email server as necessary. If you are using Postfix, you can start with these guides.
Create a text file /home/lanforge/email-body.txt. We will send it as an email. We will use a minimum of RFC 822 specified fields: To, From and Subject
In the LANforge Layer-4 tab, click Create and enter fields we will use to find the email body and where we will send it.
Set the Name to email1
Set SMTP-FROM to email@example.com
The RCPT-TO address to firstname.lastname@example.org
For UL/DL, choose Upload
Our mail relay is at outbound.candelatech.local. Enter the URL smtp://outbound.candelatech.local
Set Source/Dest to email-body.txt. Double check that files actually exists at /home/lanforge/email-body.txt
For more information see GUI User Guide: Layer-4
To monitor your mail relay, open up a terminal, ssh to the relay and tail the mail-log. You will probably use the command sudo tail -f /var/log/maillog
In the Layer-4 tab, select connection email1 and click Start.