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 particular feature it seems.

On 7/30/2012 11:56 PM, Russell Jones wrote:
> 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/msg18419.html)

> The main trouble with not knowing is not knowing what you don't know.

Fair enough. I never claimed to be a Postfix guru, nor do I have the urge to be one. Hence why I am posting here for assistance *from* the experts :) . I understand that having it deliver to itself is a silly task to attempt to undertake - my attempt was to get it to send from that IP/service.

This was simple to achieve in Exim. Re-reading the same man pages is futile, and buying a book to achieve what should be a simple goal seems like overkill.




On 7/30/2012 11:43 PM, Viktor Dukhovni wrote:
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 does "go through" mean?

My understanding is sender_dependent_default_transport_maps is what
I want here based on my research prior to emailing this list, but I
could be wrong. I don't feel like I need an O'Reily book to achieve
this.......
The main trouble with not knowing is not knowing what you don't
know.  The sender_dependent_default_transport_maps is a mechanism
in Postfix, that overrides the default transport:nexthop for outbound
mail based on the sender address.

It makes no sense to set this to an address handled by the same
Postfix MTA that received the mail, this is a loop. Thus your
understanding of how the pieces fit together is as yet insufficient
to meet your goals. A book or in-depth tutorial should in fact
be quite helpful:

    http://www.postfix.org/OVERVIEW.html
    http://www.postfix.org/ADDRESS_CLASS_README.html
    http://www.postfix.org/ADDRESS_REWRITING_README.html
    http://www.postfix.org/transport.5.html
    http://www.postfix.org/postconf.5.html#default_transport
    http://www.postfix.org/MULTI_INSTANCE_README.html



Reply via email to