question

BashCZ avatar image
0 Votes"
BashCZ asked BashCZ answered

Disable incoming email to mailbox

Hi,

i need to find a solution how to temporaily disable email delivery (account created by HR should can be inactive for days).

I cannot change PrimarySMTP. I can set MaxReceiveSize to 0, but it will send incorrect NDR. I think i can override it by Custom NDR, but it will also affect messages with exceeded quota as well?

If there is a solution, where emails send to these mailboxes, where MaxReceiveSize = 0 will reply with NDR "user unknown or something" .. but others (16MB email when limit is 15MB) will reply with correct MessageSizeExceeded NDR?

Another way: put these accounts to some AD group and create mailflow rule to reject messages sent to members of this group ...

Whats best practice?

office-exchange-server-mailflow
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AndyDavid avatar image
0 Votes"
AndyDavid answered joyceshen-MSFT commented

I would create a mail flow rule. Thats much easier to manage and maintain. You can customize the reject message as well.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Agree with the suggestion above, for more information about configuring the transport rule referring to this: Mail flow rules in Exchange Server


0 Votes 0 ·
BashCZ avatar image
0 Votes"
BashCZ answered

We choose mailflow rule against distributiongroup members .. will see how its goin to work

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.