fixes
parent
03e1d29369
commit
6bfff1802e
|
@ -3,32 +3,14 @@ server {
|
|||
listen [::]:443 ssl http2;
|
||||
server_name lists.libraryofcode.org;
|
||||
|
||||
ssl_certificate /etc/nginx/ssl/org.chain.crt;
|
||||
ssl_certificate_key /etc/nginx/ssl/org.key.pem;
|
||||
|
||||
client_max_body_size 1G;
|
||||
location /static/ {
|
||||
alias /etc/mailman3/static/;
|
||||
}
|
||||
|
||||
location / {
|
||||
return 307 $scheme://lists.libraryofcode.org/cgi-bin/mailman/listinfo;
|
||||
}
|
||||
|
||||
location /cgi-bin/mailman {
|
||||
root /usr/lib/;
|
||||
fastcgi_split_path_info (^/cgi-bin/mailman/[^/]*)(.*)$;
|
||||
include /etc/nginx/fastcgi_params;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
fastcgi_param PATH_INFO $fastcgi_path_info;
|
||||
fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
|
||||
fastcgi_intercept_errors on;
|
||||
fastcgi_pass unix:/var/run/fcgiwrap.socket;
|
||||
}
|
||||
|
||||
location /images/mailman {
|
||||
alias /usr/share/images/mailman;
|
||||
}
|
||||
|
||||
location /pipermail {
|
||||
alias /var/lib/mailman/archives/public;
|
||||
autoindex on;
|
||||
proxy_pass http://127.0.0.1:6475;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@ mail_name = Library of Code sp-us | Staff Services
|
|||
|
||||
# Relay Settings
|
||||
relayhost =
|
||||
relay_domains = lists.libraryofcode.org
|
||||
relay_domains = lists.libraryofcode.org, hash:/var/tmp/mailman/data/postfix_domains
|
||||
|
||||
|
||||
# MDA & Delivery
|
||||
|
@ -19,7 +19,7 @@ append_dot_mydomain = no
|
|||
biff = no
|
||||
mailbox_transport = lmtp:unix:private/dovecot-lmtp
|
||||
message_size_limit = 1073741824
|
||||
transport_maps = hash:/etc/postfix/transport
|
||||
transport_maps = hash:/var/tmp/mailman/data/postfix_lmtp
|
||||
mailbox_size_limit = 0
|
||||
recipient_delimiter = +
|
||||
|
||||
|
@ -82,13 +82,14 @@ smtpd_recipient_restrictions =
|
|||
|
||||
|
||||
# Local Aliases
|
||||
alias_maps = hash:/etc/aliases
|
||||
alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
|
||||
alias_database = hash:/etc/aliases
|
||||
|
||||
|
||||
# Virtual Alises
|
||||
smtpd_sender_login_maps = hash:/etc/postfix/virtual-mailbox-users
|
||||
virtual_alias_maps = hash:/etc/postfix/virtual
|
||||
##local_recipient_maps = hash:/var/tmp/mailman/data/postfix_lmtp
|
||||
|
||||
|
||||
# Network Settings & Milters
|
||||
|
|
Loading…
Reference in New Issue