The translation is temporarily closed for contributions due to maintenance, please come back later.

Source string Read only

(itstool) path: sect1/para
Context English State
Support for the <acronym>POP3</acronym>, <acronym>APOP</acronym>, <acronym>KPOP</acronym>, <acronym>IMAP</acronym>, <acronym>ETRN</acronym> and <acronym>ODMR</acronym> protocols.
Ability to forward mail using <acronym>SMTP</acronym>, which allows filtering, forwarding, and aliasing to function normally.
May be run in daemon mode to check periodically for new messages.
Can retrieve multiple mailboxes and forward them, based on configuration, to different local users.
This section explains some of the basic features of <application>fetchmail</application>. This utility requires a <filename>.fetchmailrc</filename> configuration in the user's home directory in order to run correctly. This file includes server information as well as login credentials. Due to the sensitive nature of the contents of this file, it is advisable to make it readable only by the user, with the following command:
<prompt>%</prompt> <userinput>chmod 600 .fetchmailrc</userinput>
The following <filename>.fetchmailrc</filename> serves as an example for downloading a single user mailbox using <acronym>POP</acronym>. It tells <application>fetchmail</application> to connect to <systemitem class="fqdomainname">example.com</systemitem> using a username of <systemitem class="username">joesoap</systemitem> and a password of <literal>XXX</literal>. This example assumes that the user <systemitem class="username">joesoap</systemitem> exists on the local system.
poll example.com protocol pop3 username "joesoap" password "XXX"
The next example connects to multiple <acronym>POP</acronym> and <acronym>IMAP</acronym> servers and redirects to different local usernames where applicable:
poll example.com proto pop3:
user "joesoap", with password "XXX", is "jsoap" here;
user "andrea", with password "XXXX";
poll example2.net proto imap:
user "john", with password "XXXXX", is "myth" here;
<application>fetchmail</application> can be run in daemon mode by running it with <option>-d</option>, followed by the interval (in seconds) that <application>fetchmail</application> should poll servers listed in <filename>.fetchmailrc</filename>. The following example configures <application>fetchmail</application> to poll every 600 seconds:
<prompt>%</prompt> <userinput>fetchmail -d 600</userinput>
More information on <application>fetchmail</application> can be found at <uri xlink:href="http://www.fetchmail.info/">http://www.fetchmail.info/</uri>.
Using <application>procmail</application>
<primary>procmail</primary>
<application>procmail</application> is a powerful application used to filter incoming mail. It allows users to define <quote>rules</quote> which can be matched to incoming mails to perform specific functions or to reroute mail to alternative mailboxes or email addresses. <application>procmail</application> can be installed using the <package>mail/procmail</package> port. Once installed, it can be directly integrated into most <acronym>MTA</acronym>s. Consult the <acronym>MTA</acronym> documentation for more information. Alternatively, <application>procmail</application> can be integrated by adding the following line to a <filename>.forward</filename> in the home directory of the user:
"|exec /usr/local/bin/procmail || exit 75"
The following section displays some basic <application>procmail</application> rules, as well as brief descriptions of what they do. Rules must be inserted into a <filename>.procmailrc</filename>, which must reside in the user's home directory.
The majority of these rules can be found in <citerefentry vendor="ports"><refentrytitle>procmailex</refentrytitle><manvolnum>5</manvolnum></citerefentry>.
To forward all mail from <email>user@example.com</email> to an external address of <email role="nolink">goodmail@example2.com</email>:
:0
* ^From.*user@example.com
! goodmail@example2.com
To forward all mails shorter than 1000 bytes to an external address of <email role="nolink">goodmail@example2.com</email>:
:0
* &lt; 1000
! goodmail@example2.com
To send all mail sent to <email>alternate@example.com</email> to a mailbox called <filename>alternate</filename>:
:0
* ^TOalternate@example.com
alternate
To send all mail with a subject of <quote>Spam</quote> to <filename>/dev/null</filename>:
:0
^Subject:.*Spam
/dev/null
A useful recipe that parses incoming <systemitem class="fqdomainname">FreeBSD.org</systemitem> mailing lists and places each list in its own mailbox:
:0
* ^Sender:.owner-freebsd-\/[^@]+@FreeBSD.ORG
{
LISTNAME=${MATCH}
:0
* LISTNAME??^\/[^@]+
FreeBSD-${MATCH}
}
Network Servers
This chapter covers some of the more frequently used network services on <trademark class="registered">UNIX</trademark> systems. This includes installing, configuring, testing, and maintaining many different types of network services. Example configuration files are included throughout this chapter for reference.

Loading…

No matching activity found.

Browse all component changes

Source information

Source string comment
(itstool) path: sect1/para
Flags
read-only
Source string location
book.translate.xml:54879
String age
a year ago
Source string age
a year ago
Translation file
books/handbook.pot, string 8948