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 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.
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>.
How to set up a Domain Name Server (<acronym>DNS</acronym>).
How to set up the <application>Apache</application> <acronym>HTTP</acronym> Server.

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:54918
String age
a year ago
Source string age
a year ago
Translation file
books/handbook.pot, string 8956