msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2010-10-21 23:56+0600\n" "PO-Revision-Date: 2010-10-21 23:46+0600\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\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 msgid "Gentoo mailfiltering gateway guide" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(author:title):9 msgid "Author" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(mail:link):10 msgid "jaervosz@gentoo.org" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(mail):10 msgid "Sune Kloppenborg Jeppesen" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(author:title):12 msgid "Contributor" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(mail:link):13 msgid "gentoo@hilli.dk" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(mail):13 msgid "Jens Hilligsøe" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(author:title):15 msgid "Editor" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(mail:link):16 msgid "nightmorph@gentoo.org" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(mail):16 msgid "Joshua Saddler" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(abstract):19 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" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(date):30 msgid "2007-08-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 msgid "Introduction" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):37 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 msgid "The big picture" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):48 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 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 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 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 msgid "Bayesian filtering" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(li):82 msgid "Static rules based on regular expressions" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(li):85 msgid "RBLs" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(li):86 msgid "Razor2" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(li):87 #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2106 msgid "Pyzor" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(li):88 #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(ti):236 msgid "DCC" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(li):83 msgid "Distributed and collaborative networks: " msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):93 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 msgid "" "setup special IMAP folders for learning of the Bayesian filter and for " "delivery of false positives" msgstr "" #.
  • setup log analyzers to create daily reports
  • #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(li):107 msgid "setup greylisting with Postfix" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(li):108 msgid "setup Amavisd-new to use a MySQL backend for user preferences" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(li):109 msgid "setup Spamassassin to use a MySQL backend for AWL and Bayes data" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):112 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 emerge courier-imap." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):119 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 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 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 Realtime Blackhole Lists Are Bad " "and The Spam Problem: Moving Beyond RBLs" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):146 #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1572 msgid "Preparations" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):149 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 Virtual Mailhosting System with Postfix Guide in the Gentoo " "Documentation." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):163 msgid "Installing the programs needed" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):167 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 msgid "Installing Amavis, Spamassassin and Clamav" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):172 #, no-wrap msgid "" "\n" "# emerge amavisd-new spamassassin clamav \n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):176 msgid "" "As previously mentioned you should already have a working postfix " "instance running on the box. Basically this shouldn't be much more than " "emerge postfixand 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 msgid "Setting up DNS" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):189 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 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 msgid "" "Start out by creating a MX record for the mail gateway and an A record for the next destination." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):204 #, no-wrap msgid "" "\n" "(Create a MX record for the gateway server)\n" " MX 10 mailgateway.mydomain.tld.\n" "(Create an A record for the gateway server)\n" "mailgateway A mgw.ip.add.here\n" "(Create an A record for the next hop mail server)\n" "mail A ms.ip.add.here\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):213 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 MX 20 backup-mx.some-isp.tld" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):222 msgid "Opening the firewall" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):225 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 msgid "Application" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(th):233 msgid "Protocol" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(th):233 msgid "Port" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(ti):236 msgid "UDP" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(ti):236 msgid "6277" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(ti):239 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 msgid "TCP" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(ti):239 msgid "7" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(ti):242 msgid "Razor" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(ti):242 msgid "2703" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):246 msgid "Razor uses pings to discover what servers are closest to it." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):253 msgid "Configuring Postfix" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):256 msgid "" "First we have to tell postfix to listen on port 10025 and we remove " "most of the restrictions as they have already been applied by the " "postfix 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 /etc/postfix/master.cf" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):264 msgid "Changing the master.cf file" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):264 #, no-wrap msgid "" "\n" "smtp-amavis unix - - n - 2 smtp\n" " -o smtp_data_done_timeout=1200\n" " -o smtp_send_xforward_command=yes\n" "#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\n" "\n" "127.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" "#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=\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):297 msgid "" "The smtp-amavis 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 " "$max_servers in amavisd.conf. Keep in mind that " "amavisd-new is quite memory-intensive and raising the amount of " "amavisd-new 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 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 content_filter= in main.cf. 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 msgid "The Before-Queue(proxy) method is still not properly tested." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):320 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 msgid "" "The file master.cf tells the postfix master program how to run " "each individual postfix process. More info with man 8 master." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):332 msgid "" "Next we need the main postfix instance listening on port 25 to filter " "the mail through amavisd-new listening on port 10024." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):337 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 msgid "Modifying /etc/postfix/main.cf" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):343 #, no-wrap msgid "" "\n" "biff = no\n" "empty_address_recipient = MAILER-DAEMON\n" "queue_minfree = 120000000\n" "\n" "content_filter = smtp-amavis:[127.0.0.1]:10024\n" "#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.\n" "transport_maps = hash:/etc/postfix/transport\n" "\n" "relay_domains = $transport_maps\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):360 msgid "" "Postfix has a lot of options set in main.cf. For further " "explanation of the file please consult man 5 postconf or the same " "online Postfix " "Configuration Parameters." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):367 msgid "" "The format of the transport 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 msgid "/etc/postfix/transport" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):373 #, no-wrap msgid "" "\n" "mydomain.tld smtp:mail.mydomain.tld\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):377 msgid "" "After we have edited the file we need to run the postmap command. " "Postfix does not actually read this file so we have to convert it to the " "proper format with postmap /etc/postfix/transport. This creates the " "file /etc/postfix/transport.db. 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 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 smtp:mail.mydomain." "tld:25000." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):391 msgid "" "If your first attempts to send mail result in messages bouncing, you've " "likely made a configuration error somewhere. Try temporarily enabling " "soft_bounce 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 soft_bounce " "is disabled or removed." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):400 msgid "Enabling soft_bounce" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):400 #, no-wrap msgid "" "\n" "# postconf -e \"soft_bounce = yes\"\n" "# /etc/init.d/postfix reload\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):405 msgid "" "Once you've finished creating a working configuration, be sure to disable or " "remove soft_bounce and reload postfix." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):413 msgid "Configuring Amavisd-new" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):416 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 msgid "Amavisd-new itself has a number of extra features:" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(li):429 msgid "" "it identifies dangerous file attachments and has policies to handle them" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(li):435 msgid "whitelists" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(li):436 msgid "blacklists" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(li):437 msgid "spam score thresholds" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(li):438 msgid "virus and spam policies" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(li):432 msgid "per-user, per-domain and system-wide policies for: " msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):443 msgid "" "Apart from postfix and freshclam we will run all applications " "as the user amavis." msgstr "" #.

    #. Create the new home directory and set the proper permissions. #.

    #. #.
    #. # mkdir /var/amavis
    #. # chown amavis:amavis /var/amavis
    #. # chmod 750 /var/amavis
    #. 
    #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):466 msgid "Edit the following lines in /etc/amavisd.conf" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):470 msgid "Editing /etc/amavisd.conf" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):470 #, no-wrap msgid "" "\n" "(Insert the domains to be scanned)\n" "$mydomain = 'example.com';\n" "(Bind only to loopback interface)\n" "$inet_socket_bind = '127.0.0.1';\n" "(Forward to Postfix on port 10025)\n" "$forward_method = 'smtp:127.0.0.1:10025';\n" "$notify_method = $forward_method;\n" "(Define the account to send virus alert emails)\n" "$virus_admin = \"virusalert\\@$mydomain\";\n" "(Always add spam headers)\n" "$sa_tag_level_deflt = -100;\n" "(Add spam detected header aka X-Spam-Status: Yes)\n" "$sa_tag2_level_deflt = 5;\n" "(Trigger evasive action at this spam level)\n" "$sa_kill_level_deflt = $sa_tag2_level_deflt;\n" "(Do not send delivery status notification to sender. It does not affect\n" "delivery of spam to recipient. To do that, use the kill_level)\n" "$sa_dsn_cutoff_level = 10;\n" "Don't bounce messages left and right, quarantine\n" "instead\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 msgid "" "With this line $sa_tag2_level_deflt = 5; you set the Spamassassin " "spam score to 5. This might be a bit low. As you might have noticed the " "Amavisd-new default is 6.3. If you don't want to see a single spam " "mail in your mail folder choose 5, but if you don't want to deal with " "false positives choose 6.3." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):504 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 msgid "Create a quarantine directory for the virus mails" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):509 #, no-wrap msgid "" "\n" "# mkdir /var/amavis/virusmails\n" "# chown amavis:amavis /var/amavis/virusmails\n" "# chmod 750 /var/amavis/virusmails\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):515 msgid "Amavisd-new offers finer policy tuning by using policy banks." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):522 msgid "Configuring ClamAV" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):525 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 clamd log using syslog and turn on " "verbose logging. Also do not run clamd as root. Now edit " "/etc/clamd.conf" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):533 msgid "Edit /etc/clamd.conf" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):533 #, no-wrap msgid "" "\n" "(Verbose logging with syslog)\n" "LogSyslog\n" "LogVerbose\n" "LogFacility LOG_MAIL\n" "(Change pid file location)\n" "PidFile /var/run/amavis/clamd.pid\n" "(Set the clamav socket)\n" "LocalSocket /var/amavis/clamd\n" "(Close the connection when this limit is exceeded)\n" "StreamMaxLength 10M\n" "(Don't run clamd as root)\n" "User amavis\n" "(Newer versions require you to uncomment this)\n" "ScanMail\n" "ScanArchive\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):551 msgid "Also remember to remove the Example directive to make ClamAV work" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):555 msgid "" "ClamAV comes with the freshclam deamon dedicated to periodical checks " "of virus signature updates. Instead of updating virus signatures twice a day " "we will make freshclam update virus signatures every two hours." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):561 msgid "Edit /etc/freshclam.conf" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):561 #, no-wrap msgid "" "\n" "(Syslog logging)\n" "LogSyslog\n" "(Verbose logging)\n" "LogVerbose\n" "(Explicitly drop root privileges)\n" "DatabaseOwner clamav\n" "(Check for updates every two hours. That is the official recommendation)\n" "Checks 12\n" "(Use the mirror closest to you. Replace XY with your country code\n" "DatabaseMirror db.XY.clamav.net\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):574 msgid "" "Start clamd with freshclam using the init scripts by modifying " "/etc/conf.d/clamd." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):579 msgid "Modifying /etc/conf.d/clamd" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):579 #, no-wrap msgid "" "\n" "START_CLAMD=yes\n" "FRESHCLAM_OPTS=\"-d\"\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):584 msgid "" "At last modify amavisd.conf 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 msgid "Modifying /etc/amavisd.conf" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):589 #, no-wrap msgid "" "\n" "(Uncomment the clamav scanner and modify socket location)\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 msgid "" "Do NOT modify the $unix_socketname unless you know what you're doing." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):604 msgid "Configuring Vipul's Razor" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):607 msgid "" "Razor2 is a collaborative and distributed spam checksum network. Install it " "with emerge razor and create the needed configuration files. Do this " "as user amavis by running su - amavis followed razor-admin -" "create." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):614 msgid "Creating the required configuration files" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):614 #, no-wrap msgid "" "\n" "# emerge razor\n" "\n" "(Temporarily set amavis' shell to bash)\n" "# usermod -s /bin/bash amavis\n" "# su - amavis\n" "$ razor-admin -create\n" "$ exit\n" "\n" "(Reset the shell to /bin/false)\n" "# usermod -s /bin/false amavis\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):630 msgid "Configuring Distributed Checksum Clearinghouse (dcc)" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):633 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 msgid "Installing DCC" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):639 #, no-wrap msgid "" "\n" "# emerge dcc\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):646 msgid "Configuring Spamassassin" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):649 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 /etc/" "mail/spamassassin/local.cf and overridden by options in /etc/" "amavisd.conf." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):657 msgid "Create /etc/mail/spamassassin/local.cf" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):657 #, no-wrap msgid "" "\n" "# Enable the Bayes system\n" "use_bayes 1\n" "\n" "# Enable all network checks\n" "skip_rbl_checks 0\n" "\n" "# 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\n" "ok_languages da en no sv\n" "\n" "# Mail using locales used in these country codes will not be marked\n" "# as being possibly spam in a foreign language.\n" "ok_locales en\n" "\n" "# Use a sensible bayes path\n" "bayes_path /var/amavis/.spamassassin/bayes\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):677 msgid "" "With Spamassassin version 3.1 you have to enable DCC, Razor2 by uncommenting " "the corresponding lines in v310.pre." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):682 msgid "" "You can find inspiration for your local.cf file by trying the " "SpamAssassin " "Configuration Generator." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):688 msgid "" "You might also want to switch the ok_languages and ok_locales." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):697 msgid "Every good rule has good exceptions as well" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):701 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 amavisd." "conf." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):709 msgid "Modifying amavisd.conf to do sitewide scoring" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):709 #, no-wrap msgid "" "\n" "read_hash(\"/var/amavis/sender_scores_sitewide\"),\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):713 msgid "" "In the sender_scores_sitewide 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 msgid "whitelist_sender example" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):719 #, no-wrap msgid "" "\n" "(Whitelist all emails from the specific email address)\n" "postmaster@example.net -3.0\n" "(Whitelist all emails from the example.net excluding subdomains)\n" ".example.net 1.0\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):726 msgid "See /etc/amavisd.conf for more examples." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):730 msgid "" "Placing these addresses outside amavisd.conf is a cleaner and " "safer solution." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):735 msgid "" "Alternatively it can be done in Spamassassin's configuration file /etc/" "mail/spamassassin/local.cf but I think it is cleaner to do it in " "/etc/amavisd.conf." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):741 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 msgid "" "While waiting for a better method you can add the following to amavisd." "conf to bypass spam checks for postmaster and abuse " "mailboxes." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):752 msgid "By pass spam filters for all postmaster and abuse mails" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):752 #, no-wrap msgid "" "\n" "map { $bypass_spam_checks{lc($_)}=1 } (qw(\n" " postmaster@\n" " abuse@\n" "));\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(impo):759 msgid "" "While we are at it we should never automatically discard mails to the " "postmaster or the abuse accounts. See RFC 2142 MAILBOX NAMES FOR COMMON SERVICES, ROLES " "AND FUNCTIONS. Otherwise your domains might end up listed in some of " "the evil lists over at rfc-" "ignorant.org." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):773 msgid "Adding more rules" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):777 msgid "" "If you want to use more rules provided by the SARE Ninjas over at the SpamAssassin Rules Emporium you " "can easily add and update them using the sa-update mechanism included " "in Spamassassin." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):784 msgid "" "A brief guide to using SARE rulesets with sa-update can be found here." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):794 msgid "Testing and finishing up" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):796 msgid "Testing the setup" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):799 msgid "" "Now before you start freshclam you can manually verify that it works." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):803 msgid "Testing freshclam" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):803 #, no-wrap msgid "" "\n" "# freshclam\n" "ClamAV update process started at Sun May 2 09:13:41 2004\n" "Reading CVD header (main.cvd): OK\n" "Downloading main.cvd [*]\n" "main.cvd updated (version: 22, sigs: 20229, f-level: 1, builder: tkojm)\n" "Reading CVD header (daily.cvd): OK\n" "Downloading daily.cvd [*]\n" "daily.cvd updated (version: 298, sigs: 1141, f-level: 2, builder: diego)\n" "Database updated (21370 signatures) from database.clamav.net (193.1.219.100).\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):815 msgid "" "Now you have updated virus definitions and you know that freshclam." "conf is working properly." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):820 msgid "" "Test freshclam and amavisd from the cli and amavisd testmails. Start " "clamd and amavis with the following commands:" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):825 msgid "Start amavisd and clamd and reload postfix configuration" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):825 #, no-wrap msgid "" "\n" "# /etc/init.d/clamd start\n" "# /etc/init.d/amavisd start\n" "# /etc/init.d/postfix reload\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):831 msgid "" "If everything went well postfix 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 msgid "Checking log files" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):836 #, no-wrap msgid "" "\n" "# tail -f /var/log/mail.log\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):840 msgid "" "Depending on your log settings the correct path might be /var/log/" "messages." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):845 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 msgid "" "Use netcat to manually connect to amavisd on port 10024 and " "postfix on port 10025." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):855 msgid "" "Netcat can be used as an advanced replacement for telnet. Install it " "with emerge netcat." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):860 msgid "" "For some unknown reason you can not complete a manual mail injection to " "amavisd with netcat. Use telnet instead." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):865 msgid "" "Manually checking that amavisd and postfix are listning to the new ports" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):865 #, no-wrap msgid "" "\n" "# nc localhost 10024\n" "(Amavis working)\n" "220 [127.0.0.1] ESMTP amavisd-new service ready\n" "nc localhost 10025\n" "(Postfix reinject working)\n" "220 example.com ESMTP Postfix\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):874 msgid "" "If you want to see the complete output from amavisd-new start amavisd " "debug-sa as the amavis user and send a mail. For this to work you " "might have to change the default shell in /etc/passwd." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):881 msgid "Add amavisd and clamd to the default runlevel." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):885 msgid "Add amavisd and clamd to the default runlevel" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):885 #, no-wrap msgid "" "\n" "# rc-update add clamd default\n" "# rc-update add amavisd default\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):890 msgid "" "We do not add spamd to the default runlevel as amavisd uses " "the Spamassassin Perl libraries directly." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):895 msgid "" "You might notice Net::Server: Couldn't POSIX::setuid to ... [] lines " "in your log. According to amavis chroot README, if the process UID remains 0 " "(root), the program will terminate, otherwise you can consider the " "message just as informative. This is because POSIX::setuid() returns " "a string 0 but true." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(impo):905 msgid "" "If you enabled login for amavis remember to set back the login shell in " "/etc/passwd to /bin/false." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):915 msgid "Autolearning and sidelining emails" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):917 msgid "Creating the spamtrap user" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):920 msgid "Create the spamtrap account and directories." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):924 msgid "Create spamtrap account" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):924 #, no-wrap msgid "" "\n" "# useradd -m spamtrap\n" "# maildirmake /home/spamtrap/.maildir\n" "# chown -R spamtrap:mailusers /home/spamtrap/.maildir\n" "(Give the spamtrap user a sensible password)\n" "# passwd spamtrap\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):932 msgid "" "If you manually want to check some of the mails to ensure that you have no " "false positives you can use the following procmail recipe to sideline " "spam found into different mail folders." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):941 msgid "Creating .procmailrc" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):944 msgid "Creating /home/spamtrap/.procmailrc" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):944 #, no-wrap msgid "" "\n" "#Set some default variables\n" "MAILDIR=$HOME/.maildir\n" "\n" "SPAM_FOLDER=$MAILDIR/.spam-found/\n" "\n" "LIKELY_SPAM_FOLDER=$MAILDIR/.likely-spam-found/\n" "\n" "#Sort mails with a spamscore of 7+ to the spamfolder\n" ":0:\n" "* ^X-Spam-Status: Yes\n" "* ^X-Spam-Level: \\*\\*\\*\\*\\*\\*\\*\n" "$SPAM_FOLDER\n" "\n" "#Sort mail with a spamscore between 5-7 to the likely spam folder\n" ":0:\n" "* ^X-Spam-Status: Yes\n" "$LIKELY_SPAM_FOLDER\n" "\n" "#Sort all other mails to the inbox\n" ":0\n" "*\n" "./\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(warn):969 msgid "" "If your mail server is going to receive a lot of mail you should NOT use the " "likely-spam recipe. Instead set $sa_tag2_level_deflt high enough to " "avoid false positives and filter it directly to $SPAM_FOLDER." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):976 msgid "" "If you haven't already installed procmail do it with emerge " "procmail." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):981 msgid "Now make sure that Postfix uses procmail to deliver mail." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):985 #, no-wrap msgid "" "\n" "mailbox_command = /usr/bin/procmail -a \"DOMAIN\"\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):992 msgid "Create mailfolders" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):995 msgid "Now we will create shared folders for ham and spam." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):999 msgid "Create the necessary mailfolders" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):999 #, no-wrap msgid "" "\n" "# maildirmake /var/amavis/.maildir\n" "# maildirmake -S /var/amavis/.maildir/Bayes\n" "# maildirmake -s write -f spam /var/amavis/.maildir/Bayes\n" "# maildirmake -s write -f ham /var/amavis/.maildir/Bayes\n" "# maildirmake -s write -f redeliver /var/amavis/.maildir/Bayes\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1007 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 msgid "Setting the proper permissions" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1012 #, no-wrap msgid "" "\n" "# groupadd mailusers\n" "# usermod -G mailusers spamtrap\n" "# chown -R amavis:mailusers /var/amavis/.maildir/\n" "# chown amavis:mailusers /var/amavis/\n" "# chmod -R 1733 /var/amavis/.maildir/Bayes/\n" "# chmod g+rx /var/amavis/.maildir/\n" "# chmod g+rx /var/amavis/.maildir/Bayes/\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(warn):1022 msgid "" "This grants members of the mailusers groups access to amavis " "mail." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1027 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 msgid "Then run the following command as the spamtrap user:" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1036 msgid "Adding the shared folders to the users mailfolder" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1036 #, no-wrap msgid "" "\n" "$ maildirmake --add Bayes=/var/amavis/.maildir/Bayes $HOME/.maildir\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1040 msgid "" "We have to give the group read permissions on the Bayes 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 msgid "Adding cron jobs" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1052 msgid "" "Now run crontab -u amavis -e 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 msgid "amavis crontab" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1057 #, no-wrap msgid "" "\n" "#Auto learn\n" "0 * * * * /usr/bin/sa-learn --spam /var/amavis/.maildir/Bayes/.spam/{cur,new} \\\n" " > /dev/null 2>&1\n" "0 * * * * /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 msgid "amavis has to be a member of the cron group to run crons." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1070 msgid "" "It seems like the shared maildir folders will make sa-learn 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 msgid "Modifying amavisd.conf" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1082 msgid "" "Now modify amavis to redirect spam emails to the spamtrap account and " "keep spamheaders." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1087 #, no-wrap msgid "" "\n" "(Define the account to send virus spam emails)\n" "$spam_quarantine_to = \"spamtrap\\@$myhostname\";\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1095 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 likely-spam. These are manually reviewed and any false positive is moved to the " "redeliver mailfolder. From there it is first fed through sa-" "learn --ham and then redelivered with all headers intact using a patched " "version of smtpclient by Ralf S. Engelschall." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1109 msgid "" "The original version 1.0.0 of smtpclient is already in Portage " "however to keep all headers intact we use a modified version. Here is how " "you install the revised version:" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1115 msgid "Installing revised smtpclient" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1115 #, no-wrap msgid "" "\n" "(Switch to your portage OVERLAY)\n" "# wget http://home.coming.dk/files/smtpclient.tar.gz\n" "# tar xzf smtpclient.tar.gz\n" "# echo \"mail-client/smtpclient ~x86\" >> /etc/portage/package.keywords\n" "# echo \"mail-client/smtpclient fullheaders\" >> /etc/portage/package.use\n" "# emerge smtpclient\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1124 msgid "" "Check for mails in the redeliver folder every minute using cron." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1128 #, no-wrap msgid "" "\n" "#Redeliver false positives\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 msgid "" "Now we only have to copy the redeliver.pl file to /usr/local/" "bin/. Download " "it or use the version below." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1143 msgid "redeliver.pl" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1143 #, no-wrap msgid "" "\n" "#!/usr/bin/perl -w\n" "\n" "# Redelivers mail using a modified version of smtpclient\n" "# By: Jens Hilligsoe <gentoo@hilli.dk>\n" "\n" "use strict;\n" "\n" "if(!($#ARGV == 0)) {\n" " die \"Usage:\\n$0 maildir_mail\\n\";\n" "}\n" "\n" "my $mail = $ARGV[0];\n" "my $to = \"\";\n" "my $from = \"\";\n" "\n" "sub prunefile ( $ );\n" "\n" "# Retrieve To and From envelope adresses\n" "open (MAIL, $mail) or die \"Could not open $mail: $?\\n\";\n" "while(<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" "\n" "if($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" "\n" "sub 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 msgid "Cleaning up" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1207 msgid "" "We don't want to keep mail forever so we use tmpwatch to clean up " "regularily. Emerge it with emerge tmpwatch. Only root is able " "to run tmpwatch so we have to edit the root crontab." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1213 msgid "Modifying root crontab" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1213 #, no-wrap msgid "" "\n" "# Clean up\n" "# Keep virusmails for a week (24*7 hours)\n" "15 0 * * * /usr/sbin/tmpwatch -c -f -d --quiet 168 /var/amavis/virusmails/\n" "# Delete spam and ham learned after a week\n" "15 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 msgid "Greylisting" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1299 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 try " "again later 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 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 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 msgid "" "There are other greylisting policy servers for Postfix around (such as Gld, which is in Portage, and " "SQLgrey). Some of them " "support database backends, auto whitelisting and other neat features." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1336 msgid "Simple greylisting" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1339 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 msgid "" "We need the file greylist.pl but unfortunately the ebuild does " "not install it as default." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1349 msgid "Getting greylist.pl" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1349 #, no-wrap msgid "" "\n" "# cp /usr/portage/distfiles/postfix-your-version-here.tar.gz /root/\n" "# tar xzf postfix-your-version-here.tar.gz\n" "# cp postfix-2.1.0/examples/smtpd-policy/greylist.pl /usr/bin/\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1355 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 msgid "Creating directory for the greylisting database" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1360 #, no-wrap msgid "" "\n" "# mkdir /var/mta\n" "# chown nobody /var/mta\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(warn):1365 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 msgid "Configuring greylisting" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1380 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 master." "cf:" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1386 msgid "Modifying master.cf to use greylisting" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1386 #, no-wrap msgid "" "\n" "policy-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 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 main.cf:" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1397 #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1481 msgid "Modifying main.cf to use greylisting" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1397 #, no-wrap msgid "" "\n" "policy-greylist_time_limit = 3600\n" "(Under smtpd_recipient_restrictions add:)\n" "check_sender_access hash:/etc/postfix/sender_access\n" "(Later on add:)\n" "restriction_classes = greylist\n" "greylist = check_policy_service unix:private/policy-greylist\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(warn):1406 msgid "" "Be sure to specify check_sender_access AFTER " "reject_unauth_destination or else your system could become an open " "mail relay." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1412 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 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 online. " "Add the domains you receive a lot of spam from to /etc/postfix/" "sender_access:" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1427 msgid "Format of sender_access" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1427 #, no-wrap msgid "" "\n" "aol.com greylist\n" "hotmail.com greylist\n" "bigfoot.com greylist\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1433 msgid "If you want a more extensive list:" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1437 msgid "Adding all domains to sender_access" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1437 #, no-wrap msgid "" "\n" "# wget http://www.monkeys.com/anti-spam/filtering/sender-domain-validate.in\n" "# cat sender-domain-validate.in | sort | awk {'print $1 \"\\t\\t greylist\"'} > /etc/postfix/sender_access\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1442 msgid "Now we only have to initialize the sender_access database:" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1447 msgid "Initialize sender_access" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1447 #, no-wrap msgid "" "\n" "# postmap /etc/postfix/sender_access\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1451 msgid "Now the setup of simple greylisting is complete." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(warn):1455 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 greylist.pl processes." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1464 msgid "Configuring improved greylisting with postgrey" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1467 msgid "" "You can install the enhanced greylisting policy server with a simple " "emerge:" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1472 msgid "Installing postgrey" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1472 #, no-wrap msgid "" "\n" "# emerge postgrey\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1476 msgid "" "After installing postgrey we have to edit main.cf. " "Changes are almost exactly like the built in greylisting." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1481 #, no-wrap msgid "" "\n" "(Under smtpd_recipient_restrictions add:)\n" "check_sender_access hash:/etc/postfix/sender_access\n" "(Later on add:)\n" "smtpd_restriction_classes = greylist\n" "greylist = check_policy_service inet:127.0.0.1:10030\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1489 msgid "" "The Postfix SMTPD_POLICY_README only uses restriction_classes but " "that does not appear to work." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1494 msgid "" "If you want to greylist everything instead add check_policy_service " "inet:127.0.0.1:10030." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1499 msgid "Finally, start the server and add it to the proper runlevel." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1503 msgid "Starting postgrey" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1503 #, no-wrap msgid "" "\n" "# /etc/init.d/postgrey start\n" "# rc-update add postgrey default\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1508 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 msgid "SPF (Sender Policy Framework)" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1524 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 Return-Path." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1530 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 msgid "" "First domain owners have to create a special TXT 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 msgid "Example SPF record" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1542 #, no-wrap msgid "" "\n" "example.com. IN TXT \"v=spf1 a mx ptr -all\"\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1546 msgid "" "The -all means to reject all mail by default but allow mail from the " "A(a), MX(mx) and PTR(ptr) DNS " "records. For more info consult further resources below." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1553 msgid "" "If you relay outgoing mail through your ISP you will have to add: include:" "yourisp.com." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1558 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 msgid "" "If you want to use SPF with Spamassassin instead simply emerge dev-" "perl/Mail-SPF-Query and restart Amavisd-new." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1575 msgid "" "First you have to install Postfix 2.1 as described above. When you have " "fetched the source grab the spf.pl with:" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1581 msgid "Installing spf.pl" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1581 #, no-wrap msgid "" "\n" "# cp postfix-<version>/examples/smtpd-policy/spf.pl /usr/local/bin/\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1585 msgid "" "The spf.pl coming with Postfix is slightly buggy so find and " "uncomment the following line: push @HANDLERS, \"sender_permitted_from\"; " "use Mail::SPF::Query;. Furthermore in about line 199 substitute " "comemnt with comment. Alternatively you can download a development version." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1594 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 msgid "Installing the needed Perl libraries" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1599 #, no-wrap msgid "" "\n" "# emerge Mail-SPF-Query Net-CIDR-Lite Sys-Hostname-Long\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1603 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 msgid "Modifying master.cf to use SPF" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1608 #, no-wrap msgid "" "\n" "policy-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 msgid "" "Now add the SPF check in main.cf. 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 msgid "Modifying main.cf to use SPF" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1618 #, no-wrap msgid "" "\n" "(Under smtpd_recipient_restrictions add:)\n" "check_policy_service unix:private/policy-spf\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1623 msgid "" "If you're experiencing problems with SPF, e.g. when using fetchmail, " "you might want to enable SPF for certain domains only." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1633 msgid "Configuring amavisd-new to use MySQL" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1635 msgid "Configuring MySQL" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1638 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 msgid "" "For large domains the default values you can set in amavisd.conf 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 msgid "Creating the MySQL database and user" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1649 #, no-wrap msgid "" "\n" "# mysql -u root -p mysql\n" "Enter password:\n" "Welcome to the MySQL monitor. Commands end with ; or \\g.\n" "Your MySQL connection id is 78 to server version: 4.0.18-log\n" "\n" "Type 'help;' or '\\h' for help. Type '\\c' to clear the buffer.\n" "mysql> create database maildb;\n" "mysql> GRANT INSERT,UPDATE,DELETE,SELECT ON maildb.* TO 'mail'@'localhost' IDENTIFIED BY 'very_secret_password';\n" "mysql> use maildb;\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1661 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 msgid "MySQL table layout" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1666 #, no-wrap msgid "" "\n" "CREATE 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" " );\n" "CREATE UNIQUE INDEX users_idx_email ON users(email);\n" "\n" "(any e-mail address, external or local, used as senders in wblist)\n" "CREATE 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" " );\n" "CREATE UNIQUE INDEX mailaddr_idx_email ON mailaddr(email);\n" "\n" "(-- per-recipient whitelist and/or blacklist,\n" "-- puts sender and recipient in relation wb)\n" "(white or blacklisted sender)\n" "CREATE 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" "\n" "CREATE 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 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 msgid "" "Lookups trying to match email are done with raw (rfc2821-unquoted and " "unbracketed) addresses as a key, i.e.: John \"Funny\" Smith@example.com" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1733 msgid "" "Lookups are performed in the following order: SQL, LDAP, " "hash, ACL, regexp, constant. The first that " "returns a definitive answer (not undef/NULL) stops the search." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1739 msgid "" "If you wish to use whitelisting and blacklisting you must add the sender and " "receiver to mailadr after which you create the relation between the " "two e-mail addresses in wblist and state if it is whitelisting (W) or blacklisting (B)." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1746 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 msgid "Create test user and test policy" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1751 #, no-wrap msgid "" "\n" "INSERT 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" "\n" "INSERT 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 msgid "Copy this to somewhere else and adjust to suit your own environment." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1784 msgid "" "local should be set to Y otherwise the mail will not be " "scanned for spam." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1789 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 " "amavisd.conf." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1798 msgid "Configuring amavisd to use MySQL" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1801 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 #, no-wrap msgid "" "\n" "@lookup_sql_dsn =\n" " ( ['DBI:mysql:maildb:host1', 'mail', 'very_secret_password'] );\n" "\n" "(For clarity uncomment the default)\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" "(If you want sender white/blacklisting)\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 msgid "Configuring Spamassassin to use MySQL" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1830 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 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 msgid "Creating the new MySQL database and user" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1842 #, no-wrap msgid "" "\n" "# mysql -u root -p mysql\n" "Enter password:\n" "Welcome to the MySQL monitor. Commands end with ; or \\g.\n" "Your MySQL connection id is 78 to server version: 4.0.18-log\n" "\n" "Type 'help;' or '\\h' for help. Type '\\c' to clear the buffer.\n" "mysql> create database dbname;\n" "mysql> GRANT INSERT,UPDATE,DELETE,SELECT ON dbname.* TO 'dbuser'@'localhost' IDENTIFIED BY 'another_very_secret_password';\n" "mysql> use dbname;\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1854 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 #, 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 msgid "The INSERT line is needed otherwise Spamassassin will not work." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1921 msgid "" "This is also available in the source tarball in the files awl_mysql." "sql and bayes_mysql.sql." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1929 msgid "Configuring Spamassassin to use the MySQL backend" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1932 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 msgid "Converting Bayes data from a DBM Database" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1944 msgid "" "Note that the last step should only be performed after the MySQL database " "and secrets.cf have been updated." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1949 msgid "Now give Spamassassin the required info:" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1953 msgid "Modifying /etc/mail/spamassassin/secrets.cf" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1953 #, no-wrap msgid "" "\n" "(Tell Spamassassin to use MySQL for bayes data\n" "bayes_store_module Mail::SpamAssassin::BayesStore::SQL\n" "bayes_sql_dsn DBI:mysql:sa_bayes:localhost:3306\n" "bayes_sql_username db_name\n" "bayes_sql_password another_very_secret_password\n" "\n" "(Tell Spamassassin to use MySQL for AWL data\n" "auto_whitelist_factory Mail::SpamAssassin::SQLBasedAddrList\n" "user_awl_dsn DBI:mysql:sa_bayes:localhost:3306\n" "user_awl_sql_username db_name\n" "user_awl_sql_password another_very_secret_password\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1967 msgid "Next, change its permissions for proper security:" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre:caption):1971 msgid "Changing permissions" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(pre):1971 #, no-wrap msgid "" "\n" "# chmod 400 /etc/mail/spamassassin/secrets.cf\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(note):1975 msgid "" "To create a very secret password use emerge app-admin/makepasswd and " "makepasswd -chars=8" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1980 msgid "Now all you have to do is /etc/init.d/amavisd restart." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1989 msgid "Troubleshooting" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):1991 #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2100 msgid "Amavisd-new" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):1994 msgid "" "To troubleshoot Amavisd-new start out by stopping it with /etc/init.d/" "amavisd stop and then start it manually in the foreground with " "amavisd debug 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 msgid "Spamassassin" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):2006 msgid "" "To troubleshoot Spamassassin you can filter an email through it with " "spamassassin -D < mail. 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 msgid "" "If you need to troubleshoot you have to enable login for the user amavis by changing the login shell in /etc/passwd to /bin/" "bash." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):2018 msgid "" "If you want you can make get the same information and more with Amavisd-new " "using amavisd debug-sa." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):2026 msgid "Getting help" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):2029 msgid "" "If you need help a good place to go is the amavis-user mailing list. Before " "postting a question try searching the Amavis User mailing list archives. If you find no " "answer here you can subscribe to the Amavis User mailing list" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(p):2039 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 msgid "Resources" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):2051 msgid "For further information" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2056 msgid "http://www.ijs.si/software/amavisd/INSTALL" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2056 msgid "Amavisd-new INSTALL" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2060 msgid "http://www.ijs.si/software/amavisd/README.postfix" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2060 msgid "Amavisd-new Postfix README" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2064 msgid "http://www.ijs.si/software/amavisd/amavisd-new-docs.html#pbanks" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2064 msgid "Amavisd-new Policy bank documentation" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2068 msgid "http://spamassassin.apache.org/full/3.0.x/dist/sql/README" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2068 msgid "Spamassassin SQL README" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2072 msgid "http://www.greylisting.org" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2075 msgid "http://www.postfix.org/FILTER_README.html" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2075 msgid "Postfix SMTPD_POLICY_README" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2079 msgid "http://www.unixwiz.net/techtips/postfix-HELO.html" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2079 msgid "Blocking spammers with Postfix HELO controls" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2083 msgid "http://www.linuxjournal.com/article.php?sid=7327" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2083 msgid "SPF Overview" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2087 msgid "http://jimsun.linxnet.com/misc/postfix-anti-UCE.txt" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2087 msgid "Jim Seymour's Postfix Anti-UCE Cheat Sheet" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):2095 msgid "General resources" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2099 msgid "http://www.spamassassin.org" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2100 msgid "http://www.ijs.si/software/amavisd/" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2102 msgid "http://www.ijs.si/software/amavisd/amavisd-new-docs.html" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2102 msgid "Amavisd-new documentation bits and pieces" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2105 msgid "http://razor.sourceforge.net/" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2105 msgid "Vipuls's Razor" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2106 msgid "http://pyzor.sourceforge.net/" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2108 msgid "http://www.rhyolite.com/anti-spam/dcc/" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2108 msgid "Distributed Checksum Clearinghouse" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2112 msgid "http://www.renaissoft.com/projects/maia/" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2112 msgid "Maia Mailguard" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(title):2120 msgid "Other howtos" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri:link):2125 msgid "http://www.flakshack.com/anti-spam/" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(uri):2125 msgid "" "Fairly-Secure Anti-SPAM Gateway Using OpenBSD, Postfix, Amavisd-new, " "SpamAssassin, Razor and DCC" msgstr "" #. Place here names of translator, one per line. Format should be NAME; ROLE; E-MAIL #: ../../gentoo/xml/htdocs/doc/en//mailfilter-guide.xml(None):0 msgid "translator-credits" msgstr ""