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
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"></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 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 proto pop3:
user "joesoap", with password "XXX", is "jsoap" here;
user "andrea", with password "XXXX";
poll 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=""></uri>.
Using <application>procmail</application>
<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></email> to an external address of <email role="nolink"></email>:
* ^From.*
To forward all mails shorter than 1000 bytes to an external address of <email role="nolink"></email>:
* &lt; 1000
To send all mail sent to <email></email> to a mailbox called <filename>alternate</filename>:
* ^
To send all mail with a subject of <quote>Spam</quote> to <filename>/dev/null</filename>:
A useful recipe that parses incoming <systemitem class="fqdomainname"></systemitem> mailing lists and places each list in its own mailbox:
* ^Sender:.owner-freebsd-\/[^@]+@FreeBSD.ORG
* LISTNAME??^\/[^@]+
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.
By the end of this chapter, readers will know:
How to manage the <application>inetd</application> daemon.
How to set up the Network File System (<acronym>NFS</acronym>).
How to set up the Network Information Server (<acronym>NIS</acronym>) for centralizing and sharing user accounts.
How to set FreeBSD up to act as an <acronym>LDAP</acronym> server or client
How to set up automatic network settings using <acronym>DHCP</acronym>.


No matching activity found.

Browse all component changes

Source information

Source string comment
(itstool) path: sect1/para
Source string location
String age
a year ago
Source string age
a year ago
Translation file
books/handbook.pot, string 8954