On 11/24/2014 8:03 AM, Wietse Venema wrote:
Darren Pilgrim:
On 11/23/2014 8:42 PM, Peter wrote:
On 11/24/2014 02:25 PM, Darren Pilgrim wrote:
You can't use policy services with the smtp client, only the smtp server.

Weitse's proposal to use tcp tables is probably a better approach
anyways, but you can use a policy daemon and route from smtpd.  The
point is you're routing *from* smtpd to a specific smtp transport.

Nexthop transport isn't determined until after smtpd hands off the
message to cleanup.

Under very limited conditions, an SMTPD access table or policy
server can specify a filter action like this:

     FILTER ipv4-only-transport:

This will send mail over the ipv4-only-transport to the SMTP
destination host.

Yes, if you can ensure you never recieve any email with multiple recipients. You could receive by one instance, then relay to a second instance via an transport that sets the recipient limit to 1. That second instance could then use the FILTER directive reliabily. IMO that's even more kludgy than using a socketmap daemon with transport maps, though.

Reply via email to