Well.. I should have checked but assumed the action statements are similar
whether its  transport or access.. obviously that does not seem to be the
case.

*Mail is either accepted or rejected (the sender is  **told which) *- this
is my I wished or made up silent with reject. I don't want sender to know
about the rejects.

I guess I am going to go with below which will silently drop the email and
wont notify the sender.

check_recipient_access inline:{{nore...@example.com = discard}}

On Thu, Feb 13, 2020 at 3:43 PM Viktor Dukhovni <postfix-us...@dukhovni.org>
wrote:

> On Thu, Feb 13, 2020 at 03:33:42PM -0500, Linux Addict wrote:
>
> > I have no reason to use DISCARD. I also dont want sender to receive
> > anything back. Is reject silently is an option?
> >
> > /^From:.?(no|No)(reply|-reply)@.*/ REJECT:silently
>
> First of all, as you've already been told, header checks are entirely
> the wrong tool for this.  You need to use either access(5) restrictions
> or else rewriting to an address which is dropped on delivery.
>
> You're also randomly making up syntax.  The "discard:silently" example
> was transport table example and only makes sense in that context.
>
> Lastly, and sadly, you may need better command of English to get help on
> this list.  There's no such thing as a silent "REJECT", that's a
> contradiction.  Mail is either accepted or rejected (the sender is
> told which), delivered or discarded (after the message is accepted).
>
> --
>     Viktor.
>

Reply via email to