docker-mailserver/target
wligtenberg 68c6f247a6
Fix issue with concatenating $dmarc_milter and $dkim_milter in main.cf (#3380)
* Fix issue with concatenating $dmarc_milter and $dkim_milter in main.cf 

Upon each start the  `smtpd_milters` and `non_smtpd_milters` would be extended with the following:
```
smtpd_milters =   $dmarc_milter $dkim_milter
non_smtpd_milters = $dkim_milter
```
In my case they became long enough that mail delivery stopped. I think this was because of the extra headers that are added by these steps. (which in turn would cause the mail to be dropped)

* fix sed to work when the variables are there and when they are not.

---------

Co-authored-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com>
2023-06-20 19:44:54 +00:00
..
amavis chore(Amavis): only add configuration to Postfix when enabled (#3046) 2023-02-03 17:32:07 +01:00
bin Change 'for' style (#3368) 2023-05-26 14:00:40 +02:00
dovecot Dovecot: make home dir distinct from mail dir (#3335) 2023-05-15 20:10:29 +02:00
fail2ban F2B: update F2B after discussion in #3256 (#3288) 2023-05-01 15:00:35 +02:00
fetchmail Implement fetchmail (#260) (#271) 2016-08-21 22:13:13 +02:00
getmail feature: adding getmail as an alternative to fetchmail (#2803) 2023-05-23 17:25:08 +02:00
logwatch Add logwatch maillog.conf file to support /var/log/mail/ (#2112) 2021-08-11 11:31:00 +02:00
opendkim Fixed KeyTable refile in opendkim.conf https://serverfault.com/a/861701/377751 (#2249) 2021-10-16 19:04:51 +02:00
opendmarc fix: Change the default OpenDMARC policy to reject (#2933) 2022-12-19 08:54:38 +13:00
postfix chore(main.cf): Add note advising caution changing mydestination (#3316) 2023-05-10 23:23:02 +00:00
postgrey change if style (#3361) 2023-05-24 09:06:59 +02:00
postsrsd config: remove chroot for Dovecot & PostSRSd (#3208) 2023-03-31 12:17:44 +02:00
rspamd/local.d adjust antivirus.conf for Rspamd (#3331) 2023-05-15 07:01:13 +02:00
scripts Fix issue with concatenating $dmarc_milter and $dkim_milter in main.cf (#3380) 2023-06-20 19:44:54 +00:00
shared init tests cases ffdhe4096 2020-04-26 22:23:51 +02:00
supervisor fix: postsrsd restart loop (#3160) 2023-03-13 12:39:03 +13:00