docker-mailserver/target/scripts/startup/setup.d
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
..
security Fix sieve setup (#3397) 2023-06-20 13:37:31 +02:00
dmarc_dkim_spf.sh Fix issue with concatenating $dmarc_milter and $dkim_milter in main.cf (#3380) 2023-06-20 19:44:54 +00:00
dovecot.sh Change 'for' style (#3368) 2023-05-26 14:00:40 +02:00
fetchmail.sh Change 'for' style (#3368) 2023-05-26 14:00:40 +02:00
getmail.sh Change 'for' style (#3368) 2023-05-26 14:00:40 +02:00
ldap.sh Change 'for' style (#3368) 2023-05-26 14:00:40 +02:00
log.sh Change 'function' style (#3364) 2023-05-26 01:01:41 +02:00
mail_state.sh Change 'for' style (#3368) 2023-05-26 14:00:40 +02:00
networking.sh Change 'for' style (#3368) 2023-05-26 14:00:40 +02:00
postfix.sh Change 'while' style (#3365) 2023-05-26 01:39:39 +02:00
saslauthd.sh Change 'function' style (#3364) 2023-05-26 01:01:41 +02:00