# smtp-gated 1.4.14-rc1 # configuration exmaplei # # Virus scanning: yes # SPAM scanning: yes proxy_name smtp-proxy.mydomain.com mode netfilter bind_address 192.168.1.254 source_addr 0.0.0.0 lock_on virus,spam,maxhost lock_path /var/spool/smtp-gated/lock lock_duration 600 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 antivirus_type clamd antivirus_path /var/run/clamav/clamd.ctl ; clamd_path 127.0.0.1:3322 antispam_type spamassassin antispam_path /var/run/spamd/spamd_socket ; action_script /etc/smtp-gated-action.sh ; chroot_path /home/chroot set_user smtpgw ; priority 1 max_connections 8 max_per_host 4 max_load 6 scan_max_size 5000000 spam_max_size 500000 spam_max_load 5 spam_threshold 5 ignore_errors 1 spool_leave_on error,spam log_helo yes log_mail_from accepted,rejected log_rcpt_to accepted,rejected log_level debug nat_header_type simple abuse abuse@mydomain.com ; locale pl_PL