Add support for unlimited quota

This commit is contained in:
Daniel Winzen 2024-07-08 15:37:35 +02:00
parent c35d47c6c6
commit bd40ddb175
No known key found for this signature in database
GPG key ID: 222FCC3F35C41077
4 changed files with 149 additions and 127 deletions

View file

@ -357,8 +357,8 @@ function bytes_to_human_readable(int $bytes) : string {
$suffix = ['B', 'KiB', 'MiB', 'GiB', 'TiB']; $suffix = ['B', 'KiB', 'MiB', 'GiB', 'TiB'];
$size_class=(int) log($bytes, 1024); $size_class=(int) log($bytes, 1024);
if($size_class!==0){ if($size_class!==0){
return sprintf('%1.1f', $bytes / pow(1024, $size_class)) . $suffix[$size_class]; return sprintf('%1.1f', $bytes / pow(1024, $size_class)) . $suffix[$size_class];
}else{ }else{
return $bytes . $suffix[0]; return $bytes . $suffix[0];
} }
} }

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-10-21 11:56+0200\n" "POT-Creation-Date: 2024-07-08 15:41+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -24,36 +24,44 @@ msgid ""
"deleting it." "deleting it."
msgstr "" msgstr ""
#: tools/delete_leftover_files.php:20 #: tools/delete_leftover_files.php:20 tools/delete_leftover_files.php:39
#: tools/delete_leftover_files.php:57
#, php-format #, php-format
msgid "Deleted: %s" msgid "Deleted: %s"
msgstr "" msgstr ""
#: tools/delete_leftover_files.php:22 #: tools/delete_leftover_files.php:22 tools/delete_leftover_files.php:41
#, php-format #, php-format
msgid "File found in mail directory location: \"%s\". Consider deleting it." msgid "File found in mail directory location: \"%s\". Consider deleting it."
msgstr "" msgstr ""
#: common_config.php:93 setup.php:20 setup.php:23 cron.php:11 #: tools/delete_leftover_files.php:33
#, php-format
msgid ""
"%s does not seem to have any accounts, but has a snappymail directory. "
"Consider deleting it."
msgstr ""
#: common_config.php:94 setup.php:20 setup.php:23 cron.php:11
msgid "No Connection to MySQL database!" msgid "No Connection to MySQL database!"
msgstr "" msgstr ""
#: common_config.php:142 #: common_config.php:143
msgid "Copy:" msgid "Copy:"
msgstr "" msgstr ""
#: common_config.php:261 #: common_config.php:301
#, php-format #, php-format
msgid "" msgid ""
"Oops, the email \"%s\" doesn' look like a valid email address and thus " "Oops, the email \"%s\" doesn' look like a valid email address and thus "
"wasn't added to the forwarding list." "wasn't added to the forwarding list."
msgstr "" msgstr ""
#: common_config.php:287 #: common_config.php:327
msgid "You are not allowed to manage this domain." msgid "You are not allowed to manage this domain."
msgstr "" msgstr ""
#: common_config.php:298 #: common_config.php:338
msgid "Invalid email address." msgid "Invalid email address."
msgstr "" msgstr ""
@ -82,6 +90,10 @@ msgstr ""
msgid "Error setting up database:" msgid "Error setting up database:"
msgstr "" msgstr ""
#: setup.php:70
msgid "Error adding primary domain:"
msgstr ""
#: www/terms.php:6 www/terms.php:15 www/terms.php:19 #: www/terms.php:6 www/terms.php:15 www/terms.php:19
msgid "E-Mail and XMPP - Terms of Service" msgid "E-Mail and XMPP - Terms of Service"
msgstr "" msgstr ""
@ -105,12 +117,12 @@ msgstr ""
msgid "Manage account" msgid "Manage account"
msgstr "" msgstr ""
#: www/terms.php:22 www/register.php:99 www/index.php:22 www/index.php:27 #: www/terms.php:22 www/register.php:99 www/index.php:22 www/index.php:30
#: www/manage_account.php:248 #: www/manage_account.php:248
msgid "SquirrelMail" msgid "SquirrelMail"
msgstr "" msgstr ""
#: www/terms.php:22 www/register.php:99 www/index.php:22 www/index.php:27 #: www/terms.php:22 www/register.php:99 www/index.php:22 www/index.php:30
#: www/manage_account.php:248 #: www/manage_account.php:248
msgid "SnappyMail" msgid "SnappyMail"
msgstr "" msgstr ""
@ -161,34 +173,34 @@ msgstr ""
msgid "You are responsible for the security of your account and password." msgid "You are responsible for the security of your account and password."
msgstr "" msgstr ""
#: www/terms.php:32 #: www/terms.php:33
#, php-format #, php-format
msgid "" msgid ""
"Your email account only has 50MB of disk space by default. If you need more, " "Your email account has %1$s of disk space by default. If you need more, you "
"you can %s, and I will increase it for free." "can %2$s, and I will increase it for free."
msgstr "" msgstr ""
#: www/terms.php:32 www/index.php:25 #: www/terms.php:33 www/index.php:26
msgid "contact me" msgid "contact me"
msgstr "" msgstr ""
#: www/terms.php:33 #: www/terms.php:35
msgid "" msgid ""
"The XMPP service provides message archiving and HTTP upload, which can keep " "The XMPP service provides message archiving and HTTP upload, which can keep "
"your messages and files for up to 1 week. Up to 100MB of file storage is " "your messages and files for up to 1 week. Up to 100MB of file storage is "
"available per user." "available per user."
msgstr "" msgstr ""
#: www/terms.php:34 #: www/terms.php:36
msgid "" msgid ""
"I reserve the right to block or delete your account without prior notice." "I reserve the right to block or delete your account without prior notice."
msgstr "" msgstr ""
#: www/terms.php:35 #: www/terms.php:37
msgid "I reserve the right to change these terms without prior notice." msgid "I reserve the right to change these terms without prior notice."
msgstr "" msgstr ""
#: www/terms.php:36 #: www/terms.php:38
msgid "Continued violations may necessitate the closure of registration." msgid "Continued violations may necessitate the closure of registration."
msgstr "" msgstr ""
@ -214,7 +226,7 @@ msgid "Invalid username. It may not contain a +, ', \" or /."
msgstr "" msgstr ""
#: www/register.php:37 www/manage_account.php:100 www/admin.php:175 #: www/register.php:37 www/manage_account.php:100 www/admin.php:175
#: www/admin.php:343 #: www/admin.php:341
msgid "Passwords empty or don't match" msgid "Passwords empty or don't match"
msgstr "" msgstr ""
@ -230,11 +242,11 @@ msgstr ""
msgid "The username you specified is reserved" msgid "The username you specified is reserved"
msgstr "" msgstr ""
#: www/register.php:66 www/admin.php:311 #: www/register.php:66 www/admin.php:310
msgid "Sorry, this user already exists" msgid "Sorry, this user already exists"
msgstr "" msgstr ""
#: www/register.php:74 www/admin.php:333 #: www/register.php:74 www/admin.php:331
msgid "Successfully created new mailbox!" msgid "Successfully created new mailbox!"
msgstr "" msgstr ""
@ -247,19 +259,19 @@ msgid ""
"Register for a free and anonymous E-Mail address and an XMPP/Jabber account" "Register for a free and anonymous E-Mail address and an XMPP/Jabber account"
msgstr "" msgstr ""
#: www/register.php:108 www/manage_account.php:255 www/admin.php:407 #: www/register.php:108 www/manage_account.php:255 www/admin.php:405
#: www/admin.php:580 www/admin.php:907 www/admin.php:936 #: www/admin.php:578 www/admin.php:905 www/admin.php:934
msgid "Username" msgid "Username"
msgstr "" msgstr ""
#: www/register.php:112 www/manage_account.php:260 www/manage_account.php:323 #: www/register.php:112 www/manage_account.php:260 www/manage_account.php:323
#: www/admin.php:411 www/admin.php:501 www/admin.php:584 www/admin.php:940 #: www/admin.php:409 www/admin.php:499 www/admin.php:582 www/admin.php:938
#: www/admin.php:1025 #: www/admin.php:1023
msgid "Password" msgid "Password"
msgstr "" msgstr ""
#: www/register.php:116 www/manage_account.php:328 www/admin.php:506 #: www/register.php:116 www/manage_account.php:328 www/admin.php:504
#: www/admin.php:589 www/admin.php:944 www/admin.php:1030 #: www/admin.php:587 www/admin.php:942 www/admin.php:1028
msgid "Password again" msgid "Password again"
msgstr "" msgstr ""
@ -292,14 +304,19 @@ msgid ""
"from clearnet or via Tor hidden service (%2$s)." "from clearnet or via Tor hidden service (%2$s)."
msgstr "" msgstr ""
#: www/index.php:25 #: www/index.php:26
#, php-format #, php-format
msgid "" msgid ""
"You will have 50MB of disk space available for your mails. If you need more " "You will have %1$s disk space available for your mails. If you need more "
"space, %1$s. Your E-Mail address will be %2$s" "space, %2$s."
msgstr "" msgstr ""
#: www/index.php:26 #: www/index.php:28
#, php-format
msgid "Your E-Mail address will be %s"
msgstr ""
#: www/index.php:29
#, php-format #, php-format
msgid "" msgid ""
"For privacy, please use PGP mail encryption, if you can. This prevents " "For privacy, please use PGP mail encryption, if you can. This prevents "
@ -308,15 +325,15 @@ msgid ""
"to make use of WKD automatic discovery for mail clients." "to make use of WKD automatic discovery for mail clients."
msgstr "" msgstr ""
#: www/index.php:26 #: www/index.php:29
msgid "download GnuPG" msgid "download GnuPG"
msgstr "" msgstr ""
#: www/index.php:26 #: www/index.php:29
msgid "add it to your account" msgid "add it to your account"
msgstr "" msgstr ""
#: www/index.php:27 #: www/index.php:30
#, php-format #, php-format
msgid "" msgid ""
"You can choose between two Web-Mail clients installed on the server. %1$s is " "You can choose between two Web-Mail clients installed on the server. %1$s is "
@ -332,56 +349,56 @@ msgid ""
"favourite desktop mail client and configure it with the settings given below." "favourite desktop mail client and configure it with the settings given below."
msgstr "" msgstr ""
#: www/index.php:28 #: www/index.php:31
msgid "E-Mail Setup" msgid "E-Mail Setup"
msgstr "" msgstr ""
#: www/index.php:30 #: www/index.php:33
#, php-format #, php-format
msgid "SMTP: %s Port 465 (SSL/TLS) or 587 (StartTLS)" msgid "SMTP: %s Port 465 (SSL/TLS) or 587 (StartTLS)"
msgstr "" msgstr ""
#: www/index.php:31 #: www/index.php:34
#, php-format #, php-format
msgid "IMAP: %s Port 993 (SSL/TLS) or 143 (StartTLS)" msgid "IMAP: %s Port 993 (SSL/TLS) or 143 (StartTLS)"
msgstr "" msgstr ""
#: www/index.php:32 #: www/index.php:35
#, php-format #, php-format
msgid "POP3: %s Port 995 (SSL/TLS) or 110 (StartTLS)" msgid "POP3: %s Port 995 (SSL/TLS) or 110 (StartTLS)"
msgstr "" msgstr ""
#: www/index.php:33 #: www/index.php:36
msgid "Authentication: PLAIN, LOGIN" msgid "Authentication: PLAIN, LOGIN"
msgstr "" msgstr ""
#: www/index.php:35 #: www/index.php:38
#, php-format #, php-format
msgid "" msgid ""
"You can also connect on the same ports via the Tor onion address %s, but you " "You can also connect on the same ports via the Tor onion address %s, but you "
"will have to accept an SSL certificate only valid for the clearnet domain." "will have to accept an SSL certificate only valid for the clearnet domain."
msgstr "" msgstr ""
#: www/index.php:36 #: www/index.php:39
msgid "XMPP setup" msgid "XMPP setup"
msgstr "" msgstr ""
#: www/index.php:37 #: www/index.php:40
#, php-format #, php-format
msgid "Domain: %s" msgid "Domain: %s"
msgstr "" msgstr ""
#: www/index.php:38 #: www/index.php:41
#, php-format #, php-format
msgid "Connect server: %s (optional for torification)" msgid "Connect server: %s (optional for torification)"
msgstr "" msgstr ""
#: www/index.php:39 #: www/index.php:42
#, php-format #, php-format
msgid "File transfer proxy: %s" msgid "File transfer proxy: %s"
msgstr "" msgstr ""
#: www/index.php:40 #: www/index.php:43
#, php-format #, php-format
msgid "" msgid ""
"BOSH URL: %s (only enable if you have to, as it is slower than directly " "BOSH URL: %s (only enable if you have to, as it is slower than directly "
@ -409,7 +426,7 @@ msgstr ""
msgid "Incorrect username or password" msgid "Incorrect username or password"
msgstr "" msgstr ""
#: www/manage_account.php:105 www/admin.php:348 #: www/manage_account.php:105 www/admin.php:346
msgid "Successfully updated password" msgid "Successfully updated password"
msgstr "" msgstr ""
@ -502,16 +519,16 @@ msgstr ""
msgid "Confirm" msgid "Confirm"
msgstr "" msgstr ""
#: www/manage_account.php:239 www/admin.php:389 #: www/manage_account.php:239 www/admin.php:387
#, php-format #, php-format
msgid "Logged in as %s" msgid "Logged in as %s"
msgstr "" msgstr ""
#: www/manage_account.php:245 www/admin.php:390 #: www/manage_account.php:245 www/admin.php:388
msgid "Logout" msgid "Logout"
msgstr "" msgstr ""
#: www/manage_account.php:266 www/admin.php:416 #: www/manage_account.php:266 www/admin.php:414
msgid "Login" msgid "Login"
msgstr "" msgstr ""
@ -530,11 +547,11 @@ msgid ""
"checkbox, your mail will only be sent to your forwarding addresses." "checkbox, your mail will only be sent to your forwarding addresses."
msgstr "" msgstr ""
#: www/manage_account.php:288 www/admin.php:948 www/admin.php:989 #: www/manage_account.php:288 www/admin.php:946 www/admin.php:987
msgid "Forward to" msgid "Forward to"
msgstr "" msgstr ""
#: www/manage_account.php:293 www/admin.php:952 www/admin.php:994 #: www/manage_account.php:293 www/admin.php:950 www/admin.php:992
msgid "Keep a local copy" msgid "Keep a local copy"
msgstr "" msgstr ""
@ -551,11 +568,11 @@ msgid ""
"provider for a safer internet." "provider for a safer internet."
msgstr "" msgstr ""
#: www/manage_account.php:301 www/admin.php:959 www/admin.php:1006 #: www/manage_account.php:301 www/admin.php:957 www/admin.php:1004
msgid "Enforce encryption for incoming mail" msgid "Enforce encryption for incoming mail"
msgstr "" msgstr ""
#: www/manage_account.php:307 www/admin.php:963 www/admin.php:1011 #: www/manage_account.php:307 www/admin.php:961 www/admin.php:1009
msgid "Enforce encryption for outgoing mail" msgid "Enforce encryption for outgoing mail"
msgstr "" msgstr ""
@ -563,8 +580,8 @@ msgstr ""
msgid "Update settings" msgid "Update settings"
msgstr "" msgstr ""
#: www/manage_account.php:319 www/manage_account.php:334 www/admin.php:1020 #: www/manage_account.php:319 www/manage_account.php:334 www/admin.php:1018
#: www/admin.php:1036 #: www/admin.php:1034
msgid "Change password" msgid "Change password"
msgstr "" msgstr ""
@ -781,266 +798,266 @@ msgstr ""
msgid "Successfully updated alias." msgid "Successfully updated alias."
msgstr "" msgstr ""
#: www/admin.php:298 #: www/admin.php:297
msgid "Successfully updated mailbox." msgid "Successfully updated mailbox."
msgstr "" msgstr ""
#: www/admin.php:359 #: www/admin.php:357
msgid "Successfully disabled two-factor authentication" msgid "Successfully disabled two-factor authentication"
msgstr "" msgstr ""
#: www/admin.php:369 www/admin.php:378 www/admin.php:382 www/admin.php:385 #: www/admin.php:367 www/admin.php:376 www/admin.php:380 www/admin.php:383
msgid "E-Mail and XMPP - Admin management" msgid "E-Mail and XMPP - Admin management"
msgstr "" msgstr ""
#: www/admin.php:373 www/admin.php:379 www/admin.php:382 #: www/admin.php:371 www/admin.php:377 www/admin.php:380
msgid "Lets domain owners manage their email domain and user accounts." msgid "Lets domain owners manage their email domain and user accounts."
msgstr "" msgstr ""
#: www/admin.php:392 #: www/admin.php:390
msgid "Manage admins" msgid "Manage admins"
msgstr "" msgstr ""
#: www/admin.php:393 #: www/admin.php:391
msgid "Manage alias domains" msgid "Manage alias domains"
msgstr "" msgstr ""
#: www/admin.php:395 #: www/admin.php:393
msgid "Manage your admin account" msgid "Manage your admin account"
msgstr "" msgstr ""
#: www/admin.php:397 #: www/admin.php:395
msgid "Manage domains" msgid "Manage domains"
msgstr "" msgstr ""
#: www/admin.php:398 #: www/admin.php:396
msgid "Manage aliases" msgid "Manage aliases"
msgstr "" msgstr ""
#: www/admin.php:399 #: www/admin.php:397
msgid "Manage mailboxes" msgid "Manage mailboxes"
msgstr "" msgstr ""
#: www/admin.php:422 #: www/admin.php:420
msgid "" msgid ""
"Welcome to the admin management interface. You can configure your domain(s) " "Welcome to the admin management interface. You can configure your domain(s) "
"and accounts here. Please select an option from the menu." "and accounts here. Please select an option from the menu."
msgstr "" msgstr ""
#: www/admin.php:454 #: www/admin.php:452
msgid "" msgid ""
"Oops, it looks like the page you tried to access does not exist or you do " "Oops, it looks like the page you tried to access does not exist or you do "
"not have permission to access it." "not have permission to access it."
msgstr "" msgstr ""
#: www/admin.php:467 www/admin.php:483 #: www/admin.php:465 www/admin.php:481
msgid "Create new admin" msgid "Create new admin"
msgstr "" msgstr ""
#: www/admin.php:472 #: www/admin.php:470
msgid "Admin" msgid "Admin"
msgstr "" msgstr ""
#: www/admin.php:473 www/admin.php:479 www/admin.php:519 www/admin.php:532 #: www/admin.php:471 www/admin.php:477 www/admin.php:517 www/admin.php:530
#: www/admin.php:598 www/admin.php:622 www/admin.php:630 www/admin.php:654 #: www/admin.php:596 www/admin.php:620 www/admin.php:628 www/admin.php:652
#: www/admin.php:678 www/admin.php:712 www/admin.php:718 www/admin.php:743 #: www/admin.php:676 www/admin.php:710 www/admin.php:716 www/admin.php:741
#: www/admin.php:773 www/admin.php:806 www/admin.php:814 www/admin.php:838 #: www/admin.php:771 www/admin.php:804 www/admin.php:812 www/admin.php:836
#: www/admin.php:872 www/admin.php:908 www/admin.php:916 www/admin.php:956 #: www/admin.php:870 www/admin.php:906 www/admin.php:914 www/admin.php:954
#: www/admin.php:1001 #: www/admin.php:999
msgid "Active" msgid "Active"
msgstr "" msgstr ""
#: www/admin.php:474 www/admin.php:623 www/admin.php:713 www/admin.php:807 #: www/admin.php:472 www/admin.php:621 www/admin.php:711 www/admin.php:805
#: www/admin.php:909 #: www/admin.php:907
msgid "Last modified" msgid "Last modified"
msgstr "" msgstr ""
#: www/admin.php:475 #: www/admin.php:473
msgid "Edit account" msgid "Edit account"
msgstr "" msgstr ""
#: www/admin.php:479 www/admin.php:628 www/admin.php:718 www/admin.php:812 #: www/admin.php:477 www/admin.php:626 www/admin.php:716 www/admin.php:810
msgid "Disabled" msgid "Disabled"
msgstr "" msgstr ""
#: www/admin.php:480 www/admin.php:634 www/admin.php:719 www/admin.php:816 #: www/admin.php:478 www/admin.php:632 www/admin.php:717 www/admin.php:814
#: www/admin.php:922 #: www/admin.php:920
msgid "Edit" msgid "Edit"
msgstr "" msgstr ""
#: www/admin.php:495 #: www/admin.php:493
#, php-format #, php-format
msgid "Edit admin account %s" msgid "Edit admin account %s"
msgstr "" msgstr ""
#: www/admin.php:513 www/admin.php:526 www/admin.php:594 #: www/admin.php:511 www/admin.php:524 www/admin.php:592
msgid "Superadmin" msgid "Superadmin"
msgstr "" msgstr ""
#: www/admin.php:515 www/admin.php:527 www/admin.php:595 #: www/admin.php:513 www/admin.php:525 www/admin.php:593
msgid "Superadmins can manage other admins" msgid "Superadmins can manage other admins"
msgstr "" msgstr ""
#: www/admin.php:536 #: www/admin.php:534
msgid "Managed domains" msgid "Managed domains"
msgstr "" msgstr ""
#: www/admin.php:556 www/admin.php:683 www/admin.php:778 www/admin.php:881 #: www/admin.php:554 www/admin.php:681 www/admin.php:776 www/admin.php:879
msgid "Save changes" msgid "Save changes"
msgstr "" msgstr ""
#: www/admin.php:562 #: www/admin.php:560
msgid "Delete admin" msgid "Delete admin"
msgstr "" msgstr ""
#: www/admin.php:569 www/admin.php:694 #: www/admin.php:567 www/admin.php:692
msgid "Oops, this admin doesn't seem to exist." msgid "Oops, this admin doesn't seem to exist."
msgstr "" msgstr ""
#: www/admin.php:576 #: www/admin.php:574
msgid "Create new admin account" msgid "Create new admin account"
msgstr "" msgstr ""
#: www/admin.php:602 #: www/admin.php:600
msgid "Add admin" msgid "Add admin"
msgstr "" msgstr ""
#: www/admin.php:615 www/admin.php:638 www/admin.php:646 #: www/admin.php:613 www/admin.php:636 www/admin.php:644
msgid "Create new domain" msgid "Create new domain"
msgstr "" msgstr ""
#: www/admin.php:621 www/admin.php:650 #: www/admin.php:619 www/admin.php:648
msgid "Domain" msgid "Domain"
msgstr "" msgstr ""
#: www/admin.php:624 #: www/admin.php:622
msgid "Edit domain" msgid "Edit domain"
msgstr "" msgstr ""
#: www/admin.php:632 www/admin.php:920 #: www/admin.php:630 www/admin.php:918
msgid "Deleting" msgid "Deleting"
msgstr "" msgstr ""
#: www/admin.php:658 #: www/admin.php:656
msgid "Add domain" msgid "Add domain"
msgstr "" msgstr ""
#: www/admin.php:672 #: www/admin.php:670
#, php-format #, php-format
msgid "Edit domain %s" msgid "Edit domain %s"
msgstr "" msgstr ""
#: www/admin.php:688 #: www/admin.php:686
msgid "Delete domain" msgid "Delete domain"
msgstr "" msgstr ""
#: www/admin.php:704 www/admin.php:723 www/admin.php:731 #: www/admin.php:702 www/admin.php:721 www/admin.php:729
msgid "Create new alias domain" msgid "Create new alias domain"
msgstr "" msgstr ""
#: www/admin.php:710 www/admin.php:735 #: www/admin.php:708 www/admin.php:733
msgid "Alias Domain" msgid "Alias Domain"
msgstr "" msgstr ""
#: www/admin.php:711 www/admin.php:739 www/admin.php:767 #: www/admin.php:709 www/admin.php:737 www/admin.php:765
msgid "Target Domain" msgid "Target Domain"
msgstr "" msgstr ""
#: www/admin.php:714 #: www/admin.php:712
msgid "Edit alias domain" msgid "Edit alias domain"
msgstr "" msgstr ""
#: www/admin.php:747 #: www/admin.php:745
msgid "Add alias domain" msgid "Add alias domain"
msgstr "" msgstr ""
#: www/admin.php:761 #: www/admin.php:759
#, php-format #, php-format
msgid "Edit alias domain %s" msgid "Edit alias domain %s"
msgstr "" msgstr ""
#: www/admin.php:783 #: www/admin.php:781
msgid "Delete alias domain" msgid "Delete alias domain"
msgstr "" msgstr ""
#: www/admin.php:789 #: www/admin.php:787
msgid "Oops, this alias domain doesn't seem to exist." msgid "Oops, this alias domain doesn't seem to exist."
msgstr "" msgstr ""
#: www/admin.php:799 www/admin.php:819 www/admin.php:826 #: www/admin.php:797 www/admin.php:817 www/admin.php:824
msgid "Create new alias" msgid "Create new alias"
msgstr "" msgstr ""
#: www/admin.php:804 www/admin.php:830 #: www/admin.php:802 www/admin.php:828
msgid "Alias" msgid "Alias"
msgstr "" msgstr ""
#: www/admin.php:805 www/admin.php:834 www/admin.php:865 #: www/admin.php:803 www/admin.php:832 www/admin.php:863
msgid "Target" msgid "Target"
msgstr "" msgstr ""
#: www/admin.php:808 #: www/admin.php:806
msgid "Edit alias" msgid "Edit alias"
msgstr "" msgstr ""
#: www/admin.php:841 www/admin.php:877 #: www/admin.php:839 www/admin.php:875
msgid "Enforce encryption" msgid "Enforce encryption"
msgstr "" msgstr ""
#: www/admin.php:846 #: www/admin.php:844
msgid "Add alias" msgid "Add alias"
msgstr "" msgstr ""
#: www/admin.php:860 #: www/admin.php:858
#, php-format #, php-format
msgid "Edit alias %s" msgid "Edit alias %s"
msgstr "" msgstr ""
#: www/admin.php:886 #: www/admin.php:884
msgid "Delete alias" msgid "Delete alias"
msgstr "" msgstr ""
#: www/admin.php:892 #: www/admin.php:890
msgid "Oops, this alias doesn't seem to exist." msgid "Oops, this alias doesn't seem to exist."
msgstr "" msgstr ""
#: www/admin.php:902 www/admin.php:925 www/admin.php:932 #: www/admin.php:900 www/admin.php:923 www/admin.php:930
msgid "Create new mailbox" msgid "Create new mailbox"
msgstr "" msgstr ""
#: www/admin.php:910 #: www/admin.php:908
msgid "Edit mailbox" msgid "Edit mailbox"
msgstr "" msgstr ""
#: www/admin.php:918 #: www/admin.php:916
msgid "Disabling" msgid "Disabling"
msgstr "" msgstr ""
#: www/admin.php:968 #: www/admin.php:966
msgid "Add mailbox" msgid "Add mailbox"
msgstr "" msgstr ""
#: www/admin.php:984 #: www/admin.php:982
#, php-format #, php-format
msgid "Edit mailbox %s" msgid "Edit mailbox %s"
msgstr "" msgstr ""
#: www/admin.php:1016 #: www/admin.php:1014
msgid "Save mailbox" msgid "Save mailbox"
msgstr "" msgstr ""
#: www/admin.php:1040 #: www/admin.php:1038
msgid "Delete mailbox / Disable two-factor authentication" msgid "Delete mailbox / Disable two-factor authentication"
msgstr "" msgstr ""
#: www/admin.php:1046 #: www/admin.php:1044
msgid "Disable two-factor authentication" msgid "Disable two-factor authentication"
msgstr "" msgstr ""
#: www/admin.php:1051 #: www/admin.php:1049
msgid "Delete mailbox" msgid "Delete mailbox"
msgstr "" msgstr ""
#: www/admin.php:1057 #: www/admin.php:1055
msgid "Oops, this mailbox doesn't seem to exist." msgid "Oops, this mailbox doesn't seem to exist."
msgstr "" msgstr ""

View file

@ -22,7 +22,10 @@ global $language, $dir, $locale;
<p><?php echo htmlspecialchars(_('Info')); ?> | <a href="<?php echo ROOT_URL; ?>register.php"><?php echo htmlspecialchars(_('Register')); ?></a> | <a href="<?php echo ROOT_URL; ?>manage_account.php"><?php echo htmlspecialchars(_('Manage account')); ?></a> | <a href="<?php echo ROOT_URL; ?>squirrelmail/src/login.php" target="_blank"><?php echo htmlspecialchars(_('SquirrelMail')); ?></a> | <a href="<?php echo ROOT_URL; ?>snappymail/" target="_blank"><?php echo htmlspecialchars(_('SnappyMail')); ?></a> | <a href="<?php echo WEB_XMPP_URL; ?>" target="_blank" rel="noopener"><?php echo htmlspecialchars(_('Web-XMPP')); ?></a></p> <p><?php echo htmlspecialchars(_('Info')); ?> | <a href="<?php echo ROOT_URL; ?>register.php"><?php echo htmlspecialchars(_('Register')); ?></a> | <a href="<?php echo ROOT_URL; ?>manage_account.php"><?php echo htmlspecialchars(_('Manage account')); ?></a> | <a href="<?php echo ROOT_URL; ?>squirrelmail/src/login.php" target="_blank"><?php echo htmlspecialchars(_('SquirrelMail')); ?></a> | <a href="<?php echo ROOT_URL; ?>snappymail/" target="_blank"><?php echo htmlspecialchars(_('SnappyMail')); ?></a> | <a href="<?php echo WEB_XMPP_URL; ?>" target="_blank" rel="noopener"><?php echo htmlspecialchars(_('Web-XMPP')); ?></a></p>
<h2><?php echo htmlspecialchars(_('What you will get')); ?></h2> <h2><?php echo htmlspecialchars(_('What you will get')); ?></h2>
<p><?php printf(htmlspecialchars(_('You get a free anonymous E-Mail address and an XMPP/Jabber account using the same details. Your Jabber ID is user@%1$s and can be connected to directly from clearnet or via Tor hidden service (%2$s).')), CLEARNET_SERVER, ONION_SERVER); ?></p> <p><?php printf(htmlspecialchars(_('You get a free anonymous E-Mail address and an XMPP/Jabber account using the same details. Your Jabber ID is user@%1$s and can be connected to directly from clearnet or via Tor hidden service (%2$s).')), CLEARNET_SERVER, ONION_SERVER); ?></p>
<p><?php printf(htmlspecialchars(_('You will have %1$s of disk space available for your mails. If you need more space, %2$s. Your E-Mail address will be %3$s')), bytes_to_human_readable(DEFAULT_QUOTA), '<a href="'.CONTACT_URL.'">'.htmlspecialchars(_('contact me')).'</a>', CLEARNET_SERVER); ?></p> <?php if(DEFAULT_QUOTA > 0) { ?>
<p><?php printf(htmlspecialchars(_('You will have %1$s disk space available for your mails. If you need more space, %2$s.')), bytes_to_human_readable(DEFAULT_QUOTA), '<a href="'.CONTACT_URL.'">'.htmlspecialchars(_('contact me')).'</a>'); ?></p>
<?php } ?>
<p><?php printf(htmlspecialchars(_('Your E-Mail address will be %s')), CLEARNET_SERVER); ?></p>
<p><?php printf(htmlspecialchars(_('For privacy, please use PGP mail encryption, if you can. This prevents others from reading your mails to protect your privacy. You can %1$s or similar software for it. Once you have generated your PGP key, you can %2$s to make use of WKD automatic discovery for mail clients.')), '<a href="https://gnupg.org/download/index.html" target="_blank" rel="noopener noreferrer">'.htmlspecialchars(_('download GnuPG')).'</a>', '<a href="manage_account.php">'.htmlspecialchars(_('add it to your account')).'</a>'); ?></p> <p><?php printf(htmlspecialchars(_('For privacy, please use PGP mail encryption, if you can. This prevents others from reading your mails to protect your privacy. You can %1$s or similar software for it. Once you have generated your PGP key, you can %2$s to make use of WKD automatic discovery for mail clients.')), '<a href="https://gnupg.org/download/index.html" target="_blank" rel="noopener noreferrer">'.htmlspecialchars(_('download GnuPG')).'</a>', '<a href="manage_account.php">'.htmlspecialchars(_('add it to your account')).'</a>'); ?></p>
<p><?php printf(htmlspecialchars(_('You can choose between two Web-Mail clients installed on the server. %1$s is a very old mail client which works without any JavaScript and is thus the most popular mail client among darknet users. However, it hasn\'t been under development for many years and does not support all features that mail has to offer. You may see strange attachments that should have been inlined in your email, such as PGP/MIME encrypted email messages. A more modern client is %2$s, which also supports PGP encryption within your browser and is more similar to what you may be used to from other mail services. SnappyMail requires JavaScript though, so SquirrelMail is for you if you do not trust executing JavaScript in your browser. Alternatively, you can simply use your favourite desktop mail client and configure it with the settings given below.')), '<a href="squirrelmail/src/login.php">'.htmlspecialchars(_('SquirrelMail')).'</a>', '<a href="snappymail/">'.htmlspecialchars(_('SnappyMail')).'</a>'); ?></p> <p><?php printf(htmlspecialchars(_('You can choose between two Web-Mail clients installed on the server. %1$s is a very old mail client which works without any JavaScript and is thus the most popular mail client among darknet users. However, it hasn\'t been under development for many years and does not support all features that mail has to offer. You may see strange attachments that should have been inlined in your email, such as PGP/MIME encrypted email messages. A more modern client is %2$s, which also supports PGP encryption within your browser and is more similar to what you may be used to from other mail services. SnappyMail requires JavaScript though, so SquirrelMail is for you if you do not trust executing JavaScript in your browser. Alternatively, you can simply use your favourite desktop mail client and configure it with the settings given below.')), '<a href="squirrelmail/src/login.php">'.htmlspecialchars(_('SquirrelMail')).'</a>', '<a href="snappymail/">'.htmlspecialchars(_('SnappyMail')).'</a>'); ?></p>
<h2><?php echo htmlspecialchars(_('E-Mail Setup')); ?></h2> <h2><?php echo htmlspecialchars(_('E-Mail Setup')); ?></h2>

View file

@ -29,7 +29,9 @@ global $language, $dir, $locale;
<li><?php echo htmlspecialchars(_('Please refrain from sending threats of violence or any harmful content. Dealing with law enforcement requests related to such incidents consumes a significant amount of time.')); ?></li> <li><?php echo htmlspecialchars(_('Please refrain from sending threats of violence or any harmful content. Dealing with law enforcement requests related to such incidents consumes a significant amount of time.')); ?></li>
<li><?php echo htmlspecialchars(_('If you lose your password, I will not reset it unless you can prove ownership of the account. You could do so by signing an email with the same PGP key that you use in your account.')); ?></li> <li><?php echo htmlspecialchars(_('If you lose your password, I will not reset it unless you can prove ownership of the account. You could do so by signing an email with the same PGP key that you use in your account.')); ?></li>
<li><?php echo htmlspecialchars(_('You are responsible for the security of your account and password.')); ?></li> <li><?php echo htmlspecialchars(_('You are responsible for the security of your account and password.')); ?></li>
<?php if(DEFAULT_QUOTA > 0) { ?>
<li><?php printf(htmlspecialchars(_('Your email account has %1$s of disk space by default. If you need more, you can %2$s, and I will increase it for free.')), bytes_to_human_readable(DEFAULT_QUOTA), '<a href="'.CONTACT_URL.'">'.htmlspecialchars(_('contact me')).'</a>'); ?></li> <li><?php printf(htmlspecialchars(_('Your email account has %1$s of disk space by default. If you need more, you can %2$s, and I will increase it for free.')), bytes_to_human_readable(DEFAULT_QUOTA), '<a href="'.CONTACT_URL.'">'.htmlspecialchars(_('contact me')).'</a>'); ?></li>
<?php } ?>
<li><?php echo htmlspecialchars(_('The XMPP service provides message archiving and HTTP upload, which can keep your messages and files for up to 1 week. Up to 100MB of file storage is available per user.')); ?></li> <li><?php echo htmlspecialchars(_('The XMPP service provides message archiving and HTTP upload, which can keep your messages and files for up to 1 week. Up to 100MB of file storage is available per user.')); ?></li>
<li><?php echo htmlspecialchars(_('I reserve the right to block or delete your account without prior notice.')); ?></li> <li><?php echo htmlspecialchars(_('I reserve the right to block or delete your account without prior notice.')); ?></li>
<li><?php echo htmlspecialchars(_('I reserve the right to change these terms without prior notice.')); ?></li> <li><?php echo htmlspecialchars(_('I reserve the right to change these terms without prior notice.')); ?></li>