Re: Postfix randomizing outgoing IP using [SOLVED]

2013-11-29 Thread M.Atıf CEYLAN
I wrote the perl script again. The new script contains my own ip address range check. if the IP of the domain is in my IP range it prints "200 dovecot:" message. #!/usr/bin/perl -w # author: Hari Hendaryanto #use strict; use warnings; use Sys::Syslog qw(:DEFAULT setlogsock); use Net::DNS; use

Re: Postfix randomizing outgoing IP using

2013-11-29 Thread M.Atıf CEYLAN
On 29-11-2013 01:30, Gregory Nowak wrote: The main.cf portion you posted didn't have a mydestination = line. If it in fact doesn't, then you probably want to add one as in: mydestination = example.com, host.example.com, localhost and do a postfix reload. Now, postfix won't do mx lookups when

Re: Postfix randomizing outgoing IP using

2013-11-28 Thread Gregory Nowak
On Thu, Nov 28, 2013 at 10:56:47AM +0200, "M.Atıf CEYLAN" wrote: > Everything is great but when I want to sending an email to a local > domain, smtp server looks at the mx record of the domain. Can I use > local transport and transport_maps together? Or is there a way to > sending to local domains?

Postfix randomizing outgoing IP using

2013-11-28 Thread M.Atıf CEYLAN
Hi, I found the URL http://www.kutukupret.com/2010/12/06/postfix-randomizing-outgoing-ip-using-tcp_table-and-perl/ about multiple outgoing IP using. I use postfix with dovecot LDA. My postfix main.cf conf. ... transport_maps = tcp:[127.0.0.1]:2527 127.0.0.1