Greetings to all,
In our faculty, we use SME Server 7.5.1 as Mail Server (server-only mode). The deal is I am asked  to open port 24 (lmtp) as requested; but I couldn't succeed (although I tried several things)
- Firstly I tried the commands :
config set lmtp service access public status enabled TCPPort 24
signal-event remoteaccess-update 
after that I tried the command : 
nc -v -w 1  localhost -z 1-1500 [search the open ports between 1 and 1500] and got the result :
localhost [127.0.0.1] 995 (pop3s) open
localhost [127.0.0.1] 993 (imaps) open
localhost [127.0.0.1] 980 (http-admin) open
localhost [127.0.0.1] 548 (afpovertcp) open
localhost [127.0.0.1] 515 (printer) open
localhost [127.0.0.1] 465 (smtps) open
localhost [127.0.0.1] 443 (https) open
localhost [127.0.0.1] 389 (ldap) open
localhost [127.0.0.1] 143 (imap) open
localhost [127.0.0.1] 139 (netbios-ssn) open
localhost [127.0.0.1] 110 (pop3) open
localhost [127.0.0.1] 80 (http) open
localhost [127.0.0.1] 25 (smtp) open
localhost [127.0.0.1] 22 (ssh) open
localhost [127.0.0.1] 21 (ftp) open
after that I stopped and started the masq service : 
/etc/init.d/masq stop
/etc/init.d/masq start [again no change]
Finally I created a custom-template named 41AllowLMTP in /etc/e-smith/templates/etc/rc.d/init.d/masq
{
           $OUT .= <<'HERE';
    /sbin/iptables --append INPUT -p tcp --dport 24 -i $OUTERIF -j ACCEPT
HERE
}
and finish it with
expand-template /etc/rc.d/init.d/masq
signal-event remoteaccess-update
service masq restart
iptables -L
Chain InboundTCP_7461 (1 references)
target     prot opt source               destination
denylog    all  --  anywhere            !wsd.webserver.deneme.local
REJECT     tcp  --  anywhere             wsd.webserver.deneme.local tcp dpt:auth reject-with tcp-reset
ACCEPT     tcp  --  anywhere             wsd.webserver.deneme.local tcp dpt:ftp
ACCEPT     tcp  --  anywhere             wsd.webserver.deneme.local tcp dpt:http
ACCEPT     tcp  --  anywhere             wsd.webserver.deneme.local tcp dpt:lmtp
ACCEPT     tcp  --  anywhere             wsd.webserver.deneme.local tcp dpt:https
ACCEPT     tcp  --  anywhere             wsd.webserver.deneme.local tcp dpt:1723
ACCEPT     tcp  --  anywhere             wsd.webserver.deneme.local tcp dpt:smtp
ACCEPT     tcp  --  anywhere             wsd.webserver.deneme.local tcp dpt:ssh
ACCEPT     tcp  --  anywhere             wsd.webserver.deneme.local tcp dpt:smtps
Still I couldn't open the port 24 although I see on iptables listing and netcat port results.
May I ask your assistance on that issue?
Regards,
Alper Akoguz