Enviado em 17/06/2013 - 21:12h
Boa Noite, tenho um servidor de e-mail marketing com 30 ips.
..
iptables -t nat -A POSTROUTING -p tcp --dport 25 -m statistic --mode nth --every 5 -j SNAT --to-source 192.x.x.7
iptables -t nat -A POSTROUTING -p tcp --dport 25 -m statistic --mode nth --every 5 -j SNAT --to-source 192.x.x.8
...
.....
Jun 18 03:07:55 servidor postfix/smtp[6761]: connect to gmail-smtp-in.l.google.com[74.125.136.26]:25: Connection timed out
Jun 18 03:07:55 servidor postfix/smtp[6841]: connect to gmail-smtp-in.l.google.com[74.125.136.26]:25: Connection timed out
Jun 18 03:07:55 servidor postfix/smtp[6845]: connect to gmail-smtp-in.l.google.com[74.125.136.26]:25: Connection timed out
Jun 18 03:07:55 servidor postfix/smtp[6769]: connect to gmail-smtp-in.l.google.com[74.125.136.26]:25: Connection timed out
Jun 18 03:07:55 servidor postfix/smtp[6849]: connect to gmail-smtp-in.l.google.com[74.125.136.26]:25: Connection timed out
Jun 18 03:07:55 servidor postfix/smtp[6761]: connect to gmail-smtp-in.l.google.com[74.125.136.26]:25: Connection timed out
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
# appending .domain is the MUA's job.
append_dot_mydomain = no
# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h
readme_directory = no
# TLS parameters
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.
myhostname = e.servidor.com.br
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = e.servidor.com.br, servidor.com.br, localhost.com.br, localhost,
relayhost =
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 192.x.109.x, 192.x.109.x (TODOS OS IPS)
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all