diff options
| author | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-10-23 00:42:42 +0200 |
|---|---|---|
| committer | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-10-23 00:42:42 +0200 |
| commit | 276a77359ce79a18dbda2c2ba24f52feff6f2dab (patch) | |
| tree | 63e92127c95e4b5c006ddf92c48fbe4a64940d66 | |
| parent | 057eebc93e700f2e2455f5b45b817ae7ebaa5d3f (diff) | |
| download | nixos-276a77359ce79a18dbda2c2ba24f52feff6f2dab.tar nixos-276a77359ce79a18dbda2c2ba24f52feff6f2dab.tar.gz nixos-276a77359ce79a18dbda2c2ba24f52feff6f2dab.tar.bz2 nixos-276a77359ce79a18dbda2c2ba24f52feff6f2dab.tar.xz nixos-276a77359ce79a18dbda2c2ba24f52feff6f2dab.zip | |
tweak outgoing smtp sasl
| -rw-r--r-- | hel.nix | 13 |
1 files changed, 7 insertions, 6 deletions
| @@ -201,17 +201,18 @@ | |||
| 201 | authorized_submit_users = !uucp, static:anyone | 201 | authorized_submit_users = !uucp, static:anyone |
| 202 | message_size_limit = 0 | 202 | message_size_limit = 0 |
| 203 | 203 | ||
| 204 | smtp_sender_dependent_authentication = no | ||
| 205 | sender_dependent_default_transport_maps = regexp:${pkgs.writeText "sender_relay" '' | 204 | sender_dependent_default_transport_maps = regexp:${pkgs.writeText "sender_relay" '' |
| 206 | /@math(ematik)?\.(lmu|uni-muenchen)\.de$/ sshsendmail:math60.mathinst.loc | 205 | /@math(ematik)?\.(lmu|uni-muenchen)\.de$/ sshsendmail:math60.mathinst.loc |
| 207 | /@(cip|stud)\.ifi\.(lmu|uni-muenchen)\.de$/ smtp:smtp.ifi.lmu.de | 206 | /@(cip|stud)\.ifi\.(lmu|uni-muenchen)\.de$/ smtp:[smtp.ifi.lmu.de] |
| 208 | ''} | 207 | ''} |
| 209 | smtp_sasl_password_maps = texthash:/var/db/postfix/sasl_passwd | ||
| 210 | smtp_sasl_type = cyrus | ||
| 211 | smtp_sasl_auth_enable = yes | ||
| 212 | 208 | ||
| 209 | smtp_sasl_auth_enable = yes | ||
| 210 | smtp_sender_dependent_authentication = yes | ||
| 211 | smtp_sasl_tls_security_options = noanonymous | ||
| 212 | smtp_tls_security_level = encrypt | ||
| 213 | smtp_sasl_password_maps = texthash:/var/db/postfix/sasl_passwd | ||
| 213 | smtp_cname_overrides_servername = no | 214 | smtp_cname_overrides_servername = no |
| 214 | smtp_sasl_security_options = | 215 | smtp_always_send_ehlo = yes |
| 215 | ''; | 216 | ''; |
| 216 | }; | 217 | }; |
| 217 | 218 | ||
