# SOME DESCRIPTIVE TITLE. # Copyright (C) 2024, Jeff Moe # This file is distributed under the same license as the Libre Developers # Documentation package. # FIRST AUTHOR , 2024. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Libre Developers Documentation 0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2024-09-08 12:01-0600\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language: en\n" "Language-Team: en \n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.16.0\n" #: ../../../_source/mail-libre-is.rst:3 msgid "mail.libre.is" msgstr "" #: ../../../_source/mail-libre-is.rst:4 msgid "Documentation for Libre mail server." msgstr "" #: ../../../_source/mail-libre-is.rst:6 msgid "" "Setting up Internet mail servers is a pain. It's nothing like just setting " "up a web server..." msgstr "" #: ../../../_source/mail-libre-is.rst:9 msgid "" "The initial Administration section is for after the server has been set up " "and configured. Below it is how the server is set up." msgstr "" #: ../../../_source/mail-libre-is.rst:14 msgid "Administration" msgstr "" #: ../../../_source/mail-libre-is.rst:15 msgid "Once everything is setup working..." msgstr "" #: ../../../_source/mail-libre-is.rst:19 msgid "ispmail_userctl" msgstr "" #: ../../../_source/mail-libre-is.rst:20 msgid "The easiest way to admin is to run this script:" msgstr "" #: ../../../_source/mail-libre-is.rst:28 msgid "Database" msgstr "" #: ../../../_source/mail-libre-is.rst:29 msgid "" "To admin directly, log into the database using the mailadmin database " "password:" msgstr "" #: ../../../_source/mail-libre-is.rst:38 msgid "List Virtual Domains" msgstr "" #: ../../../_source/mail-libre-is.rst:46 msgid "List Virtual Users" msgstr "" #: ../../../_source/mail-libre-is.rst:54 msgid "List Virtual Aliases" msgstr "" #: ../../../_source/mail-libre-is.rst:62 msgid "Add Virtual Domain" msgstr "" #: ../../../_source/mail-libre-is.rst:64 msgid "Add the domain:" msgstr "" #: ../../../_source/mail-libre-is.rst:72 msgid "Add a Mail User" msgstr "" #: ../../../_source/mail-libre-is.rst:73 msgid "Generate a password with dovecot:" msgstr "" #: ../../../_source/mail-libre-is.rst:79 msgid "" "Log into database as mailadmin and run this command, using the dovecot " "generated password string, and set the domain and user email." msgstr "" #: ../../../_source/mail-libre-is.rst:82 msgid "Note, upstream docs are missing \"(\" and \")\" for VALUES." msgstr "" #: ../../../_source/mail-libre-is.rst:92 msgid "Add a User Alias" msgstr "" #: ../../../_source/mail-libre-is.rst:93 msgid "" "Example to add an alias. The first email should be the alias, the second " "email is where it should go to." msgstr "" #: ../../../_source/mail-libre-is.rst:104 msgid "Change a User Password" msgstr "" #: ../../../_source/mail-libre-is.rst:105 msgid "Generate string for new password:" msgstr "" #: ../../../_source/mail-libre-is.rst:111 msgid "Use that string:" msgstr "" #: ../../../_source/mail-libre-is.rst:119 msgid "Delete Virtual Domain" msgstr "" #: ../../../_source/mail-libre-is.rst:127 msgid "Delete User" msgstr "" #: ../../../_source/mail-libre-is.rst:135 msgid "Delete Alias" msgstr "" #: ../../../_source/mail-libre-is.rst:143 msgid "Email Client Setup" msgstr "" #: ../../../_source/mail-libre-is.rst:144 msgid "Set up mail clients, such as Thunderbird, thusly." msgstr "" #: ../../../_source/mail-libre-is.rst:146 msgid "Using example email address username@libre.is." msgstr "" #: ../../../_source/mail-libre-is.rst:167 msgid "Main Components" msgstr "" #: ../../../_source/mail-libre-is.rst:169 msgid "This install is based on this guide:" msgstr "" #: ../../../_source/mail-libre-is.rst:171 msgid "``_" msgstr "" #: ../../../_source/mail-libre-is.rst:173 msgid "" "For more information and details about what is what, refer to that site." msgstr "" #: ../../../_source/mail-libre-is.rst:176 msgid "The main components in use:" msgstr "" #: ../../../_source/mail-libre-is.rst:178 msgid "Certbot (Let's Encrypt)" msgstr "" #: ../../../_source/mail-libre-is.rst:180 msgid "``_" msgstr "" #: ../../../_source/mail-libre-is.rst:182 #: ../../../_source/mail-libre-is.rst:226 msgid "Debian" msgstr "" #: ../../../_source/mail-libre-is.rst:184 msgid "``_" msgstr "" #: ../../../_source/mail-libre-is.rst:186 #: ../../../_source/mail-libre-is.rst:425 msgid "Dovecot" msgstr "" #: ../../../_source/mail-libre-is.rst:188 msgid "``_" msgstr "" #: ../../../_source/mail-libre-is.rst:191 #: ../../../_source/mail-libre-is.rst:271 msgid "MariaDB" msgstr "" #: ../../../_source/mail-libre-is.rst:193 msgid "``_" msgstr "" #: ../../../_source/mail-libre-is.rst:195 #: ../../../_source/mail-libre-is.rst:323 msgid "Postfix" msgstr "" #: ../../../_source/mail-libre-is.rst:197 msgid "``_" msgstr "" #: ../../../_source/mail-libre-is.rst:199 msgid "redis" msgstr "" #: ../../../_source/mail-libre-is.rst:201 msgid "``_" msgstr "" #: ../../../_source/mail-libre-is.rst:203 #: ../../../_source/mail-libre-is.rst:401 msgid "rspamd" msgstr "" #: ../../../_source/mail-libre-is.rst:205 msgid "``_" msgstr "" #: ../../../_source/mail-libre-is.rst:207 msgid "unbound" msgstr "" #: ../../../_source/mail-libre-is.rst:209 msgid "``_" msgstr "" #: ../../../_source/mail-libre-is.rst:213 msgid "DNS" msgstr "" #: ../../../_source/mail-libre-is.rst:214 msgid "Add a DNS mx record, so it returns result like this:" msgstr "" #: ../../../_source/mail-libre-is.rst:221 msgid "Set IP for mail.libre.is. Set up reverse DNS records." msgstr "" #: ../../../_source/mail-libre-is.rst:227 msgid "" "Install Debian stable (bookworm). Install rsyslog for old school convenience:" msgstr "" #: ../../../_source/mail-libre-is.rst:236 msgid "Firewall" msgstr "" #: ../../../_source/mail-libre-is.rst:237 msgid "Open TCP ports." msgstr "" #: ../../../_source/mail-libre-is.rst:257 msgid "Apache" msgstr "" #: ../../../_source/mail-libre-is.rst:258 msgid "" "The Apache webserver is used out of laziness as it allows easy certificate " "updates with certbot. A webmail server won't be running on the main mail " "server." msgstr "" #: ../../../_source/mail-libre-is.rst:267 msgid "Open up firewall ports 80 and 443." msgstr "" #: ../../../_source/mail-libre-is.rst:272 msgid "The main database server." msgstr "" #: ../../../_source/mail-libre-is.rst:280 msgid "Add databases. Change password to something secure." msgstr "" #: ../../../_source/mail-libre-is.rst:324 msgid "The main SMTP mail server." msgstr "" #: ../../../_source/mail-libre-is.rst:331 msgid "" "Set up postfix to use MariaDB. Edit /etc/postfix/mysql-virtual-mailbox-" "domains.cf and add below, using the mailserver password used in MariaDB." msgstr "" #: ../../../_source/mail-libre-is.rst:344 msgid "Edit /etc/postfix/mysql-virtual-mailbox-maps.cf and add below contents:" msgstr "" #: ../../../_source/mail-libre-is.rst:354 msgid "Edit /etc/postfix/mysql-virtual-alias-maps.cf and add below:" msgstr "" #: ../../../_source/mail-libre-is.rst:364 msgid "Edit /etc/postfix/mysql-email2email.cf and add:" msgstr "" #: ../../../_source/mail-libre-is.rst:374 msgid "Then run these commands:" msgstr "" #: ../../../_source/mail-libre-is.rst:391 msgid "Redis" msgstr "" #: ../../../_source/mail-libre-is.rst:392 msgid "" "Note, the licensing of Redis has gone bad. The version in Debian is OK. But " "in the future, probably replace with a fork." msgstr "" #: ../../../_source/mail-libre-is.rst:402 msgid "Spam control." msgstr "" #: ../../../_source/mail-libre-is.rst:410 msgid "Certbot" msgstr "" #: ../../../_source/mail-libre-is.rst:411 msgid "" "Encryption certificates with Let's Encrypt. Not using an Apache webserver on " "the mail server makes getting new certificates a bit more complex." msgstr "" #: ../../../_source/mail-libre-is.rst:426 msgid "Just using encrypted IMAPS, not POP." msgstr "" #: ../../../_source/mail-libre-is.rst:433 msgid "" "Note, since IPv6 isn't being used, the dovecot install barfs. Edit /etc/" "dovecot/dovecot.conf and add this line, where appropriate:" msgstr "" #: ../../../_source/mail-libre-is.rst:440 msgid "" "Note, this is removing the \"::\" from listen, which using IPv6. Then re-run " "the install so the packages are happy. Note, the re-install won't overwrite " "the \"listen\" change." msgstr "" #: ../../../_source/mail-libre-is.rst:449 msgid "Add user and set up configs" msgstr "" #: ../../../_source/mail-libre-is.rst:477 msgid "Edit /etc/dovecot/conf.d/10-master.conf and add:" msgstr "" #: ../../../_source/mail-libre-is.rst:488 msgid "" "Edit /etc/dovecot/conf.d/10-ssl.conf, set key locations, and make it " "required." msgstr "" #: ../../../_source/mail-libre-is.rst:497 msgid "" "Edit /etc/dovecot/dovecot-sql.conf.ext file and add these lines at the " "bottom, changing the password to the mailserver database password." msgstr "" #: ../../../_source/mail-libre-is.rst:520 msgid "Set file permissions." msgstr "" #: ../../../_source/mail-libre-is.rst:527 msgid "Edit /etc/dovecot/conf.d/10-master.conf and change to:" msgstr "" #: ../../../_source/mail-libre-is.rst:540 msgid "Restart dovecot server." msgstr "" #: ../../../_source/mail-libre-is.rst:546 msgid "Run this to tell postfix to deliver to dovecot:" msgstr "" #: ../../../_source/mail-libre-is.rst:552 msgid "Edit /etc/dovecot/conf.d/20-lmtp.conf and change line like this:" msgstr "" #: ../../../_source/mail-libre-is.rst:559 msgid "Restart dovecot again...." msgstr "" #: ../../../_source/mail-libre-is.rst:567 msgid "More postfix" msgstr "" #: ../../../_source/mail-libre-is.rst:568 msgid "More postfix configuration, now that the above is set up." msgstr "" #: ../../../_source/mail-libre-is.rst:570 msgid "Set postfix to use dovecot for authentication:" msgstr "" #: ../../../_source/mail-libre-is.rst:584 msgid "Edit /etc/postfix/master.cf and change thusly:" msgstr "" #: ../../../_source/mail-libre-is.rst:601 #: ../../../_source/mail-libre-is.rst:728 msgid "Run:" msgstr "" #: ../../../_source/mail-libre-is.rst:607 msgid "Restart postfix:" msgstr "" #: ../../../_source/mail-libre-is.rst:613 msgid "" "Does it ever end? Edit /etc/postfix/master.cf and add to bottom of " "submission section." msgstr "" #: ../../../_source/mail-libre-is.rst:625 msgid "" "Allow aliases to send by adding this file (XXX check OK) /etc/postfix/" "aliases.cf with this contents:" msgstr "" #: ../../../_source/mail-libre-is.rst:633 msgid "Make sure all is good:" msgstr "" #: ../../../_source/mail-libre-is.rst:641 msgid "rspamd Configuration" msgstr "" #: ../../../_source/mail-libre-is.rst:642 msgid "Configure postfix for rspamd." msgstr "" #: ../../../_source/mail-libre-is.rst:650 msgid "Edit /etc/rspamd/override.d/milter_headers.conf and add:" msgstr "" #: ../../../_source/mail-libre-is.rst:656 msgid "Edit /etc/dovecot/conf.d/90-sieve.conf and change:" msgstr "" #: ../../../_source/mail-libre-is.rst:662 msgid "Create dir for new sieve filter:" msgstr "" #: ../../../_source/mail-libre-is.rst:668 msgid "" "Create /etc/dovecot/sieve-after/spam-to-folder.sieve with these contents:" msgstr "" #: ../../../_source/mail-libre-is.rst:679 msgid "Then compile it:" msgstr "" #: ../../../_source/mail-libre-is.rst:685 msgid "Set up redis by adding /etc/rspamd/override.d/redis.conf with this:" msgstr "" #: ../../../_source/mail-libre-is.rst:691 msgid "" "Add this /etc/rspamd/override.d/classifier-bayes.conf with below contents:" msgstr "" #: ../../../_source/mail-libre-is.rst:697 msgid "Add /etc/rspamd/local.d/classifier-bayes.conf with:" msgstr "" #: ../../../_source/mail-libre-is.rst:703 msgid "Edit /etc/dovecot/conf.d/20-imap.conf and change:" msgstr "" #: ../../../_source/mail-libre-is.rst:709 msgid "" "Edit /etc/dovecot/conf.d/90-sieve.conf and add below to \"plugins\" section:" msgstr "" #: ../../../_source/mail-libre-is.rst:734 msgid "Create /etc/dovecot/sieve/learn-spam.sieve with contents:" msgstr "" #: ../../../_source/mail-libre-is.rst:741 msgid "Create /etc/dovecot/sieve/learn-ham.sieve and add:" msgstr "" #: ../../../_source/mail-libre-is.rst:755 msgid "Run this to compile:" msgstr "" #: ../../../_source/mail-libre-is.rst:764 msgid "Create /etc/dovecot/sieve/rspamd-learn-spam.sh with contents:" msgstr "" #: ../../../_source/mail-libre-is.rst:771 msgid "Create /etc/dovecot/sieve/rspamd-learn-ham.sh with contents:" msgstr "" #: ../../../_source/mail-libre-is.rst:778 msgid "Set ownership and permissions on scripts:" msgstr "" #: ../../../_source/mail-libre-is.rst:787 msgid "Unbound" msgstr "" #: ../../../_source/mail-libre-is.rst:788 msgid "" "For proper spam filtering with rspam, unbound DNS resolver should be used." msgstr "" #: ../../../_source/mail-libre-is.rst:794 msgid "Change /etc/resolv.conf to:" msgstr "" #: ../../../_source/mail-libre-is.rst:801 msgid "Also add to /etc/rspamd/local.d/options.inc" msgstr "" #: ../../../_source/mail-libre-is.rst:811 msgid "DKIM" msgstr "" #: ../../../_source/mail-libre-is.rst:812 msgid "Set up DNS for DKIM." msgstr "" #: ../../../_source/mail-libre-is.rst:821 msgid "" "Add a 2024090101._domainkey TXT DNS record at the ISP, with contents of the " "\"p=\" and the rest, for example:" msgstr "" #: ../../../_source/mail-libre-is.rst:828 msgid "Create /etc/rspamd/local.d/dkim_signing.conf with contents:" msgstr "" #: ../../../_source/mail-libre-is.rst:835 msgid "Create /etc/rspamd/dkim_selectors.map with contents:" msgstr "" #: ../../../_source/mail-libre-is.rst:841 msgid "Restart again..." msgstr "" #: ../../../_source/mail-libre-is.rst:847 msgid "" "Take teh contents from running dkim_keygen above and add it this file: /var/" "lib/rspamd/dkim/libre.is.2024090101.key" msgstr "" #: ../../../_source/mail-libre-is.rst:850 msgid "" "Just add the PRIVATE KEY section, not the last two lines. Fix it's " "permissions:" msgstr "" #: ../../../_source/mail-libre-is.rst:860 msgid "SPF" msgstr "" #: ../../../_source/mail-libre-is.rst:861 msgid "Set up SPF." msgstr "" #: ../../../_source/mail-libre-is.rst:863 msgid "Add a DNS TXT record like this:" msgstr "" #: ../../../_source/mail-libre-is.rst:871 msgid "DMARC" msgstr "" #: ../../../_source/mail-libre-is.rst:872 msgid "Create a DNS TXT record for the domain _dmarc.libre.is with contents:" msgstr "" #: ../../../_source/mail-libre-is.rst:880 msgid "Python Admin" msgstr "" #: ../../../_source/mail-libre-is.rst:881 msgid "Admin with Python script." msgstr "" #: ../../../_source/mail-libre-is.rst:889 msgid "Edit ispmail_userctl.py and change:" msgstr "" #: ../../../_source/mail-libre-is.rst:891 msgid "USE_BCRYPT: bool = True" msgstr "" #: ../../../_source/mail-libre-is.rst:893 msgid "Under DB_CONNECTION, change user and password to match database setup:" msgstr "" #: ../../../_source/mail-libre-is.rst:895 msgid "user='mailadmin'" msgstr "" #: ../../../_source/mail-libre-is.rst:896 msgid "password=''" msgstr "" #: ../../../_source/mail-libre-is.rst:898 msgid "Then move the script in place." msgstr "" #: ../../../_source/mail-libre-is.rst:906 msgid "Then just run it normally as root." msgstr "" #: ../../../_source/mail-libre-is.rst:914 msgid "Spamhaus" msgstr "" #: ../../../_source/mail-libre-is.rst:915 msgid "" "Spamhaus may automagically list the IP to be blocked when it is new. To " "remove, just go to:" msgstr "" #: ../../../_source/mail-libre-is.rst:918 msgid "``_" msgstr "" #: ../../../_source/mail-libre-is.rst:920 msgid "" "Then enter the IP address of the server and fill out the form. They will " "send a confirmation email with a link. Go to that link and it will be " "immediately removed." msgstr "" #: ../../../_source/mail-libre-is.rst:925 msgid "Abuse" msgstr "" #: ../../../_source/mail-libre-is.rst:926 msgid "Set up an email alias for abuse@libre.is." msgstr "" #: ../../../_source/mail-libre-is.rst:928 msgid "Follow instructions on this site to add the abuse email to their list:" msgstr "" #: ../../../_source/mail-libre-is.rst:930 msgid "``_" msgstr ""