On 10/25/2010 08:30 PM, Victor Duchovni wrote:
On Mon, Oct 25, 2010 at 02:25:32PM -0400, Zhou, Yan wrote:
Can you elaborate how different smtpd can have different transport
settings? I won't want to create my own SMTPD process.
The following won't work, because the "transport" cannot dist
To send mail to a script depending on the arriving SMTP port:
/etc/postfix/master.cf:
1.2.3.4:smtp inet n - n - - smtpd
-o content_filter=script_for_1_2_3_4:
script_for_1_2_3_4 unix - n n - - pipe
flags=
On Mon, Oct 25, 2010 at 02:25:32PM -0400, Zhou, Yan wrote:
> Can you elaborate how different smtpd can have different transport
> settings? I won't want to create my own SMTPD process.
>
> The following won't work, because the "transport" cannot distinguish IP
> address. I tried this but does no
Can you elaborate how different smtpd can have different transport
settings? I won't want to create my own SMTPD process.
The following won't work, because the "transport" cannot distinguish IP
address. I tried this but does not work. I wonder if only smtp process
can vary based on different IP.
Zhou, Yan:
> Hi there,
>
> How can I have one single Postfix instance routing messages differently,
> depends on which IP address they are arriving at SMTP.
>
> If an outside connection arrives, Postfix will deliver message to my
> customized transport, which calls a script and passes the messa
On 10/25/2010 07:43 PM, Zhou, Yan wrote:
Hi there,
How can I have one single Postfix instance routing messages differently,
depends on which IP address they are arriving at SMTP.
By making postfix listen with separate smtpd listeners on those IPs.
Those instances can then have different tr
Hi there,
How can I have one single Postfix instance routing messages differently,
depends on which IP address they are arriving at SMTP.
If an outside connection arrives, Postfix will deliver message to my
customized transport, which calls a script and passes the message.
If an internal connec