December 2018
Beginner
826 pages
22h 54m
English
Post-installation, let's quickly test what the mail server looks like out of the box.
Starting by sending an example mail:
$ mail -s "Example Subject" packt@example.coCc: This is another piece of example mail.In this case we need to end with Ctrl-D.Like so!$
If we now run mail again, we'll see our bounced message:
$ mail"/var/mail/vagrant": 1 message 1 new>N 1 Mail Delivery Syst Wed Dec 5 17:46 56/1737 Mail delivery failed: returnin?
Again, hitting 1 and Enter will load the first message:

Here, we actually get the helpful message Mailing to remote domains not supported as the server in question is incapable of doing so.