Skip to content

Instantly share code, notes, and snippets.

@kraba
kraba / 01 main.cf
Last active June 7, 2024 19:54
Postfix (RBL/DNSBL/BL) + Dovecot + Postgrey + Spamassassin + Clamav + Sieve + Roundcube + Postfixadmin : https://wiki.matteobasso.com/Postfix_%26_Dovecot_:_installation_procedure
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
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;