Greg Sims:
> I did not get this solution started in the proper direction -- sorry.
> I believe the following solution is closer:
> 
> main.cf:
> 
> sender_dependent_relayhost_maps = regexp:/etc/postfix/sender_relay.regexp
> 
> sender_relay.regexp:
> 
> /@raystedman\.org$/      [smtp-relay.gmail.com]
> 
> This should relay email where the from email address contains the
> domain @raystedman.org to smtp-relay.gmail.com.  I need this relay to
> use a specific ip address to separate bulk and transactional email
> onto different ip addresses.  How can I accomplish this?

main.cf:
    sender_dependent_default_transport_maps = hash:/etc/postfix/sender_relay

sender_relay:
    @raystedman.org     smtp-raystedman:[smtp-relay.gmail.com]

master.cf:
    smtp-raystedman unix .. .. .. .. .. smtp
        o { sntp_bind_address = x.x.x.x }

        Wietse

Reply via email to