[Postfix-br] Definir IP de saida pelo remetente
Renato
renato em elancers.net
Quarta Outubro 9 13:03:18 BRT 2013
Saudações,
Renato Queiroz
> Em 09/10/2013, às 12:16, Julio Cesar Covolato <julio at psi.com.br> escreveu:
>
> Olá Israel.
>
> O que vc está querendo é o "sender_dependent_default_transport_maps".
>
> Ex. para 3 ips (supondo que estão no mesmo servidor):
> Primeiro acerte os reversos no DNS:
>
> 200.200.200.10 -> gw1.dom.com.br
> 200.200.200.20 -> gw2.dom.com.br
> 200.200.200.30 -> gw3.dom.com.br
>
> Edite o master.cf:
> gw1 unix - - n - - smtp
> -o smtp_bind_address=200.200.200.10
> -o smtp_helo_name=gw1.dom.com.br
> -o syslog_name=postfix-gw1
>
> gw2 unix - - n - - smtp
> -o smtp_bind_address=200.200.200.20
> -o smtp_helo_name=gw2.dom.com.br
> -o syslog_name=postfix-gw2
>
> gw3 unix - - n - - smtp
> -o smtp_bind_address=200.200.200.30
> -o smtp_helo_name=gw3.dom.com.br
> -o syslog_name=postfix-gw3
>
> Edite o main.cf:
>
> sender_dependent_default_transport_maps = hash:/etc/postfix/sender_transport
>
> Crie o arquivo /etc/postfix/sender_transport:
>
> fulano at dom.com.br gw1:
> ciclano at dom.com.br gw2:
> beltrano at dom.com.br gw3:
>
> Postmap e reload:
>
> #$ postmap /etc/postfix/sender_transport; postfix reload
>
>
> Att.
> -----------------------------
> _ Engº Julio Cesar Covolato
> 0v0 <julio at psi.com.br>
> /(_)\ F: 55-11-3129-3366
> ^ ^ PSI INTERNET
> -----------------------------
> Em 09/10/2013 10:03, Israel britto escreveu:
>> Bom dia Srs.
>> é possível no postfix, eu definir por qual IP o e-mail é enviado, baseado no remetente?
>>
>> Por exemplo:
>> usuário joao at dominio.com - > IP X
>> usuário zé@dominio.com - > IP Y
>>
>> Obrigado
>> Israel Britto
>>
>>
>> _______________________________________________
>> Postfix-br mailing list
>> Postfix-br at listas.softwarelivre.org
>> http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/postfix-br
>
> _______________________________________________
> Postfix-br mailing list
> Postfix-br at listas.softwarelivre.org
> http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/postfix-br
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/postfix-br/attachments/20131009/2818ece9/attachment.html>
More information about the Postfix-br
mailing list