# Minimal configuration for smtp-gated 1.4.16.2 # Just to get it running, does not do any scanning or locking # # You can check all default values using: # $ smtp-gated -T |more # or effective values: # $ smtp-gated -T nat-advanced.conf |more # # Watch your logs on fresh install and after changes! # name visible in SMTP responses: proxy_name smtp-proxy.example.org # listen for client connections on following IP and port: # IP 0.0.0.0 means: all interfaces (IPs) # iptables -t nat -A PREROUTING -i LAN_INTERFACE -p tcp --dport 25 -j DNAT --to 127.0.0.1:9199 bind_address 127.0.0.1 port 9199 # save state file to following: statefile /var/run/smtp-gated/state # create lock files and spool messages in following directories: lock_path /var/spool/smtp-gated/lock spool_path /var/spool/smtp-gated/msg # connection routing mode: mode netfilter # run as user (never run as root!): set_user smtpgw # ignore errors, and do not shut down connections: ignore_errors yes # how many messages to log: log_level debug # abuse e-mail, set this to your own! abuse abuse@example.org