Post Pic

Membuka Submission Port di Zimbra

Cara mengaktifkan submission port di zimbra. Submission port dijelaskan di RFC2476 dan RFC4409.


Caranya mudah, sunting berkas /opt/zimbra/postfix/conf/master.cf, tambahkan baris berikut:

1
2
3
4
submission inet n      -       -       -       -       smtpd
        -o smtpd_etrn_restrictions=reject
        -o smtpd_enforce_tls=yes 
        -o smtpd_sasl_auth_enable=yes

Setelah itu, restart postfix zimbra.

sudo /opt/zimbra/postfix/sbin/postfix reload

Lalu periksa, seharusnya sekarang submission port sudah siap melayani.

sudo lsof -i -n -P |grep 587
...
master     6034     root  109u  IPv4 203735864       TCP *:587 (LISTEN)

Satu Komentar

sugeng
18 October 2009

Mas Cecep

Berikut Capture port yang digunakan zimbra tanpa penutupan port :

> sudo lsof -i -n -P
COMMAND     PID   USER   FD   TYPE DEVICE SIZE NODE NAME
named      4345   bind   20u  IPv6  11270       TCP *:53 (LISTEN)
named      4345   bind   21u  IPv4  11273       TCP 127.0.0.1:53 (LISTEN)
named      4345   bind   22u  IPv4  11275       TCP 192.168.1.2:53 (LISTEN)
named      4345   bind   23u  IPv4  11278       TCP 127.0.0.1:953 (LISTEN)
named      4345   bind   24u  IPv6  11279       TCP [::1]:953 (LISTEN)
named      4345   bind  512u  IPv6  11269       UDP *:53 
named      4345   bind  513u  IPv4  11272       UDP 127.0.0.1:53 
named      4345   bind  514u  IPv4  11274       UDP 192.168.1.2:53 
named      4345   bind  515u  IPv4  11276       UDP *:41732 
named      4345   bind  516u  IPv6  11277       UDP *:44086 
sshd       4368   root    3u  IPv6  11304       TCP *:22 (LISTEN)
miniserv.  4456   root    6u  IPv4  11441       TCP *:10000 (LISTEN)
miniserv.  4456   root    7u  IPv4  11442       UDP *:10000 
slapd      4543 zimbra    7u  IPv4  11560       TCP 192.168.1.2:389 (LISTEN)
slapd      4543 zimbra   21u  IPv4  19305       TCP 192.168.1.2:389->192.168.1.2:56415 (ESTABLISHED)
slapd      4543 zimbra   23u  IPv4  20539       TCP 192.168.1.2:389->192.168.1.2:53131 (ESTABLISHED)
slapd      4543 zimbra   25u  IPv4  21111       TCP 192.168.1.2:389->192.168.1.2:53144 (ESTABLISHED)
slapd      4543 zimbra   26u  IPv4  22732       TCP 192.168.1.2:389->192.168.1.2:53168 (ESTABLISHED)
slapd      4543 zimbra   27u  IPv4  25406       TCP 192.168.1.2:389->192.168.1.2:53209 (ESTABLISHED)
slapd      4543 zimbra   28u  IPv4  26274       TCP 192.168.1.2:389->192.168.1.2:53215 (ESTABLISHED)
slapd      4543 zimbra   30u  IPv4  28304       TCP 192.168.1.2:389->192.168.1.2:53232 (ESTABLISHED)
mysqld     5034 zimbra   11u  IPv4  12146       TCP 127.0.0.1:7307 (LISTEN)
mysqld     5303 zimbra   11u  IPv4  12350       TCP 127.0.0.1:7306 (LISTEN)
mysqld     5303 zimbra   26u  IPv4  14001       TCP 127.0.0.1:7306->127.0.0.1:58167 (ESTABLISHED)
java       6194 zimbra    7u  IPv6  13322       TCP *:110 (LISTEN)
java       6194 zimbra    9u  IPv6  13327       TCP *:995 (LISTEN)
java       6194 zimbra   10u  IPv6  13328       TCP *:143 (LISTEN)
java       6194 zimbra   11u  IPv6  13329       TCP *:993 (LISTEN)
java       6194 zimbra   12u  IPv6  13330       TCP *:7025 (LISTEN)
java       6194 zimbra   13u  IPv6  13331       TCP *:80 (LISTEN)
java       6194 zimbra   14u  IPv6  13332       TCP *:7071 (LISTEN)
java       6194 zimbra   15u  IPv6  13333       TCP *:7072 (LISTEN)
java       6194 zimbra   23u  IPv6  14000       TCP 127.0.0.1:58167->127.0.0.1:7306 (ESTABLISHED)
java       6194 zimbra   92u  IPv6  14411       TCP *:7335 (LISTEN)
java       6194 zimbra   98u  IPv6  14419       TCP *:5223 (LISTEN)
java       6194 zimbra  102u  IPv6  14423       TCP *:10015 (LISTEN)
java       6194 zimbra  103u  IPv6  14424       TCP *:5269 (LISTEN)
java       6194 zimbra  104u  IPv6  14425       TCP *:5222 (LISTEN)
java       6194 zimbra  105u  IPv6  14426       TCP *:7777 (LISTEN)
amavisd    6239 zimbra    7u  IPv4  13337       TCP 127.0.0.1:10024 (LISTEN)
amavisd    6272 zimbra    7u  IPv4  13337       TCP 127.0.0.1:10024 (LISTEN)
amavisd    6272 zimbra   11u  IPv4  20538       TCP 192.168.1.2:53131->192.168.1.2:389 (ESTABLISHED)
amavisd    6273 zimbra    7u  IPv4  13337       TCP 127.0.0.1:10024 (LISTEN)
amavisd    6273 zimbra   11u  IPv4  19304       TCP 192.168.1.2:56415->192.168.1.2:389 (ESTABLISHED)
amavisd    6274 zimbra    7u  IPv4  13337       TCP 127.0.0.1:10024 (LISTEN)
amavisd    6274 zimbra   11u  IPv4  21110       TCP 192.168.1.2:53144->192.168.1.2:389 (ESTABLISHED)
amavisd    6275 zimbra    7u  IPv4  13337       TCP 127.0.0.1:10024 (LISTEN)
amavisd    6275 zimbra   11u  IPv4  22731       TCP 192.168.1.2:53168->192.168.1.2:389 (ESTABLISHED)
amavisd    6276 zimbra    7u  IPv4  13337       TCP 127.0.0.1:10024 (LISTEN)
amavisd    6276 zimbra   11u  IPv4  25405       TCP 192.168.1.2:53209->192.168.1.2:389 (ESTABLISHED)
amavisd    6277 zimbra    7u  IPv4  13337       TCP 127.0.0.1:10024 (LISTEN)
amavisd    6277 zimbra   11u  IPv4  26268       TCP 192.168.1.2:53215->192.168.1.2:389 (ESTABLISHED)
amavisd    6278 zimbra    7u  IPv4  13337       TCP 127.0.0.1:10024 (LISTEN)
amavisd    6278 zimbra   11u  IPv4  28303       TCP 192.168.1.2:53232->192.168.1.2:389 (ESTABLISHED)
amavisd    6279 zimbra    7u  IPv4  13337       TCP 127.0.0.1:10024 (LISTEN)
amavisd    6280 zimbra    7u  IPv4  13337       TCP 127.0.0.1:10024 (LISTEN)
amavisd    6281 zimbra    7u  IPv4  13337       TCP 127.0.0.1:10024 (LISTEN)
clamd      6282 zimbra    5u  IPv4  13435       TCP *:3310 (LISTEN)
httpd      6301 zimbra    3u  IPv4  13496       TCP *:7780 (LISTEN)
httpd      6321 zimbra    3u  IPv4  13496       TCP *:7780 (LISTEN)
httpd      6322 zimbra    3u  IPv4  13496       TCP *:7780 (LISTEN)
httpd      6323 zimbra    3u  IPv4  13496       TCP *:7780 (LISTEN)
httpd      6324 zimbra    3u  IPv4  13496       TCP *:7780 (LISTEN)
httpd      6325 zimbra    3u  IPv4  13496       TCP *:7780 (LISTEN)
master     6826   root   11u  IPv4  14169       TCP *:25 (LISTEN)
master     6826   root   15u  IPv4  14174       TCP *:465 (LISTEN)
master     6826   root  102u  IPv4  14291       TCP 127.0.0.1:10025 (LISTEN)
miniserv. 23264   root   10u  IPv4  42673       TCP 192.168.1.2:10000->125.160.44.83:55456 (ESTABLISHED)
> sudo lsof -i -n -P
COMMAND     PID   USER   FD   TYPE DEVICE SIZE NODE NAME
named      4345   bind   20u  IPv6  11270       TCP *:53 (LISTEN)
named      4345   bind   21u  IPv4  11273       TCP 127.0.0.1:53 (LISTEN)
named      4345   bind   22u  IPv4  11275       TCP 192.168.1.2:53 (LISTEN)
named      4345   bind   23u  IPv4  11278       TCP 127.0.0.1:953 (LISTEN)
named      4345   bind   24u  IPv6  11279       TCP [::1]:953 (LISTEN)
named      4345   bind  512u  IPv6  11269       UDP *:53 
named      4345   bind  513u  IPv4  11272       UDP 127.0.0.1:53 
named      4345   bind  514u  IPv4  11274       UDP 192.168.1.2:53 
named      4345   bind  515u  IPv4  11276       UDP *:41732 
named      4345   bind  516u  IPv6  11277       UDP *:44086 
sshd       4368   root    3u  IPv6  11304       TCP *:22 (LISTEN)
miniserv.  4456   root    6u  IPv4  11441       TCP *:10000 (LISTEN)
miniserv.  4456   root    7u  IPv4  11442       UDP *:10000 
slapd      4543 zimbra    7u  IPv4  11560       TCP 192.168.1.2:389 (LISTEN)
slapd      4543 zimbra   21u  IPv4  19305       TCP 192.168.1.2:389->192.168.1.2:56415 (ESTABLISHED)
slapd      4543 zimbra   23u  IPv4  20539       TCP 192.168.1.2:389->192.168.1.2:53131 (ESTABLISHED)
slapd      4543 zimbra   25u  IPv4  21111       TCP 192.168.1.2:389->192.168.1.2:53144 (ESTABLISHED)
slapd      4543 zimbra   26u  IPv4  22732       TCP 192.168.1.2:389->192.168.1.2:53168 (ESTABLISHED)
slapd      4543 zimbra   27u  IPv4  25406       TCP 192.168.1.2:389->192.168.1.2:53209 (ESTABLISHED)
slapd      4543 zimbra   28u  IPv4  26274       TCP 192.168.1.2:389->192.168.1.2:53215 (ESTABLISHED)
slapd      4543 zimbra   30u  IPv4  28304       TCP 192.168.1.2:389->192.168.1.2:53232 (ESTABLISHED)
mysqld     5034 zimbra   11u  IPv4  12146       TCP 127.0.0.1:7307 (LISTEN)
mysqld     5303 zimbra   11u  IPv4  12350       TCP 127.0.0.1:7306 (LISTEN)
mysqld     5303 zimbra   26u  IPv4  14001       TCP 127.0.0.1:7306->127.0.0.1:58167 (ESTABLISHED)
java       6194 zimbra    7u  IPv6  13322       TCP *:110 (LISTEN)
java       6194 zimbra    9u  IPv6  13327       TCP *:995 (LISTEN)
java       6194 zimbra   10u  IPv6  13328       TCP *:143 (LISTEN)
java       6194 zimbra   11u  IPv6  13329       TCP *:993 (LISTEN)
java       6194 zimbra   12u  IPv6  13330       TCP *:7025 (LISTEN)
java       6194 zimbra   13u  IPv6  13331       TCP *:80 (LISTEN)
java       6194 zimbra   14u  IPv6  13332       TCP *:7071 (LISTEN)
java       6194 zimbra   15u  IPv6  13333       TCP *:7072 (LISTEN)
java       6194 zimbra   23u  IPv6  14000       TCP 127.0.0.1:58167->127.0.0.1:7306 (ESTABLISHED)
java       6194 zimbra   92u  IPv6  14411       TCP *:7335 (LISTEN)
java       6194 zimbra   98u  IPv6  14419       TCP *:5223 (LISTEN)
java       6194 zimbra  102u  IPv6  14423       TCP *:10015 (LISTEN)
java       6194 zimbra  103u  IPv6  14424       TCP *:5269 (LISTEN)
java       6194 zimbra  104u  IPv6  14425       TCP *:5222 (LISTEN)
java       6194 zimbra  105u  IPv6  14426       TCP *:7777 (LISTEN)
amavisd    6239 zimbra    7u  IPv4  13337       TCP 127.0.0.1:10024 (LISTEN)
amavisd    6272 zimbra    7u  IPv4  13337       TCP 127.0.0.1:10024 (LISTEN)
amavisd    6272 zimbra   11u  IPv4  20538       TCP 192.168.1.2:53131->192.168.1.2:389 (ESTABLISHED)
amavisd    6273 zimbra    7u  IPv4  13337       TCP 127.0.0.1:10024 (LISTEN)
amavisd    6273 zimbra   11u  IPv4  19304       TCP 192.168.1.2:56415->192.168.1.2:389 (ESTABLISHED)
amavisd    6274 zimbra    7u  IPv4  13337       TCP 127.0.0.1:10024 (LISTEN)
amavisd    6274 zimbra   11u  IPv4  21110       TCP 192.168.1.2:53144->192.168.1.2:389 (ESTABLISHED)
amavisd    6275 zimbra    7u  IPv4  13337       TCP 127.0.0.1:10024 (LISTEN)
amavisd    6275 zimbra   11u  IPv4  22731       TCP 192.168.1.2:53168->192.168.1.2:389 (ESTABLISHED)
amavisd    6276 zimbra    7u  IPv4  13337       TCP 127.0.0.1:10024 (LISTEN)
amavisd    6276 zimbra   11u  IPv4  25405       TCP 192.168.1.2:53209->192.168.1.2:389 (ESTABLISHED)
amavisd    6277 zimbra    7u  IPv4  13337       TCP 127.0.0.1:10024 (LISTEN)
amavisd    6277 zimbra   11u  IPv4  26268       TCP 192.168.1.2:53215->192.168.1.2:389 (ESTABLISHED)
amavisd    6278 zimbra    7u  IPv4  13337       TCP 127.0.0.1:10024 (LISTEN)
amavisd    6278 zimbra   11u  IPv4  28303       TCP 192.168.1.2:53232->192.168.1.2:389 (ESTABLISHED)
amavisd    6279 zimbra    7u  IPv4  13337       TCP 127.0.0.1:10024 (LISTEN)
amavisd    6280 zimbra    7u  IPv4  13337       TCP 127.0.0.1:10024 (LISTEN)
amavisd    6281 zimbra    7u  IPv4  13337       TCP 127.0.0.1:10024 (LISTEN)
clamd      6282 zimbra    5u  IPv4  13435       TCP *:3310 (LISTEN)
httpd      6301 zimbra    3u  IPv4  13496       TCP *:7780 (LISTEN)
httpd      6321 zimbra    3u  IPv4  13496       TCP *:7780 (LISTEN)
httpd      6322 zimbra    3u  IPv4  13496       TCP *:7780 (LISTEN)
httpd      6323 zimbra    3u  IPv4  13496       TCP *:7780 (LISTEN)
httpd      6324 zimbra    3u  IPv4  13496       TCP *:7780 (LISTEN)
httpd      6325 zimbra    3u  IPv4  13496       TCP *:7780 (LISTEN)
master     6826   root   11u  IPv4  14169       TCP *:25 (LISTEN)
master     6826   root   15u  IPv4  14174       TCP *:465 (LISTEN)
master     6826   root  102u  IPv4  14291       TCP 127.0.0.1:10025 (LISTEN)
miniserv. 23285   root   10u  IPv4  42812       TCP 192.168.1.2:10000->125.160.44.83:55460 (ESTABLISHED)

yang menjadi pertanyaan saya adalah :
pada saat saya menggunakan ufw firewall, dan hanya port yang terbuka sesuai dengan saran zimbra, akan muncul error pada saat membuka zimbraadmin di queque report dengan pesan port tidak terbuka.
Apakah saya harus membuka port sesuai dengan hasil capture diatas?

Rgdz
SA