Chapter 17 . Mail Servers (Java web server) Postfix, Sendmail,
Monday, April 30th, 2007Chapter 17 . Mail Servers Postfix, Sendmail, Qpopper, and Cyrus 493 Choosing a Mail Client When your mail server is configured, you need to be able to read your email. You will find many mail clients available, the most popular being mutt, pine, kmail, and evolution. We briefly describe the benefits of all of the systems and where they are most commonly used. The Command-Line Clients If you have only command-line access to your mail, you will probably want to use mail or mutt. mail The mail command is the most basic mail client of all and is used to send mail and receive it using the command line. If you want to send mail with the mail command, just enter mail and the person you want to send mail to. bible:~ # mail justin@wileybible.com Subject: Hello there This is a test . EOT Here, we have been asked for the subject of the mail, and we are then ready to type our mail message. Notice that at no point during this transaction are we given guidance on what to do. This is stereotypical Unix commands at their best! When the message has been entered, you then need to enter a period on a line by itself and then press Enter/Return. This will send the mail to the recipient specified. To read mail with the mail command, enter mail at the command line and press Enter/Return. You are then presented with a list of mails in your mailbox that you can read. To read a message, just enter the number of the mail you want to read: bible:~ # mail mailx version nail 10.6 11/15/03. Type ? for help. /var/mail/justin : 1 message 1 new >N 1 justin@wileybible.com Thu Sep 30 11:30 14/452 Hello there & Pressing 1 and Return will show you the mail message you just sent. mail is installed by default on most Unix systems and can be used as a last resort to read your mail. It is also good because you can use the mail command to send mail through a shell script if you have a list of email addresses you need to send something to (but not for spam).
Note: In case you are looking for affordable webhost to host and run your servlet application check Vision make web site services