diff options
-rw-r--r-- | hosts/jenkins-test-vm/etc/postfix/canonical-redirect | 1 | ||||
-rw-r--r-- | hosts/jenkins-test-vm/etc/postfix/main.cf | 1 | ||||
-rwxr-xr-x | update_jdn.sh | 5 |
3 files changed, 6 insertions, 1 deletions
diff --git a/hosts/jenkins-test-vm/etc/postfix/canonical-redirect b/hosts/jenkins-test-vm/etc/postfix/canonical-redirect new file mode 100644 index 00000000..9dd35a1d --- /dev/null +++ b/hosts/jenkins-test-vm/etc/postfix/canonical-redirect @@ -0,0 +1 @@ +/^.*$/ phil diff --git a/hosts/jenkins-test-vm/etc/postfix/main.cf b/hosts/jenkins-test-vm/etc/postfix/main.cf index 6ee27f16..4c9dbae4 100644 --- a/hosts/jenkins-test-vm/etc/postfix/main.cf +++ b/hosts/jenkins-test-vm/etc/postfix/main.cf @@ -43,3 +43,4 @@ mailbox_command = /usr/bin/procmail -a "$EXTENSION" luser_relay = phil@localhost local_recipient_maps = mydestination = pcre:/etc/postfix/mydestinations +canonical_maps = regexp:/etc/postfix/canonical-redirect diff --git a/update_jdn.sh b/update_jdn.sh index 27293579..080d72e1 100755 --- a/update_jdn.sh +++ b/update_jdn.sh @@ -193,7 +193,10 @@ if [ -f /etc/debian_version ] ; then zsh " case $HOSTNAME in - jenkins|jenkins-test-vm|profitbricks-build*) DEBS="$DEBS squid3" ;; + jenkins|jenkins-test-vm|profitbricks-build?-amd64) DEBS="$DEBS + postfix-pcre + squid3" + ;; *) ;; esac # needed to run the 2nd reproducible builds nodes in the future... |