For the local MTA, you need to install an smtp server like Postfix. The recipient MTA would be gmail's smtp server if your recipient is someone at for instance. THe route taken by the email is somewhat like this - mail -> sendmail -> local MTA -> recipient MTA The mail/mailx command needs a local smtp server (MTA) running in order to deliver the emails. Its called mailx (or just mail when installed), and it can do many more things than what the older mail command from gnu mailutils package can do. In this tutorial we shall be using an enhanced version of the mail command. ![]() ![]() In a previous post on mail command we saw how the mail command can be used to send emails from the command line on your linux server.
0 Comments
Leave a Reply. |