diff options
Diffstat (limited to 'doc/gettext/mailfilter-guide.xml.pot')
-rw-r--r-- | doc/gettext/mailfilter-guide.xml.pot | 784 |
1 files changed, 388 insertions, 396 deletions
diff --git a/doc/gettext/mailfilter-guide.xml.pot b/doc/gettext/mailfilter-guide.xml.pot index 1280b00..9291355 100644 --- a/doc/gettext/mailfilter-guide.xml.pot +++ b/doc/gettext/mailfilter-guide.xml.pot @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2010-10-21 23:56+0600\n" +"POT-Creation-Date: 2011-03-02 17:28+0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -9,394 +9,390 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(guide:link):6 -msgid "/doc/en/mailfilter-guide.xml" -msgstr "" - -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):7 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):6 msgid "Gentoo mailfiltering gateway guide" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(author:title):9 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(author:title):8 msgid "Author" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(mail:link):10 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(mail:link):9 msgid "jaervosz@gentoo.org" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(mail):10 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(mail):9 msgid "Sune Kloppenborg Jeppesen" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(author:title):12 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(author:title):11 msgid "Contributor" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(mail:link):13 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(mail:link):12 msgid "gentoo@hilli.dk" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(mail):13 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(mail):12 msgid "Jens Hilligsøe" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(author:title):15 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(author:title):14 msgid "Editor" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(mail:link):16 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(mail:link):15 msgid "nightmorph@gentoo.org" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(mail):16 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(mail):15 msgid "Joshua Saddler" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(abstract):19 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(abstract):18 msgid "This guide is step-by-step guide for installing spam fighting technologies for Postfix. Among them Amavisd-new using Spamassassin and ClamAV, greylisting and SPF." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(version):29 -msgid "0.14" +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(version):28 +msgid "1" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(date):30 -msgid "2007-08-02" +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(date):29 +msgid "2011-03-02" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):33 ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1296 ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1521 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):32 ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1283 ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1508 msgid "Introduction" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):37 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):36 msgid "This guide describe step by step how to install a spam and virus filtering mail gateway. It is quite simple to adopt this to a single server solution." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):45 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):44 msgid "The big picture" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):48 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):47 msgid "This document describe how to setup a spam filtering mail gateway with multiple domains. This server is meant to run in front of the mail servers actually keeping the mail accounts i.e. Microsoft Exchange or Lotus Notes." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):55 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):54 msgid "In this setup applications with good security records and readable configuration files have been chosen. The email MTA is postfix which has a good security record and is fairly easy to setup right. Postfix will listen normally on port 25 for incoming mail. Upon reception it will forward it to Amavisd-new on port 10024. Amavisd-new will then filter the mail through different filters before passing the mail back to Postfix on port 10025 which in turn will forward the mail to the next mail server." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):65 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):64 msgid "Amavisd-new is a content filtering framework utilizing helper applications for virus filtering and spam filtering. In this setup we will be using two helper applications one ClamAV for filtering virus mails and Spamassassin for filtering spam. Spamassassin itself can function as yet another layer of content filtering framework and utilize the helper applications Vipul's Razor2 and DCC." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):73 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):72 msgid "Unlike many other spam fighting technologies like RBLs and others Spamassassin does not simply accept or reject a given email based on one single test. It uses a lot of internal tests and external helper applications to calculate a spam score for every mail passed through. This score is based on the following tests:" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(li):81 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(li):80 msgid "Bayesian filtering" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(li):82 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(li):81 msgid "Static rules based on regular expressions" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(li):85 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(li):84 msgid "RBLs" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(li):86 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(li):85 msgid "Razor2" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(li):87 ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2106 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(li):86 ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2093 msgid "Pyzor" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(li):88 ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(ti):236 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(li):87 ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(ti):235 msgid "DCC" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(li):83 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(li):82 msgid "Distributed and collaborative networks: <placeholder-1/>" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):93 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):92 msgid "The first part (chapters 1 to 4) of the guide will describe the basic setup of a mailfiltering gateway. The next chapters can be implemented individually with no dependence between each chapter. These chapters describe how to:" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(li):100 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(li):99 msgid "setup special IMAP folders for learning of the Bayesian filter and for delivery of false positives" msgstr "" #. <li>setup log analyzers to create daily reports</li> -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(li):107 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(li):106 msgid "setup greylisting with Postfix" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(li):108 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(li):107 msgid "setup Amavisd-new to use a MySQL backend for user preferences" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(li):109 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(li):108 msgid "setup Spamassassin to use a MySQL backend for AWL and Bayes data" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):112 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):111 msgid "The IMAP folders will be using the maildir format. Having each mail in a separate file makes handling much simpler. If you're using mbox I propose to give maildir a try. If you're not already using maildir emerge the necessary tools with <c>emerge courier-imap</c>." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):119 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):118 msgid "A planned fifth part will contain various tips regarding performance and things you may want to know (running chrooted, postfix restrictions, etc.)." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):124 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):123 msgid "Delegating responsibility to third parties is not without risks. You have to know and trust these third parties. In this setup only the decision to quarantine virus mails are based on a single third party. Using Spamassassin's scoring system the decision to stop spam mails are not made by a single authority except perhaps Spamassassins own static rules." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(warn):132 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(warn):131 msgid "When rejecting spam mails at the MTA level you have to be very careful when selecting the RBL's you want to use, i.e. SpamCop is a bad RBL to use at the MTA level because you will experience false positives because sometimes their listing is just too aggressive. Further info at <uri link=\"http://www.geekcomix.com/cgi-bin/classnotes/wiki.pl?UNIX03/Realtime_Blackhole_Lists_Are_Bad\">Realtime Blackhole Lists Are Bad</uri> and <uri link=\"http://theory.whirlycott.com/~phil/antispam/rbl-bad/rbl-bad.html\">The Spam Problem: Moving Beyond RBLs</uri>" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):146 ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1572 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):145 ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1559 msgid "Preparations" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):149 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):148 msgid "Before you start make sure that you have a working Postfix installation where you can send and receive mails also you need a backend mailserver. If you're not experienced with setting up Postfix it might quickly become too complicated if all should be set up at once. If you need help you can find it in the excellent <uri link=\"http://www.gentoo.org/doc/en/virt-mail-howto.xml\">Virtual Mailhosting System with Postfix Guide</uri> in the Gentoo Documentation." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):163 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):162 msgid "Installing the programs needed" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):167 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):166 msgid "We start out by installing the most important programs: Amavisd-new, Spamassassin and ClamAV." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):172 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):171 msgid "Installing Amavis, Spamassassin and Clamav" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):172 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):171 #, no-wrap msgid "\n# <i>emerge amavisd-new spamassassin clamav </i>\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):176 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):175 msgid "As previously mentioned you should already have a working <c>postfix</c> instance running on the box. Basically this shouldn't be much more than <c>emerge postfix</c><e>and</e> have a basic understanding of how Postfix is working." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):186 ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):204 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):185 ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):203 msgid "Setting up DNS" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):189 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):188 msgid "If you're not setting up a gateway server but have the mailboxes on the same server you only have to create the MX-Record." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):194 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):193 msgid "While the programs are emerging fire up another shell and create the needed DNS records." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):199 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):198 msgid "Start out by creating a <c>MX</c> record for the mail gateway and an <c>A</c> record for the next destination." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):204 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):203 #, no-wrap msgid "\n<comment>(Create a MX record for the gateway server)</comment>\n MX 10 mailgateway.mydomain.tld.\n<comment>(Create an A record for the gateway server)</comment>\nmailgateway A mgw.ip.add.here\n<comment>(Create an A record for the next hop mail server)</comment>\nmail A ms.ip.add.here\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):213 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):212 msgid "Some ADSL providers might block port 25 and force you to relay mail through one of their servers. Typically you have to create a secondary MX-Record like <c>MX 20 backup-mx.some-isp.tld</c>" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):222 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):221 msgid "Opening the firewall" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):225 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):224 msgid "In addition to allowing normal mail traffic you have to allow a few services through your firewall to allow the network checks to communicate with the servers." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(th):233 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(th):232 msgid "Application" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(th):233 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(th):232 msgid "Protocol" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(th):233 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(th):232 msgid "Port" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(ti):236 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(ti):235 msgid "UDP" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(ti):236 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(ti):235 msgid "6277" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(ti):239 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(ti):238 msgid "Razor(outgoing ping)" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(ti):239 ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(ti):242 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(ti):238 ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(ti):241 msgid "TCP" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(ti):239 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(ti):238 msgid "7" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(ti):242 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(ti):241 msgid "Razor" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(ti):242 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(ti):241 msgid "2703" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):246 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):245 msgid "Razor uses pings to discover what servers are closest to it." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):253 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):252 msgid "Configuring Postfix" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):256 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):255 msgid "First we have to tell <c>postfix</c> to listen on port 10025 and we remove most of the restrictions as they have already been applied by the <c>postfix</c> instance listening on port 25. Also we ensure that it will only listen for local connections on port 10025. To accomplish this we have to add the following at the end of <path>/etc/postfix/master.cf</path>" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):264 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):263 msgid "Changing the master.cf file" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):264 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):263 #, no-wrap msgid "\nsmtp-amavis unix - - n - 2 smtp\n -o smtp_data_done_timeout=1200\n -o smtp_send_xforward_command=yes\n<comment>#Equivalently when using lmtp:\n#lmtp-amavis unix - - n - 2 lmtp\n# -o lmtp_data_done_timeout=1200\n# -o lmtp_send_xforward_command=yes</comment>\n\n127.0.0.1:10025 inet n - n - - smtpd\n -o content_filter=\n -o local_recipient_maps=\n -o relay_recipient_maps=\n -o smtpd_restriction_classes=\n -o smtpd_client_restrictions=\n -o smtpd_helo_restrictions=\n -o smtpd_sender_restrictions=\n -o smtpd_recipient_restrictions=permit_mynetworks,reject\n -o mynetworks=127.0.0.0/8\n -o strict_rfc821_envelopes=yes\n -o smtpd_error_sleep_time=0\n -o smtpd_soft_error_limit=1001\n -o smtpd_hard_error_limit=1000\n\n<comment>#If you want to use proxy filtering instead\n#smtp inet n - n - 8 smtpd\n# -o smtpd_proxy_filter=127.0.0.1:10024\n# -o smtpd_client_connection_count_limit=4\n#If you don't want to scan outgoing mail use this\n#10.0.0.2:smtp inet n - n - - smtpd\n#-o content_filter=</comment>\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):297 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):296 msgid "The <c>smtp-amavis</c> line specifies that a maximum of two of these processes may run at any time. If you need a greater degree of concurrency tune this number to fit your needs. Remember that to match the number with <c>$max_servers</c> in <path>amavisd.conf</path>. Keep in mind that <c>amavisd-new</c> is quite memory-intensive and raising the amount of <c>amavisd-new</c> processes too high can easily lead to memory starvation and heavy swapping, which leads to drastically reduced performance." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):307 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):306 msgid "If you want to reject spam early on in the process you can use the Before-Queue (proxy) method instead of the filter method. If you uncomment the three lines you will have to set <c>content_filter=</c> in <path>main.cf</path>. This is not recommended for high traffic servers as the number of concurrent connections are limited to the number of amavisd instances." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(warn):316 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(warn):315 msgid "The Before-Queue(proxy) method is still not properly tested." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):320 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):319 msgid "If you, for any reason whatsoever, want to send mail from this box and don't want it scanned, add another postfix instance by uncommenting the last two lines and substitute with a proper IP." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):326 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):325 msgid "The file <path>master.cf</path> tells the postfix master program how to run each individual postfix process. More info with <c>man 8 master</c>." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):332 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):331 msgid "Next we need the main <c>postfix</c> instance listening on port 25 to filter the mail through <c>amavisd-new</c> listening on port 10024." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):337 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):336 msgid "We also need to set the next hop destination for mail. Tell Postfix to filter all mail through an external content filter and enable explicit routing to let Postfix know where to forward the mail to." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):343 ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):985 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):342 ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):984 msgid "Modifying /etc/postfix/main.cf" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):343 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):342 #, no-wrap msgid "\nbiff = no\nempty_address_recipient = MAILER-DAEMON\nqueue_minfree = 120000000\n\ncontent_filter = smtp-amavis:[127.0.0.1]:10024\n<comment>#Equivalently when using lmtp:\n#content_filter = lmtp-amavis:[127.0.0.1]:10024\n\n# TRANSPORT MAP\n#\n# Insert text from sample-transport.cf if you need explicit routing.</comment>\ntransport_maps = hash:/etc/postfix/transport\n\nrelay_domains = $transport_maps\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):360 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):359 msgid "Postfix has a lot of options set in <path>main.cf</path>. For further explanation of the file please consult <c>man 5 postconf</c> or the same online <uri link=\"http://www.postfix.org/postconf.5.html\">Postfix Configuration Parameters</uri>." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):367 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):366 msgid "The format of the <path>transport</path> file is the normal Postfix hash file. Mail to the domain on the left hand side is forwarded to the destination on the right hand side." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):373 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):372 msgid "/etc/postfix/transport" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):373 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):372 #, no-wrap msgid "\nmydomain.tld smtp:mail.mydomain.tld\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):377 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):376 msgid "After we have edited the file we need to run the <c>postmap</c> command. Postfix does not actually read this file so we have to convert it to the proper format with <c>postmap /etc/postfix/transport</c>. This creates the file <path>/etc/postfix/transport.db</path>. There is no need to reload Postfix as it will automatically pick up the changes." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):385 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):384 msgid "If the next hop mail server is not listening on the standard SMTP port 25 you can tell postfix to use a given port number, like <c>smtp:mail.mydomain.tld:25000</c>." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):391 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):390 msgid "If your first attempts to send mail result in messages bouncing, you've likely made a configuration error somewhere. Try temporarily enabling <c>soft_bounce</c> while you work out your configuration issues. This prevents postfix from bouncing mails on delivery errors by treating them as temporary errors. It keeps mails in the mail queue until <c>soft_bounce</c> is disabled or removed." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):400 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):399 msgid "Enabling soft_bounce" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):400 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):399 #, no-wrap msgid "\n# <i>postconf -e \"soft_bounce = yes\"</i>\n# <i>/etc/init.d/postfix reload</i>\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):405 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):404 msgid "Once you've finished creating a working configuration, be sure to disable or remove <c>soft_bounce</c> and reload postfix." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):413 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):412 msgid "Configuring Amavisd-new" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):416 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):415 msgid "Amavisd-new is used to handle all the filtering and allows you to easily glue together severel different technologies. Upon reception of a mail message it will extract the mail, filter it through some custom filters, handle white and black listing, filter the mail through various virus scanners and finally it will filter the mail using SpamAssassin." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):424 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):423 msgid "Amavisd-new itself has a number of extra features:" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(li):429 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(li):428 msgid "it identifies dangerous file attachments and has policies to handle them" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(li):435 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(li):434 msgid "whitelists" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(li):436 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(li):435 msgid "blacklists" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(li):437 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(li):436 msgid "spam score thresholds" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(li):438 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(li):437 msgid "virus and spam policies" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(li):432 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(li):431 msgid "per-user, per-domain and system-wide policies for: <placeholder-1/>" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):443 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):442 msgid "Apart from <c>postfix</c> and <c>freshclam</c> we will run all applications as the user <c>amavis</c>." msgstr "" @@ -409,1207 +405,1203 @@ msgstr "" #. # <i>chown amavis:amavis /var/amavis</i> #. # <i>chmod 750 /var/amavis</i> #. </pre> -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):466 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):465 msgid "Edit the following lines in <path>/etc/amavisd.conf</path>" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):470 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):469 msgid "Editing /etc/amavisd.conf" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):470 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):469 #, no-wrap msgid "\n<comment>(Insert the domains to be scanned)</comment>\n$mydomain = 'example.com';\n<comment>(Bind only to loopback interface)</comment>\n$inet_socket_bind = '127.0.0.1';\n<comment>(Forward to Postfix on port 10025)</comment>\n$forward_method = 'smtp:127.0.0.1:10025';\n$notify_method = $forward_method;\n<comment>(Define the account to send virus alert emails)</comment>\n$virus_admin = \"virusalert\\@$mydomain\";\n<comment>(Always add spam headers)</comment>\n$sa_tag_level_deflt = -100;\n<comment>(Add spam detected header aka X-Spam-Status: Yes)</comment>\n$sa_tag2_level_deflt = 5;\n<comment>(Trigger evasive action at this spam level)</comment>\n$sa_kill_level_deflt = $sa_tag2_level_deflt;\n<comment>(Do not send delivery status notification to sender. It does not affect\ndelivery of spam to recipient. To do that, use the kill_level)</comment>\n$sa_dsn_cutoff_level = 10;\n<comment>Don't bounce messages left and right, quarantine\ninstead</comment>\n$final_virus_destiny = D_DISCARD; # (defaults to D_DISCARD)\n$final_banned_destiny = D_DISCARD; # (defaults to D_BOUNCE)\n$final_spam_destiny = D_DISCARD; # (defaults to D_BOUNCE)\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):496 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):495 msgid "With this line <c>$sa_tag2_level_deflt = 5;</c> you set the Spamassassin spam score to 5. This might be a bit low. As you might have noticed the Amavisd-new default is <c>6.3</c>. If you don't want to see a single spam mail in your mail folder choose <c>5</c>, but if you don't want to deal with false positives choose <c>6.3</c>." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):504 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):503 msgid "Create a quarantine directory for the virus mails as we don't want these delivered to our users." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):509 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):508 msgid "Create a quarantine directory for the virus mails" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):509 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):508 #, no-wrap msgid "\n# <i>mkdir /var/amavis/virusmails</i>\n# <i>chown amavis:amavis /var/amavis/virusmails</i>\n# <i>chmod 750 /var/amavis/virusmails</i>\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):515 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):514 msgid "Amavisd-new offers finer policy tuning by using policy banks." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):522 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):521 msgid "Configuring ClamAV" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):525 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):524 msgid "As virus scanner we use ClamAV as it has a fine detection rate comparable with commercial offerings, it is very fast and it is Open Source Software. We love log files, so make <c>clamd</c> log using <c>syslog</c> and turn on verbose logging. Also do not run <c>clamd</c> as <c>root</c>. Now edit <path>/etc/clamd.conf</path>" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):533 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):532 msgid "Edit /etc/clamd.conf" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):533 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):532 #, no-wrap msgid "\n<comment>(Verbose logging with syslog)</comment>\nLogSyslog\nLogVerbose\nLogFacility LOG_MAIL\n<comment>(Change pid file location)</comment>\nPidFile /var/run/amavis/clamd.pid\n<comment>(Set the clamav socket)</comment>\nLocalSocket /var/amavis/clamd\n<comment>(Close the connection when this limit is exceeded)</comment>\nStreamMaxLength 10M\n<comment>(Don't run clamd as root)</comment>\nUser amavis\n<comment>(Newer versions require you to uncomment this)</comment>\nScanMail\nScanArchive\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):551 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):550 msgid "Also remember to remove the Example directive to make ClamAV work" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):555 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):554 msgid "ClamAV comes with the <c>freshclam</c> deamon dedicated to periodical checks of virus signature updates. Instead of updating virus signatures twice a day we will make <c>freshclam</c> update virus signatures every two hours." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):561 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):560 msgid "Edit /etc/freshclam.conf" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):561 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):560 #, no-wrap msgid "\n<comment>(Syslog logging)</comment>\nLogSyslog\n<comment>(Verbose logging)</comment>\nLogVerbose\n<comment>(Explicitly drop root privileges)</comment>\nDatabaseOwner clamav\n<comment>(Check for updates every two hours. That is the official recommendation)</comment>\nChecks 12\n<comment>(Use the mirror closest to you. Replace XY with your country code</comment>\nDatabaseMirror db.XY.clamav.net\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):574 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):573 msgid "Start <c>clamd</c> with <c>freshclam</c> using the init scripts by modifying <path>/etc/conf.d/clamd</path>." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):579 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):578 msgid "Modifying /etc/conf.d/clamd" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):579 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):578 #, no-wrap msgid "\nSTART_CLAMD=yes\nFRESHCLAM_OPTS=\"-d\"\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):584 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):583 msgid "At last modify <path>amavisd.conf</path> with the new location of the socket." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):589 ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1087 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):588 ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1086 msgid "Modifying /etc/amavisd.conf" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):589 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):588 #, no-wrap msgid "\n<comment>(Uncomment the clamav scanner and modify socket location)</comment>\n['ClamAV-clamd',\n\\&ask_daemon, [\"CONTSCAN {}\\n\", \"/var/amavis/clamd\"],\n qr/\\bOK$/, qr/\\bFOUND$/,\n qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ],\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(warn):597 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(warn):596 msgid "Do NOT modify the <c>$unix_socketname</c> unless you know what you're doing." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):604 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):603 msgid "Configuring Vipul's Razor" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):607 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):606 msgid "Razor2 is a collaborative and distributed spam checksum network. Install it with <c>emerge razor</c> and create the needed configuration files. Do this as user <c>amavis</c> by running <c>su - amavis</c> followed <c>razor-admin -create</c>." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):614 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):613 msgid "Creating the required configuration files" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):614 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):613 #, no-wrap msgid "\n# <i>emerge razor</i>\n\n<comment>(Temporarily set amavis' shell to bash)</comment>\n# <i>usermod -s /bin/bash amavis</i>\n# <i>su - amavis</i>\n$ <i>razor-admin -create</i>\n$ <i>exit</i>\n\n<comment>(Reset the shell to /bin/false)</comment>\n# <i>usermod -s /bin/false amavis</i>\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):630 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):629 msgid "Configuring Distributed Checksum Clearinghouse (dcc)" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):633 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):632 msgid "Like Razor2, dcc is a collaborative and distributed spam checksum network. Its philosopy is to count the number of recipients of a given mail identifying each mail with a fuzzy checksum." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):639 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):638 msgid "Installing DCC" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):639 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):638 #, no-wrap msgid "\n# <i>emerge dcc</i>\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):646 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):645 msgid "Configuring Spamassassin" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):649 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):648 msgid "Amavis is using the Spamassassin Perl libraries directly so there is no need to start the service. Also this creates some confusion about the configuration as some Spamassassin settings are configured in <path>/etc/mail/spamassassin/local.cf</path> and overridden by options in <path>/etc/amavisd.conf</path>." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):657 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):656 msgid "Create /etc/mail/spamassassin/local.cf" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):657 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):656 #, no-wrap msgid "\n<comment># Enable the Bayes system</comment>\nuse_bayes 1\n\n<comment># Enable all network checks</comment>\nskip_rbl_checks 0\n\n<comment># Mail using languages used in these country codes will not be marked\n# as being possibly spam in a foreign language.\n# - danish english norwegian swedish</comment>\nok_languages da en no sv\n\n<comment># Mail using locales used in these country codes will not be marked\n# as being possibly spam in a foreign language.</comment>\nok_locales en\n\n<comment># Use a sensible bayes path</comment>\nbayes_path /var/amavis/.spamassassin/bayes\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):677 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):676 msgid "With Spamassassin version 3.1 you have to enable DCC, Razor2 by uncommenting the corresponding lines in <path>v310.pre</path>." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):682 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):681 msgid "You can find inspiration for your <path>local.cf</path> file by trying the <uri link=\"http://www.yrex.com/spam/spamconfig.php\">SpamAssassin Configuration Generator</uri>." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):688 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):687 msgid "You might also want to switch the <c>ok_languages</c> and <c>ok_locales</c>." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):697 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):696 msgid "Every good rule has good exceptions as well" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):701 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):700 msgid "Once mail really starts passing through this mail gateway you will probably discover that the above setup is not perfect. Maybe some of your customers like to receive mails that others wouldn't. You can whitelist/blacklist envelope senders quite easily. Uncomment the following line in <path>amavisd.conf</path>." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):709 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):708 msgid "Modifying amavisd.conf to do sitewide scoring" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):709 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):708 #, no-wrap msgid "\nread_hash(\"/var/amavis/sender_scores_sitewide\"),\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):713 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):712 msgid "In the <path>sender_scores_sitewide</path> file you put complete email addresses or just the domian parts and then note a positive/negative score to add to the spam score." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):719 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):718 msgid "whitelist_sender example" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):719 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):718 #, no-wrap msgid "\n<comment>(Whitelist all emails from the specific email address)</comment>\npostmaster@example.net -3.0\n<comment>(Whitelist all emails from the example.net excluding subdomains)</comment>\n.example.net 1.0\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):726 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):725 msgid "See <path>/etc/amavisd.conf</path> for more examples." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):730 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):729 msgid "Placing these addresses outside <path>amavisd.conf</path> is a cleaner and safer solution." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):735 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):734 msgid "Alternatively it can be done in Spamassassin's configuration file <path>/etc/mail/spamassassin/local.cf</path> but I think it is cleaner to do it in <path>/etc/amavisd.conf</path>." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):741 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):740 msgid "In a later chapter I will show how to implement per-user policies using MySQL." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):746 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):745 msgid "While waiting for a better method you can add the following to <path>amavisd.conf</path> to bypass spam checks for <c>postmaster</c> and <c>abuse</c> mailboxes." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):752 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):751 msgid "By pass spam filters for all postmaster and abuse mails" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):752 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):751 #, no-wrap msgid "\nmap { $bypass_spam_checks{lc($_)}=1 } (qw(\n postmaster@\n abuse@\n));\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(impo):759 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(impo):758 msgid "While we are at it we should <e>never</e> automatically discard mails to the <c>postmaster</c> or the <c>abuse</c> accounts. See <uri link=\"http://www.ietf.org/rfc/rfc2142.txt\">RFC 2142 MAILBOX NAMES FOR COMMON SERVICES, ROLES AND FUNCTIONS</uri>. Otherwise your domains might end up listed in some of the evil lists over at <uri link=\"http://www.rfc-ignorant.org/\">rfc-ignorant.org</uri>." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):773 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):772 msgid "Adding more rules" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):777 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):776 msgid "If you want to use more rules provided by the SARE Ninjas over at the <uri link=\"http://www.rulesemporium.com/\">SpamAssassin Rules Emporium</uri> you can easily add and update them using the <c>sa-update</c> mechanism included in Spamassassin." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):784 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):783 msgid "A brief guide to using SARE rulesets with <c>sa-update</c> can be found <uri link=\"http://daryl.dostech.ca/sa-update/sare/sare-sa-update-howto.txt\">here</uri>." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):794 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):793 msgid "Testing and finishing up" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):796 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):795 msgid "Testing the setup" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):799 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):798 msgid "Now before you start <c>freshclam</c> you can manually verify that it works." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):803 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):802 msgid "Testing freshclam" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):803 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):802 #, no-wrap msgid "\n# <i>freshclam</i>\nClamAV update process started at Sun May 2 09:13:41 2004\nReading CVD header (main.cvd): OK\nDownloading main.cvd [*]\nmain.cvd updated (version: 22, sigs: 20229, f-level: 1, builder: tkojm)\nReading CVD header (daily.cvd): OK\nDownloading daily.cvd [*]\ndaily.cvd updated (version: 298, sigs: 1141, f-level: 2, builder: diego)\nDatabase updated (21370 signatures) from database.clamav.net (193.1.219.100).\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):815 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):814 msgid "Now you have updated virus definitions and you know that <path>freshclam.conf</path> is working properly." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):820 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):819 msgid "Test freshclam and amavisd from the cli and amavisd testmails. Start <c>clamd</c> and <c>amavis</c> with the following commands:" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):825 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):824 msgid "Start amavisd and clamd and reload postfix configuration" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):825 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):824 #, no-wrap msgid "\n# <i>/etc/init.d/clamd start</i>\n# <i>/etc/init.d/amavisd start</i>\n# <i>/etc/init.d/postfix reload</i>\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):831 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):830 msgid "If everything went well <c>postfix</c> should now be listening for mails on port 25 and for reinjected mails on port 10024. To verify this check your log file." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):836 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):835 msgid "Checking log files" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):836 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):835 #, no-wrap msgid "\n# <i>tail -f /var/log/mail.log</i>\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):840 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):839 msgid "Depending on your log settings the correct path might be <path>/var/log/messages</path>." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):845 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):844 msgid "Now if no strange messages appear in the log file it is time for a new test." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):850 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):849 msgid "Use <c>netcat</c> to manually connect to <c>amavisd</c> on port 10024 and <c>postfix</c> on port 10025." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):855 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):854 msgid "Netcat can be used as an advanced replacement for <c>telnet</c>. Install it with <c>emerge netcat</c>." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):860 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):859 msgid "For some unknown reason you can not complete a manual mail injection to <c>amavisd</c> with netcat. Use <c>telnet</c> instead." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):865 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):864 msgid "Manually checking that amavisd and postfix are listning to the new ports" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):865 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):864 #, no-wrap msgid "\n# <i>nc localhost 10024</i>\n<comment>(Amavis working)</comment>\n220 [127.0.0.1] ESMTP amavisd-new service ready\n<i>nc localhost 10025</i>\n<comment>(Postfix reinject working)</comment>\n220 example.com ESMTP Postfix\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):874 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):873 msgid "If you want to see the complete output from amavisd-new start <c>amavisd debug-sa</c> as the <c>amavis</c> user and send a mail. For this to work you might have to change the default shell in <path>/etc/passwd</path>." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):881 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):880 msgid "Add <c>amavisd</c> and <c>clamd</c> to the <c>default</c> runlevel." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):885 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):884 msgid "Add amavisd and clamd to the default runlevel" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):885 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):884 #, no-wrap msgid "\n# <i>rc-update add clamd default</i>\n# <i>rc-update add amavisd default</i>\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):890 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):889 msgid "We do not add <c>spamd</c> to the default runlevel as <c>amavisd</c> uses the Spamassassin Perl libraries directly." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):895 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):894 msgid "You might notice <c>Net::Server: Couldn't POSIX::setuid to ... []</c> lines in your log. According to <uri link=\"http://www.ijs.si/software/amavisd/README.chroot\">amavis chroot README</uri>, if the process UID remains 0 (<c>root</c>), the program will terminate, otherwise you can consider the message just as informative. This is because <c>POSIX::setuid()</c> returns a string <c>0 but true</c>." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(impo):905 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(impo):904 msgid "If you enabled login for amavis remember to set back the login shell in <path>/etc/passwd</path> to <c>/bin/false</c>." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):915 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):914 msgid "Autolearning and sidelining emails" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):917 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):916 msgid "Creating the spamtrap user" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):920 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):919 msgid "Create the spamtrap account and directories." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):924 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):923 msgid "Create spamtrap account" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):924 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):923 #, no-wrap msgid "\n# <i>useradd -m spamtrap</i>\n# <i>maildirmake /home/spamtrap/.maildir</i>\n# <i>chown -R spamtrap:mailusers /home/spamtrap/.maildir</i>\n<comment>(Give the spamtrap user a sensible password)</comment>\n# <i>passwd spamtrap</i>\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):932 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):931 msgid "If you manually want to check some of the mails to ensure that you have no false positives you can use the following <c>procmail</c> recipe to sideline spam found into different mail folders." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):941 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):940 msgid "Creating .procmailrc" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):944 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):943 msgid "Creating /home/spamtrap/.procmailrc" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):944 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):943 #, no-wrap msgid "\n<comment>#Set some default variables</comment>\nMAILDIR=$HOME/.maildir\n\nSPAM_FOLDER=$MAILDIR/.spam-found/\n\nLIKELY_SPAM_FOLDER=$MAILDIR/.likely-spam-found/\n\n<comment>#Sort mails with a spamscore of 7+ to the spamfolder</comment>\n:0:\n* ^X-Spam-Status: Yes\n* ^X-Spam-Level: \\*\\*\\*\\*\\*\\*\\*\n$SPAM_FOLDER\n\n<comment>#Sort mail with a spamscore between 5-7 to the likely spam folder</comment>\n:0:\n* ^X-Spam-Status: Yes\n$LIKELY_SPAM_FOLDER\n\n<comment>#Sort all other mails to the inbox</comment>\n:0\n*\n./\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(warn):969 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(warn):968 msgid "If your mail server is going to receive a lot of mail you should NOT use the likely-spam recipe. Instead set <c>$sa_tag2_level_deflt</c> high enough to avoid false positives and filter it directly to <c>$SPAM_FOLDER</c>." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):976 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):975 msgid "If you haven't already installed <c>procmail</c> do it with <c>emerge procmail</c>." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):981 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):980 msgid "Now make sure that Postfix uses <c>procmail</c> to deliver mail." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):985 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):984 #, no-wrap msgid "\nmailbox_command = /usr/bin/procmail -a \"DOMAIN\"\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):992 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):991 msgid "Create mailfolders" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):995 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):994 msgid "Now we will create shared folders for ham and spam." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):999 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):998 msgid "Create the necessary mailfolders" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):999 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):998 #, no-wrap msgid "\n# <i>maildirmake /var/amavis/.maildir</i>\n# <i>maildirmake -S /var/amavis/.maildir/Bayes</i>\n# <i>maildirmake -s write -f spam /var/amavis/.maildir/Bayes</i>\n# <i>maildirmake -s write -f ham /var/amavis/.maildir/Bayes</i>\n# <i>maildirmake -s write -f redeliver /var/amavis/.maildir/Bayes</i>\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1007 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1006 msgid "Amavisd-new needs to be able to read these files as well as all mailusers. Therefore we add all the relevant users to the mailuser group along with amavis." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1012 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1011 msgid "Setting the proper permissions" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1012 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1011 #, no-wrap msgid "\n# <i>groupadd mailusers</i>\n# <i>usermod -G mailusers spamtrap</i>\n# <i>chown -R amavis:mailusers /var/amavis/.maildir/</i>\n# <i>chown amavis:mailusers /var/amavis/</i>\n# <i>chmod -R 1733 /var/amavis/.maildir/Bayes/</i>\n# <i>chmod g+rx /var/amavis/.maildir/</i>\n# <i>chmod g+rx /var/amavis/.maildir/Bayes/</i>\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(warn):1022 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(warn):1021 msgid "This grants members of the <c>mailusers</c> groups access to <c>amavis</c> mail." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1027 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1026 msgid "This makes the spam and ham folders writable but not readable. This way users can safely submit their ham without anyone else being able to read it." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1032 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1031 msgid "Then run the following command as the <c>spamtrap</c> user:" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1036 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1035 msgid "Adding the shared folders to the users mailfolder" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1036 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1035 #, no-wrap msgid "\n$ <i>maildirmake --add Bayes=/var/amavis/.maildir/Bayes $HOME/.maildir</i>\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1040 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1039 msgid "We have to give the group read permissions on the <path>Bayes</path> folder in order for the mail client to be able to see the subdirectories used by IMAP." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1049 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1048 msgid "Adding cron jobs" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1052 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1051 msgid "Now run <c>crontab -u amavis -e</c> to edit the amavis crontab to enable automatic learning of the Bayes filter every hour." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1057 ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1128 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1056 ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1115 msgid "amavis crontab" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1057 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1056 #, no-wrap msgid "\n<comment>#Auto learn</comment>\n0 * * * * /usr/bin/sa-learn --spam /var/amavis/.maildir/Bayes/.spam/{cur,new} \\\n > /dev/null 2>&1\n0 * * * * /usr/bin/sa-learn --ham /var/amavis/.maildir/Bayes/.ham/{cur,new} > \\\n /dev/null 2>&1\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1065 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1064 msgid "<c>amavis</c> has to be a member of the <c>cron</c> group to run crons." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1070 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1069 msgid "It seems like the shared maildir folders will make <c>sa-learn</c> examine all messages twice. This should not be a problem. The output will also show that the maximum of messages learned from is half or less than the messages examined." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1079 ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1805 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1078 ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1792 msgid "Modifying amavisd.conf" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1082 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1081 msgid "Now modify amavis to redirect spam emails to the <c>spamtrap</c> account and keep spamheaders." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1087 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1086 #, no-wrap msgid "\n<comment>(Define the account to send virus spam emails)</comment>\n$spam_quarantine_to = \"spamtrap\\@$myhostname\";\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1095 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1094 msgid "Redelivering false positives" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1098 -msgid "If you set the spam score very low like we do you will probably have some false positives. These are filtered into the folder <path>likely-spam</path>. These are manually reviewed and any false positive is moved to the <path>redeliver</path> mailfolder. From there it is first fed through <c>sa-learn --ham</c> and then redelivered with all headers intact using a patched version of <uri link=\"http://www.engelschall.com/sw/smtpclient/\">smtpclient</uri> by Ralf S. Engelschall." -msgstr "" - -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1109 -msgid "The original version 1.0.0 of <c>smtpclient</c> is already in Portage however to keep all headers intact we use a modified version. Here is how you install the revised version:" +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1097 +msgid "If you set the spam score very low like we do you will probably have some false positives. These are filtered into the folder <path>likely-spam</path>. These are manually reviewed and any false positive is moved to the <path>redeliver</path> mailfolder. From there it is first fed through <c>sa-learn --ham</c> and then redelivered with all headers intact using <uri link=\"http://www.engelschall.com/sw/smtpclient/\">smtpclient</uri>." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1115 -msgid "Installing revised smtpclient" +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1106 +msgid "Installing smtpclient" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1115 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1106 #, no-wrap -msgid "\n<comment>(Switch to your portage OVERLAY)</comment>\n# <i>wget http://home.coming.dk/files/smtpclient.tar.gz</i>\n# <i>tar xzf smtpclient.tar.gz</i>\n# <i>echo \"mail-client/smtpclient ~x86\" >> /etc/portage/package.keywords</i>\n# <i>echo \"mail-client/smtpclient fullheaders\" >> /etc/portage/package.use</i>\n# <i>emerge smtpclient</i>\n" +msgid "\n# <i>echo \"mail-client/smtpclient\" >> /etc/portage/package.accept_keywords</i>\n# <i>emerge smtpclient</i>\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1124 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1111 msgid "Check for mails in the <path>redeliver</path> folder every minute using cron." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1128 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1115 #, no-wrap msgid "\n<comment>#Redeliver false positives</comment>\n* * * * * find /var/amavis/.maildir/Bayes/.redeliver/cur/ -type f -name \\\n \"[0-9]*\" -exec cp {} /var/amavis/.maildir/Bayes/.ham/cur/ \\; \\\n && find /var/amavis/.maildir/Bayes/.redeliver/cur/ -type f \\\n -name \"[0-9]*\" -exec /usr/local/bin/redeliver.pl {} \\;\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1136 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1123 msgid "Now we only have to copy the <c>redeliver.pl</c> file to <path>/usr/local/bin/</path>. <uri link=\"http://home.coming.dk/files/redeliver.pl\">Download it</uri> or use the version below." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1143 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1130 msgid "redeliver.pl" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1143 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1130 #, no-wrap msgid "\n<comment>#!/usr/bin/perl -w\n\n# Redelivers mail using a modified version of smtpclient\n# By: Jens Hilligsoe <gentoo@hilli.dk></comment>\n\nuse strict;\n\nif(!($#ARGV == 0)) {\n die \"Usage:\\n$0 maildir_mail\\n\";\n}\n\nmy $mail = $ARGV[0];\nmy $to = \"\";\nmy $from = \"\";\n\nsub prunefile ( $ );\n\n<comment># Retrieve To and From envelope adresses</comment>\nopen (MAIL, $mail) or die \"Could not open $mail: $?\\n\";\nwhile(<MAIL>) {\n if(($to eq \"\") || ($from eq \"\")) {\n chop;\n (my $key, my $value) = split (/:/);\n if($key eq \"X-Envelope-To\") {\n $to = $value;\n $to =~ s/[\\<\\>,]//g; # Remove \"<\", \">\" and \",\"\n $to =~ s/^\\s+|\\s+$//g; #Remove whitespace before and after\n }\n if($key eq \"X-Envelope-From\") {\n $from = $value;\n $from =~ s/[\\<\\>,]//g;\n $from =~ s/^\\s+|\\s+$//g;\n if($from eq \"\") {\n $from = \"postmaster\";\n }\n }\n }\n}\n\nif($to eq \"\") {\n prunefile($ARGV[0]); # Just nuke it if to is empty\n} else {\n my $redelivercmd = \"cat $ARGV[0] | smtpclient -F -S 127.0.0.1 -P 10025 -f $from $to\";\n unless (system($redelivercmd) == 0 ) {\n die \"Unable to redeliver: $?\";\n }\n prunefile($ARGV[0]); # Clean up\n}\n\nsub prunefile ( $ ) {\n my ($file) = @_;\n unless (unlink $file) {\n die \"Unable to remove mail: $?\";\n }\n}\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1204 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1191 msgid "Cleaning up" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1207 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1194 msgid "We don't want to keep mail forever so we use <c>tmpwatch</c> to clean up regularily. Emerge it with <c>emerge tmpwatch</c>. Only <c>root</c> is able to run <c>tmpwatch</c> so we have to edit the <c>root</c> crontab." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1213 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1200 msgid "Modifying root crontab" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1213 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1200 #, no-wrap msgid "\n<comment># Clean up\n# Keep virusmails for a week (24*7 hours)</comment>\n15 0 * * * /usr/sbin/tmpwatch -c -f -d --quiet 168 /var/amavis/virusmails/\n<comment># Delete spam and ham learned after a week</comment>\n15 0 * * * /usr/sbin/tmpwatch -c -f -d --quiet 168 /var/amavis/.maildir/Bayes/\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1294 ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2072 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1281 ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2059 msgid "Greylisting" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1299 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1286 msgid "Greylisting is one of the newer weapons in the spam fighting arsenal. As the name implies it is much like whitelisting and blacklisting. Each time an unknown mailserver tries to deliver mail the mail is rejected with a <e>try again later</e> message. This means that mail gets delayed but also that stupid spam bots that do not implement the RFC protocol will drop the attempt to deliver the spam and never retry. With time spam bots will probably adjust, however it will give other technologies more time to identify the spam." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1311 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1298 msgid "If your ISP blocks incoming traffic on port 25 and relays all mail to you through their own mail server greylisting will not work." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1316 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1303 msgid "Postfix 2.1 come with a simple Perl greylisting policy server that implements such a scheme. However it suffers from unpredictable results when the partition holding the greylisting database run out of space. There exists an improved version that do not suffer this problem. First I will show how to install the builtin greylisting support that come with Postfix and then I will show how to configure the more robust replacement." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1326 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1313 msgid "There are other greylisting policy servers for Postfix around (such as <uri link=\"http://www.gasmi.net/gld.html\">Gld</uri>, which is in Portage, and <uri link=\"http://sqlgrey.sourceforge.net/\">SQLgrey</uri>). Some of them support database backends, auto whitelisting and other neat features." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1336 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1323 msgid "Simple greylisting" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1339 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1326 msgid "If you prefer to use the improved greylisting with postgrey you can safely skip this section." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1344 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1331 msgid "We need the file <path>greylist.pl</path> but unfortunately the ebuild does not install it as default." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1349 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1336 msgid "Getting greylist.pl" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1349 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1336 #, no-wrap msgid "\n# <i>cp /usr/portage/distfiles/postfix-your-version-here.tar.gz /root/</i>\n# <i>tar xzf postfix-your-version-here.tar.gz</i>\n# <i>cp postfix-2.1.0/examples/smtpd-policy/greylist.pl /usr/bin/</i>\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1355 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1342 msgid "Now we have the file in place we need to create the directory to hold the greylisting database:" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1360 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1347 msgid "Creating directory for the greylisting database" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1360 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1347 #, no-wrap msgid "\n# <i>mkdir /var/mta</i>\n# <i>chown nobody /var/mta</i>\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(warn):1365 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(warn):1352 msgid "Do not create the greylisting database directory on a partition that might run out of space. While postfix can recover from no-space-left situations for the mail queue and mail box situations, this is not the case with the greylisting database. If the file becomes corrupted you may not be able to receive mail at all until you delete the file by hand." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1377 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1364 msgid "Configuring greylisting" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1380 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1367 msgid "Now that we have all this ready all that is left is to add it to the postfix configuration. First we add the necessary information to the <path>master.cf</path>:" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1386 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1373 msgid "Modifying master.cf to use greylisting" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1386 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1373 #, no-wrap msgid "\npolicy-greylist unix - n n - - spawn\n user=nobody argv=/usr/bin/perl /usr/bin/greylist.pl\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1391 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1378 msgid "The postfix spawn daemon normally kills its child processes after 1000 seconds but this is too short for the greylisting process so we have to increase the timelimit in <path>main.cf</path>:" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1397 ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1481 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1384 ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1468 msgid "Modifying main.cf to use greylisting" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1397 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1384 #, no-wrap msgid "\npolicy-greylist_time_limit = 3600\n<comment>(Under smtpd_recipient_restrictions add:)</comment>\ncheck_sender_access hash:/etc/postfix/sender_access\n<comment>(Later on add:)</comment>\nrestriction_classes = greylist\ngreylist = check_policy_service unix:private/policy-greylist\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(warn):1406 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(warn):1393 msgid "Be sure to specify <c>check_sender_access</c> AFTER <c>reject_unauth_destination</c> or else your system could become an open mail relay." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1412 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1399 msgid "The greylist database gets polluted quickly with bogus addresses. It helps if you protect greylist lookups with other restrictions that reject unknown senders and/or recipients." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1418 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1405 msgid "We don't want to use greylisting for all domains but only for those frequently abused by spammers. After all it will delay mail delivery. A list of frequently forged MAIL FROM domains can be found <uri link=\"http://www.monkeys.com/anti-spam/filtering/sender-domain-validate.in\">online</uri>. Add the domains you receive a lot of spam from to <path>/etc/postfix/sender_access</path>:" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1427 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1414 msgid "Format of sender_access" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1427 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1414 #, no-wrap msgid "\naol.com greylist\nhotmail.com greylist\nbigfoot.com greylist\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1433 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1420 msgid "If you want a more extensive list:" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1437 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1424 msgid "Adding all domains to sender_access" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1437 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1424 #, no-wrap msgid "\n# <i>wget http://www.monkeys.com/anti-spam/filtering/sender-domain-validate.in</i>\n# <i>cat sender-domain-validate.in | sort | awk {'print $1 \"\\t\\t greylist\"'} > /etc/postfix/sender_access</i>\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1442 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1429 msgid "Now we only have to initialize the <path>sender_access</path> database:" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1447 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1434 msgid "Initialize sender_access" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1447 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1434 #, no-wrap msgid "\n# <i>postmap /etc/postfix/sender_access</i>\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1451 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1438 msgid "Now the setup of simple greylisting is complete." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(warn):1455 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(warn):1442 msgid "I tried this on one box handling thousands of mails daily and the results were almost a complete disaster. After four days the box was bogged down with hundreds of old <c>greylist.pl</c> processes." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1464 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1451 msgid "Configuring improved greylisting with postgrey" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1467 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1454 msgid "You can install the enhanced greylisting policy server with a simple <c>emerge</c>:" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1472 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1459 msgid "Installing postgrey" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1472 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1459 #, no-wrap msgid "\n# <i>emerge postgrey</i>\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1476 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1463 msgid "After installing <c>postgrey</c> we have to edit <path>main.cf</path>. Changes are almost exactly like the built in greylisting." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1481 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1468 #, no-wrap msgid "\n<comment>(Under smtpd_recipient_restrictions add:)</comment>\ncheck_sender_access hash:/etc/postfix/sender_access\n<comment>(Later on add:)</comment>\nsmtpd_restriction_classes = greylist\ngreylist = check_policy_service inet:127.0.0.1:10030\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1489 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1476 msgid "The Postfix SMTPD_POLICY_README only uses <c>restriction_classes</c> but that does not appear to work." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1494 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1481 msgid "If you want to greylist everything instead add <c>check_policy_service inet:127.0.0.1:10030</c>." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1499 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1486 msgid "Finally, start the server and add it to the proper runlevel." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1503 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1490 msgid "Starting postgrey" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1503 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1490 #, no-wrap msgid "\n# <i>/etc/init.d/postgrey start</i>\n# <i>rc-update add postgrey default</i>\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1508 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1495 msgid "Some people like to get their mail fast and thus greylisting is worthless. However if you employ a backup mail server you can safely setup greylisting on that server. My limited experiences tell me that it can stop up to a third of the spam received." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1519 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1506 msgid "SPF (Sender Policy Framework)" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1524 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1511 msgid "SPF allows domain owners to state in their DNS records which IP addressess should be allowed to send mails from their domain. This will prevent spammers from spoofing the <c>Return-Path</c>." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1530 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1517 msgid "If your ISP blocks incoming traffic on port 25 and relays all mail to you through their own mail server SPF will not work." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1535 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1522 msgid "First domain owners have to create a special <c>TXT</c> DNS record. Then an SPF-enabled MTA can read this and if the mail originates from a server that is not described in the SPF record the mail can be rejected. An example entry could look like this:" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1542 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1529 msgid "Example SPF record" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1542 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1529 #, no-wrap msgid "\nexample.com. IN TXT \"v=spf1 a mx ptr -all\"\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1546 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1533 msgid "The <c>-all</c> means to reject all mail by default but allow mail from the <c>A</c>(<c>a</c>), <c>MX</c>(<c>mx</c>) and <c>PTR</c>(<c>ptr</c>) DNS records. For more info consult further resources below." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1553 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1540 msgid "If you relay outgoing mail through your ISP you will have to add: <c>include:yourisp.com</c>." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1558 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1545 msgid "Spamassassin 3.0 has support for SPF, however it is not enabled by default and the new policy daemon in Postfix supports SPF so let's install SPF support for Postfix." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1564 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1551 msgid "If you want to use SPF with Spamassassin instead simply <c>emerge dev-perl/Mail-SPF-Query</c> and restart Amavisd-new." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1575 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1562 msgid "First you have to install Postfix 2.1 as described above. When you have fetched the source grab the <path>spf.pl</path> with:" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1581 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1568 msgid "Installing spf.pl" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1581 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1568 #, no-wrap msgid "\n# <i>cp postfix-<version>/examples/smtpd-policy/spf.pl /usr/local/bin/</i>\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1585 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1572 msgid "The <path>spf.pl</path> coming with Postfix is slightly buggy so find and uncomment the following line: <c>push @HANDLERS, \"sender_permitted_from\"; use Mail::SPF::Query;</c>. Furthermore in about line 199 substitute <c>comemnt</c> with <c>comment</c>. Alternatively you can download a <uri link=\"http://spf.pobox.com/postfix-policyd.txt\">development version</uri>." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1594 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1581 msgid "This Perl script also needs some Perl libraries that are not in portage but it is still quite simple to install them:" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1599 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1586 msgid "Installing the needed Perl libraries" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1599 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1586 #, no-wrap msgid "\n# <i>emerge Mail-SPF-Query Net-CIDR-Lite Sys-Hostname-Long</i>\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1603 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1590 msgid "Now that we have everything in place all we need is to configure Postfix to use this new policy." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1608 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1595 msgid "Modifying master.cf to use SPF" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1608 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1595 #, no-wrap msgid "\npolicy-spf unix - n n - - spawn\n user=nobody argv=/usr/bin/perl /usr/local/bin/spf.pl\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1613 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1600 msgid "Now add the SPF check in <path>main.cf</path>. Properly configured SPF should do no harm so we could check SPF for all domains:" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1618 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1605 msgid "Modifying main.cf to use SPF" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1618 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1605 #, no-wrap msgid "\n<comment>(Under smtpd_recipient_restrictions add:)</comment>\ncheck_policy_service unix:private/policy-spf\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1623 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1610 msgid "If you're experiencing problems with SPF, e.g. when using <c>fetchmail</c>, you might want to enable SPF for certain domains only." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1633 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1620 msgid "Configuring amavisd-new to use MySQL" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1635 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1622 msgid "Configuring MySQL" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1638 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1625 msgid "This has not been tested on versions higher than 2.2. Feedback is welcome :)" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1642 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1629 msgid "For large domains the default values you can set in <path>amavisd.conf</path> might not suit all users. If you configure amavisd-new with MySQL support you can have individual settings for users or groups of users." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1649 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1636 msgid "Creating the MySQL database and user" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1649 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1636 #, no-wrap msgid "\n# <i>mysql -u root -p mysql</i>\nEnter password:\nWelcome to the MySQL monitor. Commands end with ; or \\g.\nYour MySQL connection id is 78 to server version: 4.0.18-log\n\nType 'help;' or '\\h' for help. Type '\\c' to clear the buffer.\nmysql> <i>create database maildb;</i>\nmysql> <i>GRANT INSERT,UPDATE,DELETE,SELECT ON maildb.* TO 'mail'@'localhost' IDENTIFIED BY 'very_secret_password';</i>\nmysql> <i>use maildb;</i>\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1661 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1648 msgid "Now that the database is created we'll need to create the necessary tables. You can cut and paste the following into the mysql prompt:" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1666 ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1859 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1653 ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1846 msgid "MySQL table layout" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1666 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1653 #, no-wrap msgid "\nCREATE TABLE users (\n id int unsigned NOT NULL auto_increment,\n priority int NOT NULL DEFAULT '7', -- 0 is low priority\n policy_id int unsigned NOT NULL DEFAULT '1',\n email varchar(255) NOT NULL,\n fullname varchar(255) DEFAULT NULL, -- not used by amavisd-new\n local char(1), -- Y/N (optional field, see note further down)\n PRIMARY KEY (id),\n KEY email (email)\n );\nCREATE UNIQUE INDEX users_idx_email ON users(email);\n\n<comment>(any e-mail address, external or local, used as senders in wblist)</comment>\nCREATE TABLE mailaddr (\n id int unsigned NOT NULL auto_increment,\n priority int NOT NULL DEFAULT '7', -- 0 is low priority\n email varchar(255) NOT NULL,\n PRIMARY KEY (id),\n KEY email (email)\n );\nCREATE UNIQUE INDEX mailaddr_idx_email ON mailaddr(email);\n\n<comment>(-- per-recipient whitelist and/or blacklist,</comment>\n<comment>-- puts sender and recipient in relation wb)</comment>\n(white or blacklisted sender)\nCREATE TABLE wblist (\n rid int unsigned NOT NULL, -- recipient: users.id\n sid int unsigned NOT NULL, -- sender: mailaddr.id\n wb char(1) NOT NULL, -- W or Y / B or N / space=neutral\n PRIMARY KEY (rid,sid)\n );\n\nCREATE TABLE policy (\n id int unsigned NOT NULL auto_increment,\n policy_name varchar(32), -- not used by amavisd-new\n virus_lover char(1), -- Y/N\n spam_lover char(1), -- Y/N (optional field)\n banned_files_lover char(1), -- Y/N (optional field)\n bad_header_lover char(1), -- Y/N (optional field)\n bypass_virus_checks char(1), -- Y/N\n bypass_spam_checks char(1), -- Y/N\n bypass_banned_checks char(1), -- Y/N (optional field)\n bypass_header_checks char(1), -- Y/N (optional field)\n spam_modifies_subj char(1), -- Y/N (optional field)\n spam_quarantine_to varchar(64) DEFAULT NULL, -- (optional field)\n spam_tag_level float, -- higher score inserts spam info headers\n spam_tag2_level float DEFAULT NULL, -- higher score inserts\n -- 'declared spam' info header fields\n spam_kill_level float, -- higher score activates evasive actions, e.g.\n -- reject/drop, quarantine, ...\n -- (subject to final_spam_destiny setting)\n PRIMARY KEY (id)\n );\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1722 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1709 msgid "If you have problems using copy/paste you might have to copy this somewhere else and clean out the unneeded characters." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1727 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1714 msgid "Lookups trying to match email are done with raw (rfc2821-unquoted and unbracketed) addresses as a key, i.e.: <c>John \"Funny\" Smith@example.com</c>" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1733 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1720 msgid "Lookups are performed in the following order: <c>SQL</c>, <c>LDAP</c>, <c>hash</c>, <c>ACL</c>, <c>regexp</c>, <c>constant</c>. The first that returns a definitive answer (not <c>undef/NULL</c>) stops the search." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1739 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1726 msgid "If you wish to use whitelisting and blacklisting you must add the sender and receiver to <c>mailadr</c> after which you create the relation between the two e-mail addresses in <c>wblist</c> and state if it is whitelisting (<c>W</c>) or blacklisting (<c>B</c>)." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1746 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1733 msgid "Now that we have created the tables let's insert a test user and a test policy:" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1751 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1738 msgid "Create test user and test policy" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1751 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1738 #, no-wrap msgid "\nINSERT INTO users\n SET\n id =1,\n priority =9,\n policy_id =1,\n email =\"johndoe@example.com\",\n fullname =\"John Doe\",\n local =\"Y\";\n\nINSERT INTO policy\n SET\n id =1,\n policy_name =\"Test policy 1\",\n virus_lover =\"N\",\n spam_lover =\"N\",\n banned_files_lover =\"N\",\n bad_header_lover =\"N\",\n bypass_virus_checks =\"N\",\n bypass_spam_checks =\"N\",\n bypass_banned_checks =\"N\",\n bypass_header_checks =\"N\",\n spam_modifies_subj =\"N\",\n spam_quarantine_to =NULL,\n spam_tag_level =-50.0,\n spam_tag2_level =7.0,\n spam_kill_level =10.0;\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1780 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1767 msgid "Copy this to somewhere else and adjust to suit your own environment." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1784 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1771 msgid "<c>local</c> should be set to <c>Y</c> otherwise the mail will not be scanned for spam." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1789 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1776 msgid "This inserts a test user and a Test policy. Adjust these examples to fit your needs. Further explanation of the configuration names can be found in <path>amavisd.conf</path>." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1798 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1785 msgid "Configuring amavisd to use MySQL" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1801 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1788 msgid "Now that MySQL is ready we need to tell amavis to use it:" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1805 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1792 #, no-wrap msgid "\n@lookup_sql_dsn =\n ( ['DBI:mysql:maildb:host1', 'mail', 'very_secret_password'] );\n\n<comment>(For clarity uncomment the default)</comment>\n$sql_select_policy = 'SELECT *,users.id FROM users,policy'.\n ' WHERE (users.policy_id=policy.id) AND (users.email IN (%k))'.\n ' ORDER BY users.priority DESC';\n\n<comment>(If you want sender white/blacklisting)</comment>\n $sql_select_white_black_list = 'SELECT wb FROM wblist,mailaddr'.\n ' WHERE (wblist.rid=?) AND (wblist.sid=mailaddr.id)'.\n ' AND (mailaddr.email IN (%k))'.\n ' ORDER BY mailaddr.priority DESC';\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1826 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1813 msgid "Configuring Spamassassin to use MySQL" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1830 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1817 msgid "As of Spamassassin 3.0 it is possible to store the Bayes and AWL data in a MySQL database. We will use MySQL as the backend as it can generally outperform other databases. Also, using MySQL for both sets of data makes system management much easier. Here I will show how to easily accomplish this." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1837 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1824 msgid "First start out by creating the new MySQL user and then create the needed tables." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1842 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1829 msgid "Creating the new MySQL database and user" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1842 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1829 #, no-wrap msgid "\n# <i>mysql -u root -p mysql</i>\nEnter password:\nWelcome to the MySQL monitor. Commands end with ; or \\g.\nYour MySQL connection id is 78 to server version: 4.0.18-log\n\nType 'help;' or '\\h' for help. Type '\\c' to clear the buffer.\nmysql> <i>create database dbname;</i>\nmysql> <i>GRANT INSERT,UPDATE,DELETE,SELECT ON dbname.* TO 'dbuser'@'localhost' IDENTIFIED BY 'another_very_secret_password';</i>\nmysql> <i>use dbname;</i>\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1854 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1841 msgid "Now that the database is created we'll create the necessary tables. You can cut and paste the following into the mysql prompt:" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1859 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1846 #, no-wrap msgid "\n CREATE TABLE bayes_expire (\n id int(11) NOT NULL default '0',\n runtime int(11) NOT NULL default '0',\n KEY bayes_expire_idx1 (id)\n ) TYPE=MyISAM;\n\n CREATE TABLE bayes_global_vars (\n variable varchar(30) NOT NULL default '',\n value varchar(200) NOT NULL default '',\n PRIMARY KEY (variable)\n ) TYPE=MyISAM;\n\n INSERT INTO bayes_global_vars VALUES ('VERSION','3');\n\n CREATE TABLE bayes_seen (\n id int(11) NOT NULL default '0',\n msgid varchar(200) binary NOT NULL default '',\n flag char(1) NOT NULL default '',\n PRIMARY KEY (id,msgid)\n ) TYPE=MyISAM;\n\n CREATE TABLE bayes_token (\n id int(11) NOT NULL default '0',\n token char(5) NOT NULL default '',\n spam_count int(11) NOT NULL default '0',\n ham_count int(11) NOT NULL default '0',\n atime int(11) NOT NULL default '0',\n PRIMARY KEY (id, token),\n INDEX (id, atime)\n ) TYPE=MyISAM;\n\n CREATE TABLE bayes_vars (\n id int(11) NOT NULL AUTO_INCREMENT,\n username varchar(200) NOT NULL default '',\n spam_count int(11) NOT NULL default '0',\n ham_count int(11) NOT NULL default '0',\n token_count int(11) NOT NULL default '0',\n last_expire int(11) NOT NULL default '0',\n last_atime_delta int(11) NOT NULL default '0',\n last_expire_reduce int(11) NOT NULL default '0',\n oldest_token_age int(11) NOT NULL default '2147483647',\n newest_token_age int(11) NOT NULL default '0',\n PRIMARY KEY (id),\n UNIQUE bayes_vars_idx1 (username)\n ) TYPE=MyISAM;\n\n CREATE TABLE awl (\n username varchar(100) NOT NULL default '',\n email varchar(200) NOT NULL default '',\n ip varchar(10) NOT NULL default '',\n count int(11) default '0',\n totscore float default '0',\n PRIMARY KEY (username,email,ip)\n ) TYPE=MyISAM;\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(impo):1916 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(impo):1903 msgid "The <c>INSERT</c> line is needed otherwise Spamassassin will not work." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1921 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1908 msgid "This is also available in the source tarball in the files <path>awl_mysql.sql</path> and <path>bayes_mysql.sql</path>." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1929 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1916 msgid "Configuring Spamassassin to use the MySQL backend" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1932 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1919 msgid "If you have an old Bayes database in the DBM database and want to keep it follow these instructions:" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1937 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1924 msgid "Converting Bayes data from a DBM Database" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1944 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1931 msgid "Note that the last step should only be performed after the MySQL database and <path>secrets.cf</path> have been updated." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1949 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1936 msgid "Now give Spamassassin the required info:" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1953 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1940 msgid "Modifying /etc/mail/spamassassin/secrets.cf" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1953 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1940 #, no-wrap msgid "\n<comment>(Tell Spamassassin to use MySQL for bayes data</comment>\nbayes_store_module Mail::SpamAssassin::BayesStore::SQL\nbayes_sql_dsn DBI:mysql:sa_bayes:localhost:3306\nbayes_sql_username db_name\nbayes_sql_password another_very_secret_password\n\n<comment>(Tell Spamassassin to use MySQL for AWL data</comment>\nauto_whitelist_factory Mail::SpamAssassin::SQLBasedAddrList\nuser_awl_dsn DBI:mysql:sa_bayes:localhost:3306\nuser_awl_sql_username db_name\nuser_awl_sql_password another_very_secret_password\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1967 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1954 msgid "Next, change its permissions for proper security:" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1971 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1958 msgid "Changing permissions" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1971 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1958 #, no-wrap msgid "\n# <i>chmod 400 /etc/mail/spamassassin/secrets.cf</i>\n" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1975 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1962 msgid "To create a very secret password use <c>emerge app-admin/makepasswd</c> and <c>makepasswd -chars=8</c>" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1980 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1967 msgid "Now all you have to do is <c>/etc/init.d/amavisd restart</c>." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1989 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1976 msgid "Troubleshooting" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1991 ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2100 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1978 ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2087 msgid "Amavisd-new" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1994 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1981 msgid "To troubleshoot Amavisd-new start out by stopping it with <c>/etc/init.d/amavisd stop</c> and then start it manually in the foreground with <c>amavisd debug</c> and watch it for anomalies in the output." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):2003 ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2099 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1990 ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2086 msgid "Spamassassin" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):2006 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1993 msgid "To troubleshoot Spamassassin you can filter an email through it with <c>spamassassin -D < mail</c>. To ensure that the headers are intact you can move it from another machine with IMAP." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):2012 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1999 msgid "If you need to troubleshoot you have to enable login for the user <c>amavis</c> by changing the login shell in <path>/etc/passwd</path> to <path>/bin/bash</path>." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):2018 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):2005 msgid "If you want you can make get the same information and more with Amavisd-new using <c>amavisd debug-sa</c>." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):2026 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):2013 msgid "Getting help" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):2029 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):2016 msgid "If you need help a good place to go is the amavis-user mailing list. Before postting a question try searching the <uri link=\"http://marc.theaimsgroup.com/?l=amavis-user\">Amavis User mailing list archives</uri>. If you find no answer here you can subscribe to the <uri link=\"https://lists.sourceforge.net/lists/listinfo/amavis-user\">Amavis User mailing list</uri>" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):2039 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):2026 msgid "If your question is specific to SpamAssassin, DCC, Razor, or Postfix, please refer to their respective home pages listed below." msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):2049 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):2036 msgid "Resources" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):2051 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):2038 msgid "For further information" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2056 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2043 msgid "http://www.ijs.si/software/amavisd/INSTALL" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2056 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2043 msgid "Amavisd-new INSTALL" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2060 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2047 msgid "http://www.ijs.si/software/amavisd/README.postfix" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2060 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2047 msgid "Amavisd-new Postfix README" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2064 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2051 msgid "http://www.ijs.si/software/amavisd/amavisd-new-docs.html#pbanks" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2064 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2051 msgid "Amavisd-new Policy bank documentation" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2068 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2055 msgid "http://spamassassin.apache.org/full/3.0.x/dist/sql/README" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2068 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2055 msgid "Spamassassin SQL README" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2072 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2059 msgid "http://www.greylisting.org" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2075 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2062 msgid "http://www.postfix.org/FILTER_README.html" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2075 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2062 msgid "Postfix SMTPD_POLICY_README" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2079 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2066 msgid "http://www.unixwiz.net/techtips/postfix-HELO.html" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2079 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2066 msgid "Blocking spammers with Postfix HELO controls" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2083 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2070 msgid "http://www.linuxjournal.com/article.php?sid=7327" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2083 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2070 msgid "SPF Overview" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2087 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2074 msgid "http://jimsun.linxnet.com/misc/postfix-anti-UCE.txt" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2087 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2074 msgid "Jim Seymour's Postfix Anti-UCE Cheat Sheet" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):2095 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):2082 msgid "General resources" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2099 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2086 msgid "http://www.spamassassin.org" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2100 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2087 msgid "http://www.ijs.si/software/amavisd/" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2102 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2089 msgid "http://www.ijs.si/software/amavisd/amavisd-new-docs.html" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2102 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2089 msgid "Amavisd-new documentation bits and pieces" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2105 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2092 msgid "http://razor.sourceforge.net/" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2105 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2092 msgid "Vipuls's Razor" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2106 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2093 msgid "http://pyzor.sourceforge.net/" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2108 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2095 msgid "http://www.rhyolite.com/anti-spam/dcc/" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2108 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2095 msgid "Distributed Checksum Clearinghouse" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2112 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2099 msgid "http://www.renaissoft.com/projects/maia/" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2112 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2099 msgid "Maia Mailguard" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):2120 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):2107 msgid "Other howtos" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2125 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2112 msgid "http://www.flakshack.com/anti-spam/" msgstr "" -#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2125 +#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2112 msgid "Fairly-Secure Anti-SPAM Gateway Using OpenBSD, Postfix, Amavisd-new, SpamAssassin, Razor and DCC" msgstr "" |