Commit graph

24 commits

Author SHA1 Message Date
Alexandre Aubin
88b11bee09 mail: fix opendkim assuming mails arent authenticated because of missing {auth_type} from postfix 2024-07-17 18:37:15 +02:00
Alexandre Aubin
f16011a138 Remove reference to rspamd, rspamd is to become an app 2024-07-15 22:23:59 +02:00
Alexandre Aubin
b661356783 Merge remote-tracking branch 'origin/dev' into bookworm 2024-06-30 00:23:58 +02:00
Alexandre Aubin
bd43a4504e
Update main.cf: fuck postfix syntax 2024-06-18 14:12:11 +02:00
Chris Vogel
1c7e139c74
Update main.cf to allow aliases for sender addresses of apps
If an app registers the sender address _app@doma.in_ **and** a yunohost account configured an alias for the same address the app will not be able to send emails anymore.

postfix asks the first map defined in smtpd_sender_login_maps and finds that the address _app@doma.in_ can be used as a sender address by the yunohost account having configured the alias and **then stops and doesn't look up the second list** for registered apps.

The unionmap instructs postfix to join a list from both sources and then return the match from that joined list which would then contain _yunohost_account_having_registered_alias, appname_ for the lookup of _app@doma.in_.

This allows the yunohost account having registered the alias and the app being registered to use the sender address to send email using that sender **and makes it possible to receive replies to the emails going out from the app**.

Reference: https://serverfault.com/questions/948362/postfix-multiple-smtpd-sender-login-maps
2024-05-18 14:03:32 +02:00
Alexandre Aubin
582350c145 mail: attempt to move to opendkim instead of rspamd for dkim signing/verify 2024-05-07 16:31:50 +02:00
Alexandre Aubin
0a01423408 Merge remote-tracking branch 'origin/dev' into bookworm 2023-12-28 02:57:12 +01:00
Alexandre Aubin
155418409e postfix: fix edge case bug with the sni file when no domain has mail enabled 2023-12-26 17:42:11 +01:00
Josue-T
a729c78379
apps: add mailbox/IMAP support for apps that declared a system user with mail enabled (#1745)
* Add missing account registration for apps in postfix

* Also set email on dovecot DB

* fix undefined var

* Fix missing username format config in dovecot
2023-12-23 19:34:22 +01:00
Alexandre Aubin
7ba6c37eb8 Merge branch '11.2' into bookworm 2023-07-11 15:56:52 +02:00
Alexandre Aubin
194eb9c6c7 conf: Update ciphers for nginx, postfix, dovecot 2023-06-13 20:39:56 +02:00
Alexandre Aubin
c48d9ec483 appsv2/mail: add new 'allow_email' flag on app system users that will autogenerate a passwd-like file to be used by dovecot + map for postfix 2023-02-28 17:56:49 +01:00
Alexandre Aubin
f0751aff17 Allow system users to auth on the mail stack and send emails 2023-02-28 13:52:22 +01:00
Alexandre Aubin
0da6370d62 postfix complains about unused parameter: exclude_internal=yes / search_timeout=30 2023-02-10 00:15:02 +01:00
Alexandre Aubin
47b9b8b520 configpanels: fix inconsistent return format for boolean, sometimes 1/0, sometimes True/False -> force normalization of values when calling get() for a single setting from a config panel 2022-12-20 19:51:21 +01:00
Alexandre Aubin
80a060dd94 postfix: fix typo breaking relays 2022-12-18 15:24:13 +01:00
Alexandre Aubin
1037508fb5
Merge branch '11.1' into admins 2022-09-04 20:28:59 +02:00
Alexandre Aubin
87abbe678d Merge remote-tracking branch 'origin/dev' into admins 2022-08-09 18:29:59 +02:00
Tagadda
f0bf8dd1fd settings: use email.smtp.smtp_relay_enabled 2022-04-26 17:26:48 +00:00
Kayou
08be0ee020
[fix] postfix sni tls_server_chain_sni_maps -> tls_server_sni_maps 2022-02-09 13:33:22 +01:00
Tagadda
9ef3a1bfff [enh] Add SNI support to postfix and dovecot 2022-01-19 23:28:43 +00:00
Alexandre Aubin
767b5c3d7e mail: Add ldap-groups virtual aliases 2022-01-11 15:09:01 +01:00
Alexandre Aubin
05f25fa85f Propagate dir structure change to scripts etc 2021-11-10 18:25:37 +01:00
Alexandre Aubin
5de9e4fe6a Yolorework the repo dir structure 2021-11-10 17:56:02 +01:00