diff options
author | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-10-21 14:17:47 +0200 |
---|---|---|
committer | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-10-21 14:17:47 +0200 |
commit | a9fd4c7e44d55a344388b2ec274d152a7877849c (patch) | |
tree | 46ca4e019101c110c7fe3df4f173cfca4a4bbfb1 | |
parent | 8967e655749d9cca1f1c5aa721bee73a65cefe10 (diff) | |
download | nixos-a9fd4c7e44d55a344388b2ec274d152a7877849c.tar nixos-a9fd4c7e44d55a344388b2ec274d152a7877849c.tar.gz nixos-a9fd4c7e44d55a344388b2ec274d152a7877849c.tar.bz2 nixos-a9fd4c7e44d55a344388b2ec274d152a7877849c.tar.xz nixos-a9fd4c7e44d55a344388b2ec274d152a7877849c.zip |
uni mail relays
-rw-r--r-- | hel.nix | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -190,7 +190,8 @@ | |||
190 | relayHost = "uucp:ymir"; | 190 | relayHost = "uucp:ymir"; |
191 | recipientDelimiter = "+"; | 191 | recipientDelimiter = "+"; |
192 | extraMasterConf = '' | 192 | extraMasterConf = '' |
193 | uucp unix - n n - - pipe flags=Fqhu user=uucp argv=/var/setuid-wrappers/uux -z -a$sender - $nexthop!rmail ($recipient) | 193 | uucp unix - n n - - pipe flags=Fqhu user=uucp argv=/var/setuid-wrappers/uux -z -a$sender - $nexthop!rmail ($recipient) |
194 | sshsendmail unix - n n - - pipe falgs=Fqhu user=postfix argv=${pkgs.openssh}/bin/ssh -F /var/db/postfix/ssh.config $nexthop sendmail -f$sender ($recipient) | ||
194 | ''; | 195 | ''; |
195 | extraConfig = '' | 196 | extraConfig = '' |
196 | default_transport = uucp:ymir | 197 | default_transport = uucp:ymir |
@@ -202,9 +203,10 @@ | |||
202 | 203 | ||
203 | smtp_sender_dependent_authentication = yes | 204 | smtp_sender_dependent_authentication = yes |
204 | sender_dependent_default_transport_maps = regexp:${pkgs.writeText "sender_relay" '' | 205 | sender_dependent_default_transport_maps = regexp:${pkgs.writeText "sender_relay" '' |
205 | #/@math(ematik)?\.(lmu|uni-muenchen)\.de$/ smtp:wapmail.mathematik.uni-muenchen.de | 206 | /@math(ematik)?\.(lmu|uni-muenchen)\.de$/ sshsendmail:math60.mathinst.loc |
207 | /@(cip|stud)\.ifi\.(lmu|uni-muenchen)\.de$/ smtp:smtp.ifi.lmu.de | ||
206 | ''} | 208 | ''} |
207 | smtp_sasl_password_maps = texthash:/var/db/postfix/conf/sasl_passwd | 209 | smtp_sasl_password_maps = texthash:/var/db/postfix/sasl_passwd |
208 | smtp_sasl_type = cyrus | 210 | smtp_sasl_type = cyrus |
209 | smtp_sasl_auth_enable = yes | 211 | smtp_sasl_auth_enable = yes |
210 | 212 | ||