Am 16.01.2014 14:28, schrieb Premjith R: > Hello Postfix User List, > > MX record for our domain points to dyndns.com, where upto 50 MB messages are > received. From dyndns setup is to push > mails to a zimbra (postfix) server inside the corporate firewall, where in > message limit is set to 5MB. > > When incoming messages are more than 5MB, we are expecting some kind of > notification - it can be bounce > notification, email to admin or logging of such actions. Can you help, how to > setup this? Or where in postfix logs > can we look for error notifications? > > Thanks alot for your time, and I hope i've asked the question correctly
you need to fix this do *not* allow larger messages on the MX than on the final destination do *not* accept messages at all on the MX you reject on the final destination the sender get a bounce simply because how email works * MX accepts the message * MX put the message in his queue * MX try to deliver the message * final destination rejects the message * since the MX has accepted it he can't do anything than bounce