[Postfix-br] e-mail marketing (Timeout)

Cesar A. daemoncesar em hotmail.com
Terça Junho 18 08:11:55 BRT 2013


Boa Noite, tenho um servidor de e-mail marketing com 30 ips.
Estou utilizando está regra para randomizar os IPS

..iptables -t nat -A POSTROUTING -p tcp --dport 25 -m statistic --mode nth --every 5 -j SNAT --to-source 192.x.x.7iptables -t nat -A POSTROUTING -p tcp --dport 25 -m statistic --mode nth --every 5 -j SNAT --to-source 192.x.x.8........

O problema é que colocando estás regras (Com todos os 30 ips) meu postfix da erro de TIMEOUT.
Jun 18 03:07:55 servidor postfix/smtp[6761]: connect to gmail-smtp-in.l.google.com[74.125.136.26]:25: Connection timed outJun 18 03:07:55 servidor postfix/smtp[6841]: connect to gmail-smtp-in.l.google.com[74.125.136.26]:25: Connection timed outJun 18 03:07:55 servidor postfix/smtp[6845]: connect to gmail-smtp-in.l.google.com[74.125.136.26]:25: Connection timed outJun 18 03:07:55 servidor postfix/smtp[6769]: connect to gmail-smtp-in.l.google.com[74.125.136.26]:25: Connection timed outJun 18 03:07:55 servidor postfix/smtp[6849]: connect to gmail-smtp-in.l.google.com[74.125.136.26]:25: Connection timed outJun 18 03:07:55 servidor postfix/smtp[6761]: connect to gmail-smtp-in.l.google.com[74.125.136.26]:25: Connection timed out

Não é somente o google, é todos os smtps.. Bom quando limpo o iptables e tiro as regras volta a enviar, porém apenas 1 ip envia.
Gostaria de randomizar todos os 30.

meu main.conf
# 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 parameterssmtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pemsmtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.keysmtpd_use_tls=yessmtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scachesmtp_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.bralias_maps = hash:/etc/aliasesalias_database = hash:/etc/aliasesmyorigin = /etc/mailnamemydestination = 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 = 0recipient_delimiter = +inet_interfaces = all
 		 	   		  
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: <http://listas.softwarelivre.org/pipermail/postfix-br/attachments/20130618/199c86e3/attachment.html>


More information about the Postfix-br mailing list