Re: sender_dependent_default_transport_maps difficulties

2012-07-30 Thread Russell Jones
Thanks Viktor, the examples helped considerably. I now have it working as intended :) Hopefully this thread will help others in the future that may have issues too. On 7/31/2012 12:21 AM, Viktor Dukhovni wrote: On Mon, Jul 30, 2012 at 11:56:05PM -0500, Russell Jones wrote: The source IP

Re: sender_dependent_default_transport_maps difficulties

2012-07-30 Thread Viktor Dukhovni
On Mon, Jul 30, 2012 at 11:56:05PM -0500, Russell Jones wrote: > The source IP is defined based on the sender's domain. This is what > I need to achieve: "Recently there have been requests for sending > mail with source IP addresses that depend on the envelope sender." > (http://www.mail-archive.c

Re: sender_dependent_default_transport_maps difficulties

2012-07-30 Thread Russell Jones
Some clarification, I'm not asking you (or anyone) to write my configs for me, but to just point me in some sort of direction that has some working examples I could pick up off of the postfix documentation has some nice examples and tutorials for all sort of things, just nothing for this pa

Re: sender_dependent_default_transport_maps difficulties

2012-07-30 Thread Russell Jones
> What does "go through" mean? The source IP is defined based on the sender's domain. This is what I need to achieve: "Recently there have been requests for sending mail with source IP addresses that depend on the envelope sender." (http://www.mail-archive.com/postfix-users@postfix.org/msg184

Re: sender_dependent_default_transport_maps difficulties

2012-07-30 Thread Viktor Dukhovni
On Mon, Jul 30, 2012 at 11:33:40PM -0500, Russell Jones wrote: > "I have a simple postfix 2.9.3 server with 2 IP addresses. I want > all mail sent from a sender address of *@example1 to go through > 1.1.1.1, and all mail sent from a sender address of *@example2.com > to go through 1.1.1.2." What

Re: sender_dependent_default_transport_maps difficulties

2012-07-30 Thread Russell Jones
Thank you for the delightful insight. I thought I was pretty clear in what I was attempting to do in my first email: "I have a simple postfix 2.9.3 server with 2 IP addresses. I want all mail sent from a sender address of *@example1 to go through 1.1.1.1, and all mail sent from a sender addres

Re: sender_dependent_default_transport_maps difficulties

2012-07-30 Thread Viktor Dukhovni
On Mon, Jul 30, 2012 at 09:57:10PM -0500, Russell Jones wrote: > Thanks Viktor. I feel like I am closer, just not quite there yet. I > am now getting the following error: > mail for 1.1.1.1 loops back to myself > > main.cf: > sender_dependent_default_transport_maps = > hash:/etc/postfix/sen

Re: sender_dependent_default_transport_maps difficulties

2012-07-30 Thread Russell Jones
Thanks Viktor. I feel like I am closer, just not quite there yet. I am now getting the following error: mail for 1.1.1.1 loops back to myself main.cf: sender_dependent_default_transport_maps = hash:/etc/postfix/sender_dependent_default_transport_maps master.cf: 1.1.1.1:smtp inetn

Re: sender_dependent_default_transport_maps difficulties

2012-07-29 Thread Viktor Dukhovni
On Mon, Jul 30, 2012 at 12:30:51AM -0500, Russell Jones wrote: > I have been following (or attempting to follow) these two sites I > found that showed how to set this up. They both show domain then > transport: I don't see this at either site. All I found was "transport:", with custom transport n

Re: sender_dependent_default_transport_maps difficulties

2012-07-29 Thread Russell Jones
Hi Viktor, I have been following (or attempting to follow) these two sites I found that showed how to set this up. They both show domain then transport: http://www.ericmichaelstone.com/?p=5359 http://www.zoobey.com/index.php/resources/all-articles-list/210-postfix-outbound-mail-router-by-domai

Re: sender_dependent_default_transport_maps difficulties

2012-07-29 Thread Viktor Dukhovni
On Sun, Jul 29, 2012 at 08:26:24PM -0500, Russell Jones wrote: [ No HTML posts, please! ] > /@domain2\.com$/ 1.1.1.2:smtp: Why do you believe this is the correct syntax? The transport(5) documentation specifies: transport:nexthop not nexthop:transport -- Viktor.

sender_dependent_default_transport_maps difficulties

2012-07-29 Thread Russell Jones
Hi all, I am having a very difficult time getting sender_dependent_default_transport_maps to actually work as described. I have a simple postfix 2.9.3 server with 2 IP addresses. I want all mail sent from a sender address of *@example1 to go through 1.1.1.1,