Hi,
I want to restrict the maximum size of emails to be accepted by my Scalix server. I have created a rule file called "MAX-SIZE" in /var/opt/scalix/rules/ with the following content:
SIZE=10240 ACTION=REJECT NDN-INFO="Message too large, maximum is 10 MB"
then, I executed these commands
ommodrt -m <mailnode name> -d MAX-SIZE
omshut
omrc
My server now accepts only mails that are smaller than 10 Megs, so far so good I thought, but it seems to accept the mail first and then places it back in the inbox of the user. His/her mailclient will download that mail again, adding to the bandwith used.
What do I need to do so that the mail is rejected at SMTP stage, so that the mail won't be moved to the users INBOX?