Hi one more time. I am also have question about mail limits.
i have now in smtpserver.xml <smtpservers> <smtpserver enabled="true"> <jmxName>smtpserver-global</jmxName> <bind>0.0.0.0:25</bind> <helloName autodetect="false">mail.kps-t.ru</helloName> <heloEnforcement>true</heloEnforcement> <connectionBacklog>200</connectionBacklog> <tls socketTLS="false" startTLS="true"> <privateKey>file://../cert/mail.kps-t.ru-key.pem</privateKey> <certificates>file://../cert/mail.kps-t.ru-chain.pem</certificates> </tls> <connectiontimeout>360</connectiontimeout> <connectionLimit>0</connectionLimit> <connectionLimitPerIP>0</connectionLimitPerIP> <auth> <announce>never</announce> <requireSSL>false</requireSSL> <plainAuthEnabled>false</plainAuthEnabled> </auth> <authorizedAddresses>127.0.0.0/8</authorizedAddresses> <verifyIdentity>false</verifyIdentity> <maxmessagesize>52428800</maxmessagesize> <addressBracketsEnforcement>true</addressBracketsEnforcement> <smtpGreeting>mail.kps-t.ru</smtpGreeting> <handlerchain> <handler class="org.apache.james.smtpserver.fastfail.ValidRcptHandler"/> <handler class="org.apache.james.smtpserver.CoreCmdHandlerLoader"/> </handlerchain> </smtpserver> <smtpserver enabled="true"> <jmxName>smtpserver-TLS</jmxName> <bind>0.0.0.0:465</bind> <helloName autodetect="false">mail.kps-t.ru</helloName> <connectionBacklog>200</connectionBacklog> <tls socketTLS="true" startTLS="false"> <privateKey>file://../cert/mail.kps-t.ru-key.pem</privateKey> <certificates>file://../cert/mail.kps-t.ru-chain.pem</certificates> </tls> <connectiontimeout>360</connectiontimeout> <connectionLimit>0</connectionLimit> <connectionLimitPerIP>0</connectionLimitPerIP> <auth> <announce>always</announce> <requireSSL>true</requireSSL> <plainAuthEnabled>true</plainAuthEnabled> </auth> <authorizedAddresses>127.0.0.0/8</authorizedAddresses> <verifyIdentity>true</verifyIdentity> <maxmessagesize>52428800</maxmessagesize> <addressBracketsEnforcement>true</addressBracketsEnforcement> <smtpGreeting>mail.kps-t.ru</smtpGreeting> <handlerchain> <handler class="org.apache.james.smtpserver.fastfail.ValidRcptHandler"/> <handler class="org.apache.james.smtpserver.CoreCmdHandlerLoader"/> </handlerchain> </smtpserver> <smtpserver enabled="true"> <jmxName>smtpserver-authenticated</jmxName> <bind>0.0.0.0:587</bind> <helloName autodetect="false">mail.kps-t.ru</helloName> <connectionBacklog>200</connectionBacklog> <tls socketTLS="false" startTLS="true"> <privateKey>file://../cert/mail.kps-t.ru-key.pem</privateKey> <certificates>file://../cert/mail.kps-t.ru-chain.pem</certificates> </tls> <connectiontimeout>360</connectiontimeout> <connectionLimit>0</connectionLimit> <connectionLimitPerIP>0</connectionLimitPerIP> <auth> <announce>always</announce> <requireSSL>true</requireSSL> <plainAuthEnabled>true</plainAuthEnabled> </auth> <authorizedAddresses>127.0.0.0/8</authorizedAddresses> <verifyIdentity>true</verifyIdentity> <maxmessagesize>52428800</maxmessagesize> <addressBracketsEnforcement>true</addressBracketsEnforcement> <smtpGreeting>mail.kps-t.ru</smtpGreeting> <handlerchain> <handler class="org.apache.james.smtpserver.fastfail.ValidRcptHandler"/> <handler class="org.apache.james.smtpserver.CoreCmdHandlerLoader"/> </handlerchain> </smtpserver> </smtpservers> yeah i get it thats <maxmessagesize>52428800</maxmessagesize> but dont get its KB or just Bytes? so its 50MB or 50 GB? :) and its right place for edit? also is here i set SMTP on 25 port 50 MB for outside mail delivery and for others 465 and 587 for examle 150 MB for local network will it work?