Web site counters - Chapter 25 . Running a Mail Server 679

Chapter 25 . Running a Mail Server 679 Mail name: Enter the name of your mail server here. IP addresses: Clear this box (or leave it empty if it is already so) so that Exim will listen on all local IP addresses. Destinations to accept mail for: Enter any domains that your server will be accepting mail for. Be sure to separate them with colons, and not commas or spaces. Domains to relay for: Enter the names of any domains that your machine will relay mail for, meaning that it can receive mail from them but then passes it on. In most cases, you will not want to enter anything here. Machines to relay for: Enter the IP address ranges of any client machines that you want your server to accept mail from. Another (safer) option is to leave this empty and require clients to authenticate using SMTP authentication. SMTP authentication is best performed over an encrypted connection, so this process is described in the security section at the end of this chapter. Keep DNS queries to a minimum: No. 3. This configuration uses Maildrop for local mail delivery. Maildrop can deliver messages to the Maildir-style folders that Courier is expecting, and can also handle basic sorting and filtering (as described in the Configuring Mail Clients section). This package is not installed by default, so install it as follows: # apt-get install maildrop 4. Create Maildir mail directories for every user already on the system. This step must be performed for every user that is already on the system, and must be run as the user because running this command as root will result in Maildrop being unable to write to the folders: $ maildirmake.maildrop $HOME/Maildir $ maildirmake.maildrop -f Trash $HOME/Maildir 5. Create mail directories under /etc/skel. The contents of /etc/skel will be copied to the home directories of any new accounts that you create after the setup is completed: # maildirmake.maildrop /etc/skel/Maildir # maildirmake.maildrop -f Trash /etc/skel/Maildir 6. Configure Maildrop to deliver to the Maildir folders instead of mbox files stored in /var/spool/mail. Use your favorite text editor to edit /etc/ maildroprc and add this line at the end of the file: DEFAULT= $HOME/Maildir/
In case you need quality webspace to host and run your web applications, try our personal web hosting services.

Leave a Reply