Fetchmail - Red Hat ENTERPRISE LINUX 4.5.0 Reference Manual

Table of Contents

Advertisement

Chapter 11. Email
• Edit the
/etc/postfix/main.cf
• Uncomment the
mydomain
the domain the mail server is servicing, such as
• Uncomment the
myorigin = $mydomain
• Uncomment the
myhostname
machine.
• Uncomment the
mydestination = $myhostname, localhost.$mydomain
• Uncomment the
mynetworks
for hosts that can connect to the server.
• Uncomment the
inet_interfaces = all
• Restart the
postfix
Once these steps are complete, the host accepts outside emails for delivery.
Postfix has a large assortment of configuration options. One of the best ways to learn how to
configure Postfix is to read the comments within
including information about LDAP and SpamAssassin integration are available online at
http://www.postfix.org/.

3.3. Fetchmail

Fetchmail is an MTA which retrieves email from remote servers and delivers it to the local MTA.
Many users appreciate the ability to separate the process of downloading their messages
located on a remote server from the process of reading and organizing their email in an MUA.
Designed with the needs of dial-up users in mind, Fetchmail connects and quickly downloads all
of the email messages to the mail spool file using any number of protocols, including POP3 and
IMAP. It can even forward email messages to an SMTP server, if necessary.
Fetchmail is configured for each user through the use of a
directory.
Using preferences in the
downloads it. It then delivers it to port 25 on the local machine, using the local MTA to place the
email in the correct user's spool file. If Procmail is available, it is launched to filter the email and
place it in a mailbox so that it can be read by an MUA.
3.3.1. Fetchmail Configuration Options
Although it is possible to pass all necessary options on the command line to check for email on
a remote server when executing Fetchmail, using a
any desired configuration options in the
time the
command is issued. It is possible to override these at the time Fetchmail is
fetchmail
run by specifying that option on the command line.
196
file with a text editor, such as
line by removing the hash mark (
line.
line, and replace
line, and replace
service.
file, Fetchmail checks for email on a remote server and
.fetchmailrc
.fetchmailrc
vi
), and replace
#
.
example.com
host.domain.tld
168.100.189.0/28
line.
/etc/postfix/main.cf
.fetchmailrc
.fetchmailrc
file for those options to be used each
.
domain.tld
with the hostname for the
line.
with a valid network setting
. Additional resources
file in the user's home
file is much easier. Place
with

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ENTERPRISE LINUX 4.5.0 and is the answer not in the manual?

Questions and answers

Table of Contents