You can use the mail server to send and receive email messages. When you send an email message, you must specify the email address of the user you want to send the email to. For information about an email address, see "Setting up a mail server using qmail."
You should not use the mail server directly to send or receive email. You should always use a mail client application, such as Netscape Messenger, to connect to the mail server to send and receive email messages. You can set up an email account with the mail client application the same way you normally would; however, you should specify the IP address of your mail server (or domain name) when you are prompted to specify a mail server. Once the mail client application is set up, you can send and receive email messages. You must provide a valid user name and password to access email from the mail server using a mail client application.
You can send a test email message to a user on the mail server from the Console. The test email does not contain a message and is only used to test the mail server. The following email illustrates the content of a test email:
Return-Path: <scottm@scottm.corel.lnx>
Delivered-To: scottm@leop_doc1.corel.lnx
Received: (qmail 8713 invoked by uid 0); 19 Oct 1999 10:57:30 -0000
Date: 19 Oct 1999 10:57:30 -0000
From: scottm@scottm.corel.lnx
to: scottm@leop_doc1.corel.lnx
You can send a test email message from the Console by using the following command:
echo to: <email address>| qmail-inject
In the above command, you must specify a valid user on the mail server. You should only use this command to test the mail server.
You must start the mail server to ensure that mail clients can connect to it. You must restart the mail server when you make a change to a configuration file. If you do not restart the mail server, changes you make to a configuration file will not take effect.
Note
You can use any mail client application to connect to the mail server. To retrieve email using a mail client, you must provide a valid user name and password.