File tree Expand file tree Collapse file tree 11 files changed +62
-34
lines changed
Expand file tree Collapse file tree 11 files changed +62
-34
lines changed Original file line number Diff line number Diff line change 22# Internal variables
33HOMEDIR=' /home'
44BACKUP=' /backup'
5- BACKUP_GZIP=5
5+ BACKUP_GZIP=9
66BACKUP_DISK_LIMIT=95
77BACKUP_LA_LIMIT=5
88RRD_STEP=300
Original file line number Diff line number Diff line change 11ssl = yes
2+ ssl_protocols = !SSLv2 !SSLv3
3+
24ssl_cert = </usr/local/vesta/ssl/certificate.crt
35ssl_key = </usr/local/vesta/ssl/certificate.key
Original file line number Diff line number Diff line change @@ -2,3 +2,23 @@ protocols = imap pop3
22listen = *, ::
33base_dir = /var/run/dovecot/
44!include conf.d/*.conf
5+
6+ namespace {
7+ type = private
8+ separator = /
9+ prefix =
10+ inbox = yes
11+
12+ mailbox Sent {
13+ auto = subscribe
14+ special_use = \Sent
15+ }
16+ mailbox Drafts {
17+ auto = subscribe
18+ special_use = \Drafts
19+ }
20+ mailbox Trash {
21+ auto = subscribe
22+ special_use = \Trash
23+ }
24+ }
Original file line number Diff line number Diff line change 88#SPAM_SCORE = 50
99#CLAMD = yes
1010
11+ disable_ipv6 = true
1112domainlist local_domains = dsearch;/etc/exim4/domains/
1213domainlist relay_to_domains = dsearch;/etc/exim4/domains/
1314hostlist relay_from_hosts = 127.0.0.1
Original file line number Diff line number Diff line change 11# Server globals
22user www-data;
3- worker_processes 2;
4- error_log /var/log/nginx/error.log;
3+ worker_processes auto;
4+ worker_rlimit_nofile 65535 ;
5+ error_log /var/log/nginx/error.log crit;
56pid /var/run/nginx.pid ;
67
78
89# Worker config
910events {
1011 worker_connections 1024 ;
1112 use epoll;
13+ multi_accept on;
1214}
1315
1416
3739 '"$status" $body_bytes_sent "$http_referer" '
3840 '"$http_user_agent" "$http_x_forwarded_for"' ;
3941 log_format bytes '$body_bytes_sent' ;
40- #access_log /var/log/nginx/access.log main;
42+ #access_log /var/log/nginx/access.log main;
4143 access_log off;
4244
4345
5153 gzip_comp_level 9;
5254 gzip_min_length 512 ;
5355 gzip_buffers 8 64k ;
54- gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/ javascript image/svg+ xml application/x-font-ttf font/opentype;
56+ gzip_types text/plain text/css text/javascript text/js text/xml application/json application/javascript application/x- javascript application/ xml application/xml+rss application/ x-font-ttf image/svg+xml font/opentype;
5557 gzip_proxied any;
56-
58+ gzip_disable "MSIE [1-6] \. " ;
5759
5860 # Proxy settings
5961 proxy_redirect off;
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ Alias /phpmyadmin /usr/share/phpmyadmin
1515 php_admin_flag allow_url_fopen Off
1616 php_value include_path .
1717 php_admin_value upload_tmp_dir /var/lib/phpmyadmin/tmp
18- php_admin_value open_basedir /usr/share/phpmyadmin/:/etc/phpmyadmin/:/var/lib/phpmyadmin/:/usr/share/php/php-gettext
18+ php_admin_value open_basedir /usr/share/phpmyadmin/:/etc/phpmyadmin/:/var/lib/phpmyadmin/:/usr/share/php/php-gettext:/usr/share/javascript/
1919 </IfModule>
2020
2121</Directory>
Original file line number Diff line number Diff line change 448448$ rcmail_config ['protect_default_folders ' ] = true ;
449449
450450// if in your system 0 quota means no limit set this option to true
451- $ rcmail_config ['quota_zero_as_unlimited ' ] = false ;
451+ $ rcmail_config ['quota_zero_as_unlimited ' ] = true ;
452452
453453// Make use of the built-in spell checker. It is based on GoogieSpell.
454454// Since Google only accepts connections over https your PHP installatation
724724// show pretty dates as standard
725725$ rcmail_config ['prettydate ' ] = true ;
726726
727- // save compose message every 300 seconds (5min)
728- $ rcmail_config ['draft_autosave ' ] = 300 ;
727+ // save compose message every 30 seconds
728+ $ rcmail_config ['draft_autosave ' ] = 30 ;
729729
730730// default setting if preview pane is enabled
731731$ rcmail_config ['preview_pane ' ] = false ;
Original file line number Diff line number Diff line change @@ -9,3 +9,4 @@ ID='8' RECORD='pop' TYPE='A' PRIORITY='' VALUE='%ip%' SUSPENDED='no' TIME='%time
99ID='9' RECORD='ftp' TYPE='A' PRIORITY='' VALUE='%ip%' SUSPENDED='no' TIME='%time%' DATE='%date%'
1010ID='10' RECORD='@' TYPE='MX' PRIORITY='10' VALUE='mail.%domain%.' SUSPENDED='no' TIME='%time%' DATE='%date%'
1111ID='11' RECORD='@' TYPE='TXT' PRIORITY='' VALUE='"v=spf1 a mx ip4:%ip% ?all"' SUSPENDED='no' TIME='%time%' DATE='%date%'
12+ ID='12' RECORD='_dmarc' TYPE='TXT' PRIORITY='' VALUE='"v=DMARC1; p=none"' SUSPENDED='no' TIME='%time%' DATE='%date%'
Original file line number Diff line number Diff line change @@ -13,3 +13,4 @@ ID='12' RECORD='pop' TYPE='A' PRIORITY='' VALUE='%ip%' SUSPENDED='no' TIME='%tim
1313ID='13' RECORD='ftp' TYPE='A' PRIORITY='' VALUE='%ip%' SUSPENDED='no' TIME='%time%' DATE='%date%'
1414ID='14' RECORD='@' TYPE='MX' PRIORITY='10' VALUE='mail.%domain%.' SUSPENDED='no' TIME='%time%' DATE='%date%'
1515ID='15' RECORD='@' TYPE='TXT' PRIORITY='' VALUE='"v=spf1 a mx ip4:%ip% ?all"' SUSPENDED='no' TIME='%time%' DATE='%date%'
16+ ID='16' RECORD='_dmarc' TYPE='TXT' PRIORITY='' VALUE='"v=DMARC1; p=none"' SUSPENDED='no' TIME='%time%' DATE='%date%'
Original file line number Diff line number Diff line change @@ -17,10 +17,11 @@ tcp_wrappers=YES
1717force_dot_files=YES
1818ascii_upload_enable=YES
1919ascii_download_enable=YES
20- #allow_writable_chroot=YES
2120allow_writeable_chroot=YES
2221seccomp_sandbox=NO
2322pasv_enable=YES
24- pasv_max_port=12100
2523pasv_min_port=12000
24+ pasv_max_port=12100
25+ max_per_ip=10
26+ max_clients=100
2627use_localtime=YES
You can’t perform that action at this time.
0 commit comments