From: Noel Jones on
On 6/10/2010 12:07 PM, Shameem Ahamed wrote:
> So, is there any way to send mail using a different IP, other than running a separate postfix instance.
>
> Regrads,
> Shameem


Please don't top post.

With postfix 2.7 you can select outgoing IP via the FILTER
command. From the 2.7 RELEASE_NOTES:

[Feature 20100117] The FILTER action in access maps or
header/body_checks
now supports sender reputation schemes that dynamically choose the
SMTP source IP address. Typically, mail is split into classes, and
all mail in class X is sent out from an SMTP client IP address
that
is reserved for class X.

This is implemented by specifying FILTER actions with empty
next-hop
destinations in access maps or header/body_checks, and by
configuring
in master.cf one Postfix SMTP client for each SMTP source IP
address,
where each client has its own "-o myhostname" and "-o
smtp_bind_address"
settings.


This feature requires postfix 2.7 or later.



-- Noel Jones