Omar Eljumaily:
> Thanks Wietse. Adding the rule on the 1st line makes it work.
>
> Just to make sure, I'm assuming that returning only a header
> addition neither accepts or rejects, so I'm not creating an open
> relay.
The prepend action makes no "accept/reject" decision.
If you always want to prepend a fixed text, Postfix 3.0 or later
can do that with built-in features:
/etc/postfix/main.cf:
smtpd_mumble_restrictions =
check_mumble_access static:{prepend Header-Name: header-value}
...
(for any known value of "mumble").
If the header value depends on sender, recipient, etc., you
can use a PCRE table instead (see "man 5 pcre_table").
Wietse