Commit Graph

279 Commits (2a76451a98edbf6d5f8feb02cc13f1577e75fcf9)

Author SHA1 Message Date
Pierre Jaury c04e58498d Remove unused postfix sqlite files
Pierre Jaury bb73933e1e Switch postfix to Podop
Pierre Jaury 82e738cc53 Remove the old code of postproxy
Pierre Jaury b5d6b93869 Switch to using Podop in Dovecot
Pierre Jaury 809fe78f82 Add dovecot views to the internal API
Pierre Jaury 28001213d4 Remove the redis-based quota code
Pierre Jaury 76617a3c97 Store the quota status in database
Pierre Jaury 2b2ab864d1 Add support for querying the table in Dovecot proxy
Pierre Jaury 70175f8c28 Add postproxy support for Dovecot dict protocol
Pierre Jaury 262e82a367 Add a postfix socketmap to http proxy
Michal Prihoda f5e7751835 Return correct status codes from auth rate limiter failure.
hoellen ca26264d01 Dont flag spam as ham if moved to trash (fix )
kaiyou 75a1bf967c
Merge pull request from hoellen/webmail-messagesize
Use message_size_limit variable from env for webmail client_max_body_size
hoellen c51e1b9eef webmail client_max_body_size with message_size_limit and 8M tolerance
kaiyou 74b72375cb
Merge pull request from MFAshby/user_validation
Made User and UserSignup validation consistent for the local part of
kaiyou 53bf6085dc
Merge pull request from hoellen/webmail-root
Add posibilty to run webmail on root '/'
hoellen 9091e54fda Hide administration header in sidebar for normal users.
hoellen 81a6a7cbf6 Use message_size variable from env for webmail
hoellen a1fb8442e3 Add posibilty to run webmail on root '/'
mfashby 0284b6a8e9 Made User and UserSignup validation consistent for the local part of the email address
Pierre Jaury 14687d09ba Fix announcements for idna domains
Pierre Jaury e543477c2e Revert "Only enable milter for incoming emails"
This reverts commit cfd233039e.
Pierre Jaury cfd233039e Only enable milter for incoming emails
Pierre Jaury 6828231c28 Fix the path of the nginx pid in startup scripts, fixes
Pierre Jaury 1b0b3a2b1e Only check login mismatch for authenticated users, fixes
Pierre Jaury 1371ba5f5e Add the keep field to fetch forms, fixes
Pierre Jaury ea658a174d Fix a typo in the base html template
Pierre Jaury b6c76a5e39 Do not remove openssl when purging build deps, fixes
kaiyou a47ba3474c
Merge pull request from romracer/pod-address
Use POD_ADDRESS_RANGE for Dovecot if it exists
kaiyou 3beceb90ec
Merge pull request from mildred/parametrize-hosts
Add various environment variables to allow running outside of docker-compose
kaiyou a9e41960a1
Merge pull request from dtwardow/flex_tls_filenames
TLS using configurable filenames
kaiyou 91e51a24c8
Merge pull request from sanduhrs/feature/463
Remove services status page
Thomas Sänger 7d661ab80d
don't require BootstrapCDN for FontAwesome (GDPR-compliance)
Mildred Ki'Lya 6bb4c6e2f0 Parametrize front address from dovecot
Mildred Ki'Lya ae8c9f5a6b Add various environment variables to allow running outside of docker-compose
Dennis Twardowsky 50f9f379e9 Flexible filenames for TLS via envvars (flavours 'cert' and 'mail' only)
Stefan Auditor 6177571e4d Remove services status localization
Stefan Auditor b541d4c257 Remove services status sidebar link
Stefan Auditor e89b32a3f4 Remove services route
Stefan Auditor ec8e82aaca Remove services status template
kaiyou f55e5e26cd Update messages.po (POEditor.com)
kaiyou 2b96abbef4 Update messages.po (POEditor.com)
kaiyou af38d5ab0c Update messages.po (POEditor.com)
kaiyou fc89b30e8a Update messages.po (POEditor.com)
kaiyou 791fab688a Update messages.po (POEditor.com)
kaiyou c9b0832899 Update messages.po (POEditor.com)
kaiyou fa1b0ac32c Update messages.po (POEditor.com)
kaiyou 75f0791965 Update messages.po (POEditor.com)
kaiyou c91c5c7493 Update messages.po (POEditor.com)
kaiyou 299a654e97 Update messages.po (POEditor.com)
kaiyou 494e52d8f0 Update messages.po (POEditor.com)
kaiyou 3b7014d563 Add dummy spanish and russion languages
kaiyou be0a0b4ac8 Update translation strings
kaiyou 8bad30cd59 Move the domain MX status to the detail page
kaiyou 7f0447514c Finish storing the user quota to redis
kaiyou 80893be68b Add a missing import to dnspython
kaiyou 091369915b Display the user quota in the admin interface
kaiyou e13593f29a Switch to database 2 for rate limiting
kaiyou d1dbba2d3a Add expose instructions in Dockerfiles, fixes
kaiyou 62d1a0c104 Add a status field to the domain list
kaiyou bb0d7bf6dc Enforce the nocase collation on the email table
kaiyou 186c30d2ac Have the admin listen on ipv6
kaiyou 35276c3101
Merge pull request from Farthen/master
Dovecot: Add SQL iterate_query to config file.
kaiyou dfaedb76f1
Merge pull request from sanduhrs/feature/446
Add a sqlalchemy custom type for unicode to idna conversion of domain names
farthen f75280e4a3 Dovecot: Add SQL iterate_query to config file.
This allows to use doveadm -A to execute maintenance tasks for all users on the server
kaiyou 9968d708f1 Update the prod requirements
kaiyou 381e76511d Add self-service domain registration
Stefan Auditor c688970b32 Respect user enabled flag in admin authentication
Stefan Auditor d3064579f4 Respect user enabled flag in basic authentication
Stefan Auditor 92f4858323 Respect user.enabled status in internal authentication
Stefan Auditor d2c6cecca6 Remove is_enabled method and use the enabled attribute instead
Stefan Auditor 5bfdd75738 Respect user enabled flag on user.login
Stefan Auditor 78f4fa7db9 Add field to ui for user enabled flag
Stefan Auditor 20d6fbae48 Add enabled flag to user model
Scott 2c2a1ed042 Remove stale link to old auto-forward settings. Fixes
Also update a reference to 'smtp' to use HOST_AUTHSMTP
kaiyou a51416a4af
Merge pull request from sanduhrs/feature/449
Add enabled flag to user model
Stefan Auditor e843f7ef1f Respect user enabled flag in admin authentication
Stefan Auditor c8540ddba7 Respect user enabled flag in basic authentication
Stefan Auditor 6fc22e5432 Respect user.enabled status in internal authentication
Stefan Auditor 733b89bff5 Remove is_enabled method and use the enabled attribute instead
Stefan Auditor 3b66fcada7 Respect user enabled flag on user.login
Stefan Auditor 7139a27bf1 Add field to ui for user enabled flag
Stefan Auditor f585197e52 Add enabled flag to user model
Scott e5c25c395f Remove stale link to old auto-forward settings. Fixes
Also update a reference to 'smtp' to use HOST_AUTHSMTP
Stefan Auditor 7f5bd98a2e Add parameters to database field
Stefan Auditor 93d5254b3f Add another type decorator for idna email support
Scott 6018995534 Use POD_ADDRESS_RANGE for Dovecot if it exists
This is required to override allow_nets in a Kubernetes environment where pods are not recreated with the same IP address.
Stefan Auditor 792c720c13 Save user email domain_name as idna representation
Stefan Auditor c40e255f3b Reset relay columns to string
Stefan Auditor d9ea64fac7 Import idna library and move code a bit upwards
Stefan Auditor 5a7272ff12 Replace other occurences of domain names with idna
Stefan Auditor 1b666cd25b Add a sqlalchemy custom type for unicode to idna conersion of domain names
kaiyou db0cd8efb4 Fix the client setup page when not logged in
kaiyou e92113bd57
Merge pull request from mildred/delivered-to-hdr
Add original Delivered-To header to received messages
kaiyou b4134b7774 Add a client setup page, fixes
kaiyou fa0bda7b69 Merge the auto-forward and antispam settings
kaiyou 3ef4e1f6b7 Add support for recaptcha upon signup
kaiyou e02e47c48e
Merge pull request from calebj/patch-1
Add support for sending from alternative domains
Scott b9e67635f4 Use HOST_ADMIN in "Forwarding authentication server". Fixes .
Mildred Ki'Lya 649a4fc9cf Add Delivered-To header to received messages
Postfix, after expanding the alias, is not transmitting the original
envelope recipient email address to dovecot and cannot record it in a
Received: header.

The LMTP DSN extension allows postfix to specify an ORCPT= parameter to
the "RCPT TO:" line (in postfix src/smtp/smtp_proto.c). However, dovecot
does not support the DNS extension on the LMTP endpoint. It has
preliminary support of the ORCPT parameter in latest versions but is is
disabled and not working.

The solution taken was to add a sieve script to parse the Received:
header written by postfix and parse the original RCPT TO address from
it. Then add the header through the "editheader" sieve extension. Later
sieve scripts can take this header to perform further filtering.
Caleb Johnson b58dcfb511
Add support for sending from alternative domains
See 
AdrienM 29a1548532 Add explicit ssl_protocols in conf
kaiyou dfb5463c94 Relax the frame filtering to allow roundcube to display previews
kaiyou 04278b6cbf Pass the full host to the backend, fixes
kaiyou 6c56c8e298 Specify the client max body size in the front, related to
Mildred Ki'Lya f538e33dcf Parametrize hosts
Allows to use mailu without docker-compose when hostnames are not set up
by docker itself but provided via a separate resolver.

Use case: use mailu using nomad scheduler and consul resolver instead of
docker-compose. Other servers are provided by the DNS resolver that
resolves names like admin.service.consul or webmail.service.consul.
These names needs to be configurable.
kaiyou d8ebfbe020 Display infinite user quotas correctly, fixes
SunMar 6ec0fe7036 Adding options for mail-letsencrypt
kaiyou d98f16333a Display an infinite quota when necessary for users, fixes
kaiyou 8d224824ea Display a conditional button for generation dkim keys, fixes
kaiyou d0b8de72e4 Do not deny HTTP access upon TLS error when the flavor is mail
kaiyou bfc898c2d8 Move dhparam to /conf
Greg Fitzgerald f1ad2cf4d0 Use a predefined dhparam.pem, This fixes issue
kaiyou 7a9d2c9725
Merge pull request from ripkens/patch-1
Added adress verification before accepting mails for delivery
kaiyou acb5d7da38 Use relative redirect for / to the webmail
kaiyou 2dfc91ac4d Use a map for passing x-forwarded-proto along
Marcus Ripkens 7375134474
Update main.cf
Marcus Ripkens 175349a224
Added adress verification before accepting mails for delivery
See https://www.endpoint.com/blog/2015/05/28/postfix-address-verification

Block client until address verifiction is completed and mail will not be rejected by relaying MTA or smarthost.
If verification fails, mail is rejected.
If verification takes too long, mail is temporaryly rejected and sending client will retry later.
kaiyou 42314d3d75 Remove a remaining rebug print() statement
kaiyou a4f46ced49 Properly use x-forwarded-proto with redirects in the webui, related to
kaiyou 48d736feef Configure a resolver for the mail server to populate xclient hostnames
rageOS 59766d289e
Fix for relayed Domains
kaiyou 319965a4af Add a format check for the email localpart when signing up
kaiyou 18ae6a4a0f Fix the signup quota
kaiyou e85eada522 Fix the login view when no next page is provided
kaiyou def0a8b89d Fix the signup domain list with non infinite mailbox max count
kaiyou 2662abedef Enable self-service account signup
kaiyou 3b79e5196a Add a default quota setting for new accounts
kaiyou 6d71fa96ad Add a signup field to domains
kaiyou 4761646616 Make sure stale pid files are dealt with, fix
kaiyou 743eb81908 Fix the Webdav behavior with Radicale, related to
kaiyou 328001a417
Merge pull request from HorayNarea/patch-1
Disable ssl_session_tickets, see https://wiki.mozilla.org/Security/Server_Side_TLS#TLS_tickets_.28RFC_5077.29
kaiyou c545b8d110 Honor feature limitations for imap and pop3
kaiyou 3e464b0b70 Update messages.po (POEditor.com)
kaiyou 952a50665b Update messages.po (POEditor.com)
kaiyou d4441b6815 Move nl and sv loca to LC_MESSAGES
kaiyou ab34ce4e8e Add dummy files for pl and it loca
kaiyou 2f4758a445 Update messages.po (POEditor.com)
kaiyou e368c200b1 Update messages.po (POEditor.com)
kaiyou f3ae318132 Perform webdav authentication in nginx, fixes
kaiyou 17b184e5c8 Implement a basic authentication API
kaiyou 8920982213 Properly pass the request uri to the authentication backend
kaiyou 97dd9ed77c Fix a missing variable in the nginx config
Thomas Sänger d61ba8e651
disable ssl_session_tickets
kaiyou eb32871904 Force nginx to run dns queries at runtime
Thomas Sänger ad7c5e48c5
automatically set nginx-worker based on CPU-count
kaiyou 059cbb37a4 Update messages.po (POEditor.com)
kaiyou e9f4719a40 Update messages.po (POEditor.com)
kaiyou 112cff3621 Update messages.po (POEditor.com)
kaiyou f30a09f182 Update messages.po (POEditor.com)