summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'doc/gettext/mailfilter-guide.xml.pot')
-rw-r--r--doc/gettext/mailfilter-guide.xml.pot375
1 files changed, 168 insertions, 207 deletions
diff --git a/doc/gettext/mailfilter-guide.xml.pot b/doc/gettext/mailfilter-guide.xml.pot
index 81aa368..2d2ff8d 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: 2011-03-18 11:31+0500\n"
+"POT-Creation-Date: 2011-08-02 23:45+0600\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"
@@ -54,14 +54,14 @@ msgid "This guide is step-by-step guide for installing spam fighting technologie
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(version):28
-msgid "3"
+msgid "5"
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(date):29
-msgid "2011-03-04"
+msgid "2011-06-19"
msgstr ""
-#: ../../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
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):32 ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1186 ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1411
msgid "Introduction"
msgstr ""
@@ -105,7 +105,7 @@ msgstr ""
msgid "Razor2"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(li):86 ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2093
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(li):86 ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):1996
msgid "Pyzor"
msgstr ""
@@ -154,7 +154,7 @@ msgstr ""
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):145 ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1559
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):145 ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1462
msgid "Preparations"
msgstr ""
@@ -868,7 +868,7 @@ msgstr ""
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):1056 ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1115
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1056
msgid "amavis crontab"
msgstr ""
@@ -885,7 +885,7 @@ msgstr ""
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):1078 ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1792
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1078 ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1695
msgid "Modifying amavisd.conf"
msgstr ""
@@ -899,709 +899,670 @@ msgid "\n<comment>(Define the account to send virus spam emails)</comment>\n$spa
msgstr ""
#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1094
-msgid "Redelivering false positives"
-msgstr ""
-
-#: ../../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):1106
-msgid "Installing smtpclient"
-msgstr ""
-
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1106
-#, no-wrap
-msgid "\n# <i>echo \"mail-client/smtpclient\" &gt;&gt; /etc/portage/package.accept_keywords</i>\n# <i>emerge smtpclient</i>\n"
-msgstr ""
-
-#: ../../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):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 &amp;&amp; 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):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):1130
-msgid "redeliver.pl"
-msgstr ""
-
-#: ../../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 &lt;gentoo@hilli.dk&gt;</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(&lt;MAIL&gt;) {\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/[\\&lt;\\&gt;,]//g; # Remove \"&lt;\", \"&gt;\" 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/[\\&lt;\\&gt;,]//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 -w -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):1191
msgid "Cleaning up"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1194
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1097
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):1200
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1103
msgid "Modifying root crontab"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1200
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1103
#, 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):1281 ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2059
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1184 ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):1962
msgid "Greylisting"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1286
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1189
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):1298
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1201
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):1303
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1206
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):1313
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1216
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):1323
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1226
msgid "Simple greylisting"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1326
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1229
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):1331
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1234
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):1336
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1239
msgid "Getting greylist.pl"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1336
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1239
#, 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):1342
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1245
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):1347
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1250
msgid "Creating directory for the greylisting database"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1347
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1250
#, 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):1352
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(warn):1255
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):1364
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1267
msgid "Configuring greylisting"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1367
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1270
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):1373
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1276
msgid "Modifying master.cf to use greylisting"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1373
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1276
#, 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):1378
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1281
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):1384 ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1468
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1287 ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1371
msgid "Modifying main.cf to use greylisting"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1384
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1287
#, 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):1393
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(warn):1296
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):1399
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1302
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):1405
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1308
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):1414
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1317
msgid "Format of sender_access"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1414
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1317
#, no-wrap
msgid "\naol.com greylist\nhotmail.com greylist\nbigfoot.com greylist\n"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1420
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1323
msgid "If you want a more extensive list:"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1424
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1327
msgid "Adding all domains to sender_access"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1424
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1327
#, 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\"'} &gt; /etc/postfix/sender_access</i>\n"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1429
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1332
msgid "Now we only have to initialize the <path>sender_access</path> database:"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1434
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1337
msgid "Initialize sender_access"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1434
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1337
#, no-wrap
msgid "\n# <i>postmap /etc/postfix/sender_access</i>\n"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1438
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1341
msgid "Now the setup of simple greylisting is complete."
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(warn):1442
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(warn):1345
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):1451
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1354
msgid "Configuring improved greylisting with postgrey"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1454
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1357
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):1459
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1362
msgid "Installing postgrey"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1459
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1362
#, no-wrap
msgid "\n# <i>emerge postgrey</i>\n"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1463
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1366
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):1468
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1371
#, 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):1476
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1379
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):1481
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1384
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):1486
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1389
msgid "Finally, start the server and add it to the proper runlevel."
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1490
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1393
msgid "Starting postgrey"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1490
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1393
#, 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):1495
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1398
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):1506
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1409
msgid "SPF (Sender Policy Framework)"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1511
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1414
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):1517
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1420
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):1522
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1425
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):1529
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1432
msgid "Example SPF record"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1529
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1432
#, no-wrap
msgid "\nexample.com. IN TXT \"v=spf1 a mx ptr -all\"\n"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1533
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1436
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):1540
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1443
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):1545
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1448
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):1551
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1454
msgid "If you want to use SPF with Spamassassin instead simply <c>emerge&nbsp;dev-perl/Mail-SPF-Query</c> and restart Amavisd-new."
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1562
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1465
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):1568
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1471
msgid "Installing spf.pl"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1568
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1471
#, no-wrap
msgid "\n# <i>cp postfix-&lt;version&gt;/examples/smtpd-policy/spf.pl /usr/local/bin/</i>\n"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1572
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1475
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):1581
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1484
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):1586
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1489
msgid "Installing the needed Perl libraries"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1586
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1489
#, 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):1590
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1493
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):1595
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1498
msgid "Modifying master.cf to use SPF"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1595
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1498
#, 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):1600
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1503
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):1605
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1508
msgid "Modifying main.cf to use SPF"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1605
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1508
#, 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):1610
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1513
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):1620
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1523
msgid "Configuring amavisd-new to use MySQL"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1622
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1525
msgid "Configuring MySQL"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1625
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1528
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):1629
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1532
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):1636
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1539
msgid "Creating the MySQL database and user"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1636
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1539
#, 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&gt; <i>create database maildb;</i>\nmysql&gt; <i>GRANT INSERT,UPDATE,DELETE,SELECT ON maildb.* TO 'mail'@'localhost' IDENTIFIED BY 'very_secret_password';</i>\nmysql&gt; <i>use maildb;</i>\n"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1648
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1551
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):1653 ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1846
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1556 ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1749
msgid "MySQL table layout"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1653
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1556
#, 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):1709
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1612
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):1714
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1617
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):1720
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1623
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):1726
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1629
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):1733
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1636
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):1738
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1641
msgid "Create test user and test policy"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1738
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1641
#, 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):1767
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1670
msgid "Copy this to somewhere else and adjust to suit your own environment."
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1771
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1674
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):1776
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1679
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):1785
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1688
msgid "Configuring amavisd to use MySQL"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1788
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1691
msgid "Now that MySQL is ready we need to tell amavis to use it:"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1792
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1695
#, 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):1813
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1716
msgid "Configuring Spamassassin to use MySQL"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1817
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1720
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):1824
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1727
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):1829
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1732
msgid "Creating the new MySQL database and user"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1829
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1732
#, 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&gt; <i>create database dbname;</i>\nmysql&gt; <i>GRANT INSERT,UPDATE,DELETE,SELECT ON dbname.* TO 'dbuser'@'localhost' IDENTIFIED BY 'another_very_secret_password';</i>\nmysql&gt; <i>use dbname;</i>\n"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1841
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1744
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):1846
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1749
#, 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):1903
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(impo):1806
msgid "The <c>INSERT</c> line is needed otherwise Spamassassin will not work."
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1908
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1811
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):1916
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1819
msgid "Configuring Spamassassin to use the MySQL backend"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1919
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1822
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):1924
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1827
msgid "Converting Bayes data from a DBM Database"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1931
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1834
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):1936
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1839
msgid "Now give Spamassassin the required info:"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1940
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1843
msgid "Modifying /etc/mail/spamassassin/secrets.cf"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1940
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1843
#, 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):1954
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1857
msgid "Next, change its permissions for proper security:"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1958
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1861
msgid "Changing permissions"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1958
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1861
#, no-wrap
msgid "\n# <i>chmod 400 /etc/mail/spamassassin/secrets.cf</i>\n"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1962
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1865
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):1967
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1870
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):1976
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1879
msgid "Troubleshooting"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1978 ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2087
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1881 ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):1990
msgid "Amavisd-new"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1981
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1884
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):1990 ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2086
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1893 ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):1989
msgid "Spamassassin"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1993
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1896
msgid "To troubleshoot Spamassassin you can filter an email through it with <c>spamassassin -D &lt; 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):1999
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1902
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):2005
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1908
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):2013
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1916
msgid "Getting help"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):2016
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1919
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):2026
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1929
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):2036
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1939
msgid "Resources"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):2038
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1941
msgid "For further information"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2043
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):1946
msgid "http://www.ijs.si/software/amavisd/INSTALL"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2043
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):1946
msgid "Amavisd-new INSTALL"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2047
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):1950
msgid "http://www.ijs.si/software/amavisd/README.postfix"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2047
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):1950
msgid "Amavisd-new Postfix README"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2051
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):1954
msgid "http://www.ijs.si/software/amavisd/amavisd-new-docs.html#pbanks"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2051
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):1954
msgid "Amavisd-new Policy bank documentation"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2055
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):1958
msgid "http://spamassassin.apache.org/full/3.0.x/dist/sql/README"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2055
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):1958
msgid "Spamassassin SQL README"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2059
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):1962
msgid "http://www.greylisting.org"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2062
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):1965
msgid "http://www.postfix.org/FILTER_README.html"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2062
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):1965
msgid "Postfix SMTPD_POLICY_README"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2066
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):1969
msgid "http://www.unixwiz.net/techtips/postfix-HELO.html"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2066
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):1969
msgid "Blocking spammers with Postfix HELO controls"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2070
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):1973
msgid "http://www.linuxjournal.com/article.php?sid=7327"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2070
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):1973
msgid "SPF Overview"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2074
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):1977
msgid "http://jimsun.linxnet.com/misc/postfix-anti-UCE.txt"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2074
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):1977
msgid "Jim Seymour's Postfix Anti-UCE Cheat Sheet"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):2082
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1985
msgid "General resources"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2086
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):1989
msgid "http://www.spamassassin.org"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2087
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):1990
msgid "http://www.ijs.si/software/amavisd/"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2089
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):1992
msgid "http://www.ijs.si/software/amavisd/amavisd-new-docs.html"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2089
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):1992
msgid "Amavisd-new documentation bits and pieces"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2092
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):1995
msgid "http://razor.sourceforge.net/"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2092
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):1995
msgid "Vipuls's Razor"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2093
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):1996
msgid "http://pyzor.sourceforge.net/"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2095
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):1998
msgid "http://www.rhyolite.com/anti-spam/dcc/"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2095
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):1998
msgid "Distributed Checksum Clearinghouse"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2099
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2002
msgid "http://www.renaissoft.com/projects/maia/"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2099
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2002
msgid "Maia Mailguard"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):2107
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):2010
msgid "Other howtos"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2112
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2015
msgid "http://www.flakshack.com/anti-spam/"
msgstr ""
-#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2112
+#: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2015
msgid "Fairly-Secure Anti-SPAM Gateway Using OpenBSD, Postfix, Amavisd-new, SpamAssassin, Razor and DCC"
msgstr ""