Discussion:
Postfix - matching an envelope attribute
(too old to reply)
f***@gmail.com
2020-04-14 11:30:40 UTC
Permalink
Hi everyone, I'm using postfix as a relay for multiple email servers.
I can't figure out if postfix can match an envelope attribute then execute an action(DISCARD, HOLD, WARN,...), like it does with header and body lines.
Does anyone knows if that is possible ?
Victor d'Agostino
2020-04-16 06:04:26 UTC
Permalink
Post by f***@gmail.com
Hi everyone, I'm using postfix as a relay for multiple email servers.
I can't figure out if postfix can match an envelope attribute then execute an action(DISCARD, HOLD, WARN,...), like it does with header and body lines.
Does anyone knows if that is possible ?
Hello

Yes with smtpd_sender_restrictions
and also postscreen
http://www.postfix.org/POSTSCREEN_README.html

Regards
Victor d'Agostino
f***@gmail.com
2020-04-17 18:14:07 UTC
Permalink
Yes, it works, thank you

Loading...