# smtp-gated 1.4.14-rc1 # configuration exmaplei # # Virus scanning: yes # SPAM scanning: yes proxy_name smtp-proxy.mydomain.com port 9199 ; bind_address 192.168.1.254 ; source_addr 0.0.0.0 mode netfilter ; action_script /etc/smtp-gated-action.sh lock_duration 1800 lock_path /var/spool/smtp-gated/lock spool_path /var/spool/smtp-gated/msg spool_perm 0660 pidfile /var/run/smtp-gated/smtp-gated.pid dumpfile /var/run/smtp-gated/smtp-state-dump set_user smtpgw priority 5 lock_on virus,spam,maxhost max_connections 64 max_per_host 40 max_per_ident 6 max_load 3.0 ignore_errors yes spool_leave_on error,spam nat_header_type simple ; abuse abuse@mydomain.com log_helo yes log_mail_from accepted,rejected log_rcpt_to 0 ; locale pl_PL scan_max_size 1048576 ;spam_max_size 0 spam_max_size 131072 spam_max_load 0.5 spam_threshold 3.0 ; scanner_path antivirus_type clamd antivirus_path /var/run/clamav/clamd.ctl antispam_type spamassassin antispam_path /var/run/spamd/spamd_socket msg_virus_found Malware found / Znaleziono wirusa msg_virus_locked Dostep do SMTP automatycznie zablokowany na 30 minut. Zobacz http://