2009/4/28 Ricardo Augusto de Souza <[email protected]>: > Tenho um servidor FreeBSD 7.1 com PF. > O IP é o 189.57.xxx.3 ( bge1 ) > Este IP nao tem reverso, por isso estou com problemas para enviar emails para > alguns domínios. > > Apr 28 11:42:00 Fw sm-mta[25954]: n3SCAGXI003262: > to=<[email protected]>, delay=02:31:43, xdelay=00:00:00, mailer=esmtp, > pri=480751, relay=vip-us-br-mx.terra.com., dsn=4.0.0, stat=Deferred > Apr 28 11:42:00 Fw sm-mta[25954]: n3SCCG61011101: > to=<[email protected]>, delay=02:29:41, xdelay=00:00:00, mailer=esmtp, > pri=480751, relay=mx.uol.com.br., dsn=4.0.0, stat=Deferred: Connection timed > out with mx.uol.com.br. > Apr 28 11:42:00 Fw sm-mta[25954]: n3SCFGbi026135: to=<[email protected]>, > delay=02:26:44, xdelay=00:00:00, mailer=esmtp, pri=480751, > relay=mx.terraempresas.com.br., dsn=4.0.0, stat=Deferred > Apr 28 11:42:00 Fw sm-mta[25954]: n3SCCG5x011101: > to=<[email protected]>, delay=02:29:41, xdelay=00:00:00, mailer=esmtp, > pri=480751, relay=mx.uol.com.br., dsn=4.0.0, stat=Deferred: Connection timed > out with mx.uol.com.br. > Apr 28 11:42:10 Fw sm-mta[25954]: n3SCDGIR002369: > to=<[email protected]>, delay=02:28:54, xdelay=00:00:10, mailer=esmtp, > pri=480751, relay=mx.bol.com.br. [200.221.29.128], dsn=4.7.1, stat=Deferred: > 450 4.7.1 Client host rejected: cannot find your hostname, [189.57.43.3] > > Coloquei o IP 189.57.xxx.2 que possui reverso e subi como alias na bge1, > agora como faço no PF para as conexões SMTP utilizarem o novo IP ( > 189.57.XXX.2 ). > > > Meu PF.conf: > > # cat /etc/pf.conf |grep 'port 25' > rdr pass on $int_if inet proto tcp from $lan to 10.10.100.254 port 25 -> > 127.0.0.1 port 25 > rdr pass on $mpls_if inet proto tcp from $rede_mpls to $mpls_if port 25 -> > 127.0.0.1 port 25 > #
Eh no seu nat q deve tratar isso! -- Giancarlo Rubio ------------------------- Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd

