From: Ludovic CHEVALIER Date: Mon, 7 Oct 2013 19:04:43 +0000 (+0200) Subject: Ajout : etc/sympa/host.d/ptitvelo.net X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=commitdiff_plain;h=e1626f6fd26ee0762c52335247480e9c02abd188 Ajout : etc/sympa/host.d/ptitvelo.net --- diff --git a/etc/nginx/site.d/sympa/site.conf b/etc/nginx/site.d/sympa/site.conf index 31d83dc..a5e8f03 100644 --- a/etc/nginx/site.d/sympa/site.conf +++ b/etc/nginx/site.d/sympa/site.conf @@ -1,7 +1,9 @@ server_name sympa.heureux-cyclage.org sympa.cyclocoop.heureux-cyclage.org - sympa.cyclocoop.org; + sympa.cyclocoop.org + sympa.ptitvelo.heureux-cyclage.org + sympa.ptitvelo.net; client_body_buffer_size 8k; client_max_body_size 10m; @@ -40,6 +42,9 @@ location / { if ($host = "sympa.cyclocoop.heureux-cyclage.org") { set $sympa_robot "sympa.cyclocoop.org"; } + if ($host = "sympa.ptitvelo.heureux-cyclage.org") { + set $sympa_robot "sympa.ptitvelo.net"; + } fastcgi_param SERVER_NAME $sympa_robot; fastcgi_param PATH_INFO $uri; diff --git a/etc/openssl/sympa.heureux-cyclage.org/host.cfg b/etc/openssl/sympa.heureux-cyclage.org/host.cfg index 751b739..160f0f5 100644 --- a/etc/openssl/sympa.heureux-cyclage.org/host.cfg +++ b/etc/openssl/sympa.heureux-cyclage.org/host.cfg @@ -27,7 +27,8 @@ [ extensions ] basicConstraints = critical,CA:TRUE,pathlen:0 keyUsage = keyCertSign,cRLSign,digitalSignature,keyEncipherment - subjectAltName = email:contact+$SERVICE@$ENV::x509_host,DNS:$SERVICE.$ENV::x509_host,DNS:$SERVICE.cyclocoop.org,DNS:$SERVICE.cyclocoop.heureux-cyclage.org + subjectAltName = email:contact+$SERVICE@$ENV::x509_host,DNS:$SERVICE.$ENV::x509_host,DNS:$SERVICE.cyclocoop.org,DNS:$SERVICE.cyclocoop.heureux-cyclage.org,DNS:$SERVICE.ptitvelo.net,DNS:$SERVICE.ptitvelo.heureux-cyclage.org + subjectKeyIdentifier = hash issuerAltName = issuer:copy authorityKeyIdentifier = keyid:always,issuer:always @@ -37,7 +38,7 @@ [ self_signed_extensions ] basicConstraints = critical,CA:TRUE,pathlen:0 keyUsage = keyCertSign,cRLSign,digitalSignature,keyEncipherment - subjectAltName = email:contact+$SERVICE@$ENV::x509_host,DNS:$SERVICE.$ENV::x509_host,DNS:$SERVICE.cyclocoop.org,DNS:$SERVICE.cyclocoop.heureux-cyclage.org + subjectAltName = email:contact+$SERVICE@$ENV::x509_host,DNS:$SERVICE.$ENV::x509_host,DNS:$SERVICE.cyclocoop.org,DNS:$SERVICE.cyclocoop.heureux-cyclage.org,DNS:$SERVICE.ptitvelo.net,DNS:$SERVICE.ptitvelo.heureux-cyclage.org subjectKeyIdentifier = hash issuerAltName = issuer:copy authorityKeyIdentifier = keyid:always,issuer:always diff --git a/etc/postfix/aliases.m4 b/etc/postfix/aliases.m4 index bebbdfd..99469a5 100644 --- a/etc/postfix/aliases.m4 +++ b/etc/postfix/aliases.m4 @@ -44,4 +44,16 @@ cyclocoop.org-listserv: cyclocoop.org-sympa cyclocoop.org-majordomo: cyclocoop.org-sympa #-- SYMPA cyclocoop.org end +#-- SYMPA ptitvelo.net begin +ptitvelo.net-abuse-feedback-report: "| /usr/lib/sympa/bin/bouncequeue sympa@ptitvelo.net" +ptitvelo.net-abuse: "| /usr/lib/sympa/bin/bouncequeue sympa@ptitvelo.net" +ptitvelo.net-bounce+*: "| /usr/lib/sympa/bin/bouncequeue sympa@ptitvelo.net" +ptitvelo.net-listmaster: "| /usr/lib/sympa/bin/queue listmaster@ptitvelo.net" +ptitvelo.net-postmaster: postmaster +ptitvelo.net-root: root +ptitvelo.net-sympa-owner: postmaster +ptitvelo.net-sympa-request: postmaster +ptitvelo.net-sympa: "| /usr/lib/sympa/bin/queue sympa@ptitvelo.net" +#-- SYMPA ptitvelo.net end + #-- SYMPA end diff --git a/etc/postfix/main.cf b/etc/postfix/main.cf index 8410137..3cf0a29 100644 --- a/etc/postfix/main.cf +++ b/etc/postfix/main.cf @@ -216,9 +216,11 @@ transport_maps = regexp:/etc/sympa/transport virtual_alias_domains = cyclocoop.org + ptitvelo.net virtual_alias_maps = hash:/etc/postfix/$mydomain/virtual_alias hash:/etc/postfix/cyclocoop.org/virtual_alias + hash:/etc/postfix/ptitvelo.net/virtual_alias hash:/etc/mail/dovecot/virtual_alias regexp:/etc/sympa/virtual_alias # NOTE: do not specify virtual alias domain names in the main.cf diff --git a/etc/sympa/host.d/ptitvelo.net/robot.conf.m4 b/etc/sympa/host.d/ptitvelo.net/robot.conf.m4 new file mode 100644 index 0000000..7f2f092 --- /dev/null +++ b/etc/sympa/host.d/ptitvelo.net/robot.conf.m4 @@ -0,0 +1,3 @@ +http_host sympa.HOST +listmaster tenshi20@no-log.org +wwsympa_url https://sympa.HOST diff --git a/etc/sympa/virtual_alias b/etc/sympa/virtual_alias index 2b4db60..7c67b3e 100644 --- a/etc/sympa/virtual_alias +++ b/etc/sympa/virtual_alias @@ -2,3 +2,7 @@ /^(listmaster|sympa)@(cyclocoop\.org)$/ $2-$1 /^(.*)-(request|editor|owner|subscribe|unsubscribe)@(cyclocoop\.org)$/ $3-$1-$2 /^([^+]*)@(cyclocoop\.org)$/ $2-$1 +/^(postmaster|root|abuse|sympa-request)@(ptitvelo\.net)$/ $2-$1 +/^(listmaster|sympa)@(ptitvelo\.net)$/ $2-$1 +/^(.*)-(request|editor|owner|subscribe|unsubscribe)@(ptitvelo\.net)$/ $3-$1-$2 +/^([^+]*)@(ptitvelo\.net)$/ $2-$1