Difference between revisions of "LizardMail"

From LizardWiki, FastLizard4's wiki and website
Jump to: navigation, search
m (rm excess whitespace)
(expanded)
Line 6: Line 6:
  
 
== Notes ==
 
== Notes ==
*Your email address is your account name at lizardwiki dot dyndns dot org.  For example, if you login using SSH as 'root', your address would be root at lizardwiki dot dyndns dot org (replace 'at' with @ and 'dot' with .).
+
*Your email address is your account name at lizardwiki dot dyndns dot org.  For example, if you login using SSH as 'thedoctor', your address would be thedoctor at lizardwiki dot dyndns dot org (replace 'at' with @ and 'dot' with .).
*Abuse of LizardMail is sufficient grounds for immediate account termination.
+
*Abuse of LizardMail is sufficient grounds for immediate account termination.  Use of LizardMail is monitored.
  
 
== From the Terminal (easy) ==
 
== From the Terminal (easy) ==
*Note that, if you are restricted to using LizardShell as your login shell (instead of, say, bash), you are severely limited in what you can do, so you might want to take the time and effort to use a mail client (i.e., the hard way).
+
*Note that, if you are restricted to using LizardShell as your login shell (instead of, say, bash), you are severely limited in what you can do, so you might want to take the time and effort to use a mail client (i.e., the somewhat harder way; see [[#Using a Mail Client|below]]).
  
 
=== Checking mail ===
 
=== Checking mail ===
The easiest way to access the server is from the terminal.  Log in to the server using SSH like you normally would.  After the MOTD prints, you will see either "No mail." or "You have new mail." (or similar).  The latter, of course, means that you have new mail.  If you have new mail, simply run the <code>mail</command> to check your new emails.  Use the <code>?</code> command in the mail viewer for some basic assistance.  To check saved mails, use the command <code>mail -f mail/Saved</code> (you cannot do this if you use LizardShell).  New messages that are not automatically deleted are saved when you quit the mail program.
+
The easiest way to access your mail is from the terminal.  Log in to the server using SSH like you normally would.  After the MOTD prints, you will see either "No mail." or "You have new mail." (or similar).  The latter, of course, means that you have new mail.  If you have new mail, simply run the <code>mail</code> to check your new emails.  Use the <code>?</code> command in the mail viewer for some basic assistance.  To check saved mails, use the command <code>mail -f mail/Saved</code> (you cannot yet do this if you use LizardShell).  New messages that are not automatically deleted are saved when you quit the mail program.
 +
 
 +
If you are already logged into the server and a new message arrives, you should get a message that says <code>You have new mail in /var/mail/''username''.</code>
  
 
=== Sending mail ===
 
=== Sending mail ===
To initiate the process, log in to the server using SSH like you normally would.   
+
:''Note: At this time, LizardShell users are unable to send mail using this method.''
 +
To initiate the process, log in to the server using SSH like you normally would.  Then, type the command:<br />
 +
<code>mail <u>tolist</u></code><br />
 +
...where <u>tolist</u> is a space-seperated list of email addresses you'd like to send the message to.  Valid inputs for the tolist might be:
 +
#<code>example@example.com</code> - This will send the email to example@example.com only.
 +
#<code>'Example User <example@example.com>'</code> - This will send the email to example@example.com only and display the destination's name, Example User, instead of just their email address.  Since the spaces in this example aren't intended to separate two email addresses, the address must be surrounded with single quotes!  Also note the use of angle brackets to delimit the email address itself.
 +
#<code>example@example.com example2@example.org example3@example.net</code> - Sends an email to multiple addresses
 +
#<code>example@example.com example2@example.org 'Another Example User <example3@example.net>'</code>
 +
 
 +
To send a message to another LizardMail address (i.e., another LizardShell user), specify their full LizardMail address - e.g., username [at] lizardwiki [dot] dyndns [dot] org.
 +
 
 +
You will then be prompted for the subject of the message.  Press enter after entering it.  You can now type your message.  Note that the message is plain-text only (no HTML).  When you're done typing the message, add a blank line at the end of the message, then press <code><nowiki><Ctrl>+<D></nowiki></code>.  The message will then be sent.  You do not need to re-enter your username or password, since you're already logged in to the server.
 +
 
 +
Before sending the message, you can abort it by pressing <code><nowiki><Ctrl>+<C></nowiki></code> '''twice'''.
  
'''Under construction!'''
+
'''Under construction'''

Revision as of 23:28, 8 July 2010

Under construction!

This is information regarding LizardMail, the mailserver component of the LizardWiki server, which users with shell accounts on the server have access to.

This guide is separated into sections, depending on how you want to access the server.

Notes

  • Your email address is your account name at lizardwiki dot dyndns dot org. For example, if you login using SSH as 'thedoctor', your address would be thedoctor at lizardwiki dot dyndns dot org (replace 'at' with @ and 'dot' with .).
  • Abuse of LizardMail is sufficient grounds for immediate account termination. Use of LizardMail is monitored.

From the Terminal (easy)

  • Note that, if you are restricted to using LizardShell as your login shell (instead of, say, bash), you are severely limited in what you can do, so you might want to take the time and effort to use a mail client (i.e., the somewhat harder way; see below).

Checking mail

The easiest way to access your mail is from the terminal. Log in to the server using SSH like you normally would. After the MOTD prints, you will see either "No mail." or "You have new mail." (or similar). The latter, of course, means that you have new mail. If you have new mail, simply run the mail to check your new emails. Use the ? command in the mail viewer for some basic assistance. To check saved mails, use the command mail -f mail/Saved (you cannot yet do this if you use LizardShell). New messages that are not automatically deleted are saved when you quit the mail program.

If you are already logged into the server and a new message arrives, you should get a message that says You have new mail in /var/mail/username.

Sending mail

Note: At this time, LizardShell users are unable to send mail using this method.

To initiate the process, log in to the server using SSH like you normally would. Then, type the command:
mail tolist
...where tolist is a space-seperated list of email addresses you'd like to send the message to. Valid inputs for the tolist might be:

  1. example@example.com - This will send the email to example@example.com only.
  2. 'Example User <example@example.com>' - This will send the email to example@example.com only and display the destination's name, Example User, instead of just their email address. Since the spaces in this example aren't intended to separate two email addresses, the address must be surrounded with single quotes! Also note the use of angle brackets to delimit the email address itself.
  3. example@example.com example2@example.org example3@example.net - Sends an email to multiple addresses
  4. example@example.com example2@example.org 'Another Example User <example3@example.net>'

To send a message to another LizardMail address (i.e., another LizardShell user), specify their full LizardMail address - e.g., username [at] lizardwiki [dot] dyndns [dot] org.

You will then be prompted for the subject of the message. Press enter after entering it. You can now type your message. Note that the message is plain-text only (no HTML). When you're done typing the message, add a blank line at the end of the message, then press <Ctrl>+<D>. The message will then be sent. You do not need to re-enter your username or password, since you're already logged in to the server.

Before sending the message, you can abort it by pressing <Ctrl>+<C> twice.

Under construction