From: Patrick Ben Koetter on
When a message reenters from an instance that uses XFORWARD, for example
amavis, will Postfix count the IP used twice and, for example,
add that to smtpd_client_recipient_rate_limit?

p(a)rick


--
All technical questions asked privately will be automatically answered on the
list and archived for public access unless privacy is explicitely required and
justified.

saslfinger (debugging SMTP AUTH):
<http://postfix.state-of-mind.de/patrick.koetter/saslfinger/>

From: Wietse Venema on
Patrick Ben Koetter:
> When a message reenters from an instance that uses XFORWARD, for example
> amavis, will Postfix count the IP used twice and, for example,
> add that to smtpd_client_recipient_rate_limit?

Rate limits apply to the real client IP address not the forwarded one,
subject to $smtpd_client_event_limit_exceptions.

Wietse

From: Wietse Venema on
Stefan Foerster:
> * Wietse Venema <wietse(a)porcupine.org>:
> > Patrick Ben Koetter:
> > > When a message reenters from an instance that uses XFORWARD, for example
> > > amavis, will Postfix count the IP used twice and, for example,
> > > add that to smtpd_client_recipient_rate_limit?
> >
> > Rate limits apply to the real client IP address not the forwarded one,
> > subject to $smtpd_client_event_limit_exceptions.
>
> Does the same apply to XCLIENT?

It does not apply to clients can send XCLIENT, but it should
apply to the clients that are being impersonated with XCLIENT.

Once a client is impersonated, the smtpd_authorized_xclient_hosts
setting is re-evaluated, and the session runs as if the client
just connected (except that an already negotiated TLS session
is kept).

Wietse