> On Sep 26, 2019, at 2:24 AM, feier8097 <ad...@scweixiao.net> wrote:
> 
> thanks for your help. But I want to change "bounce" to "discard".

You DO NOT want to change the master.cf entry.

> Because
> When user sent mail to accunt without exist on the server. The postfix
> system will return back an email with  subject "Undelivered Mail Returned to
> Sender" Automatic.

Don't accept messages to invalid recipients, implement recipient validation.
Then you can run a properly working MTA, that does not (attempt to) throw
away legitimate bounce messages.

> But I don't want it send this message.

That's solving the wrong problem, instead reject mail to non-existent
recipients before it enters your queue.

> So I searched
> google and found just set "bounce unix - - n - 0 bounce" to "bounce unix - -
> n - 0 discard" can solve this problem.

The ignoramus who suggested that solution must be ignored.
There's plenty of bad advice on the Internet.

> I've check it being Correct.

It is not.

> And I have mounts of multi-instances, I want to change the parameter by like
> "postconf ... ..." or something else,But not by "vi -c /etc/postfix...".

Postfix supports programmatic changes to main.cf and master.cf,
but first you have to know what you're doing.  Cargo-culting a
misguided how-to will not solve your problem...

-- 
        Viktor.

Reply via email to