Skip to content

Instantly share code, notes, and snippets.

Avatar

Matteo Basso kraba

View GitHub Profile
View awstats-nginx-vhost.conf
server {
listen 80;
server_name awstat.mysite.com;
root /var/www/stat;
error_log /var/log/nginx/awstat.mysite.com.error;
access_log /var/log/nginx/awstat.mysite.com.access;
log_not_found off;
server_tokens off;
error_page 401 403 404 /404.html;
@kraba
kraba / 01 main.cf
Last active Feb 12, 2020
Postfix (RBL/DNSBL/BL) + Dovecot + Postgrey + Spamassassin + Clamav + Sieve + Roundcube + Postfixadmin : https://wiki.matteobasso.com/Postfix_%26_Dovecot_:_installation_procedure
View 01 main.cf
biff = no
myhostname = mail.mysite.org
mydomain = mysite.org
myorigin = /etc/mailname
mydestination = $myhostname, localhost.$mydomain, localhost
relayhost =
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
You can’t perform that action at this time.