eximis a mail transfer agent (MTA).
The Exim manual describes exim like this. exim “contains facilities for verifying incoming sender and recipient addresses, for refusing mail from specified hosts, networks, or senders, and for controlling mail relaying”. and the Debian Reference. It sounds complicated! This is where Debian comes to the rescue. You install exim from a Debian package (.deb file). exim is probably already configured and working.
The inetd.conf file starts exim running every time you boot your computer (see Exim's README.Debian file).
You may find the newbieDoc article “A simple configuration of Exim” useful.
$ mail local-user Subject: local message hello ctrl-D Cc: ctrl-D $ |
$ cat /var/mail/local-user From local-user@local-host Wed Feb 04 12:11:46 2004 Return-path: <local-user@local-host> Envelope-to: local-user@local-host Received: from local-user by local-host with local (Exim 3.35 #1 (Debian)) id 1AoLsg-0000in-00 for <local-user@local-host>; Wed, 04 Feb 2004 12:11:46 +0000 To: <local-user@local-host> Subject: local message Message-Id: <E1AoLsg-0000in-00@local-host> From: local-user <local-user@local-host> Date: Wed, 04 Feb 2004 12:11:46 +0000 Status: O hello $ |
Read the message using mail. Use the 'enter' key to open the message and enter 'q' to quit.
$ mail Mail version 8.1.2 01/15/2001. Type ? for help. "/var/mail/local-user": 1 message 1 new >N 1 local-user@local-host Wed Feb 04 12:11 14/394 local message hello & q Saved 1 message in /home/local-user/mbox $ |
Mail stores messages in the /home/local-user/mbox file. You can check this too.
$ cat /home/local-user/mbox |
|/usr/bin/procmail |
$ chmod -v 0644 /home/local-user/.forward mode of `/home/local-user/.forward' changed to 0644 (rw-r--r--) |