Wednesday, April 8, 2015

"451 Temporary local problem" dan "timed out while sending end of data"

wihartoyo wihartoyo     Wednesday, April 08, 2015     No comments

Sungguh banyak sekali yang harus disesuaikan ketika menginstall Zimbra. Hari ini, aku lihat banyak sekali deferred mail. Yang bikin mangkel itu, deferred nya cuma ke salah satu domain. Gak semuanya. Repot gak tuh!
Tapi pikir-pikir, ini Indonesia broer! Masih belum semua daerah punya kualitas koneksi yang sama. Apalagi sama dengan Jakarta Ha-ha ha-ha ha-ha ha-ha!

Ok, pertama kita tengok lognya!


Apr 8 08:43:37 mail postfix/smtp[11766]: E785E6052DDF2: to=<akun@namadomain.ko.id>, relay=namadomain.ko.id[212.121.212.121]:25, delay=643, delays=474/88/40/40, dsn=4.0.0, status=deferred (host namadomain.ko.id[212.121.212.121] said: 451 Temporary local problem - please try later (in reply to RCPT TO command))
Apr 8 08:43:37 mail postfix/smtp[5578]: EB1B76052DDF3: to=<akun@namadomain.ko.id>, relay=namadomain.ko.id[212.121.212.121]:25, delay=643, delays=474/88/40/40, dsn=4.0.0, status=deferred (host namadomain.ko.id[212.121.212.121] said: 451 Temporary local problem - please try later (in reply to RCPT TO command))
Apr 8 08:43:37 mail postfix/smtp[31256]: E0A266052DDF0: to=<akun@namadomain.ko.id>, relay=namadomain.ko.id[212.121.212.121]:25, delay=643, delays=474/88/40/40, dsn=4.0.0, status=deferred (host namadomain.ko.id[212.121.212.121] said: 451 Temporary local problem - please try later (in reply to RCPT TO command))
Apr 8 08:43:37 mail postfix/smtp[31257]: ED2FD6052DDF4: to=<akun@namadomain.ko.id>, relay=namadomain.ko.id[212.121.212.121]:25, delay=643, delays=474/88/40/40, dsn=4.0.0, status=deferred (host namadomain.ko.id[212.121.212.121] said: 451 Temporary local problem - please try later (in reply to RCPT TO command))


Ada beberapa isu terkait dengan error ini. Isu pertama adalah tentang permission. Pada beberapa system mail ini bisa diselesaikan dengan mengedit properties pada clamd. Oke kalo begitu kita edit clamd.conf


[zimbra@mail:~]$cd clamav/etc/ [enter]
[zimbra@mail etc]$vi clamd.conf[enter]


Setelah teksya terbuka, cari LocalSocket dan hapus karakter "#" untuk uncomment.


# Path to a local socket file the daemon will listen on.
# Default: disabled (must be specified by a user)
# LocalSocket /tmp/clamd.socket

# Sets the group ownership on the unix socket.
# Default: disabled (the primary group of the user running clamd)
#LocalSocketGroup virusgroup


Kemudian pastiin zimbraMtaMyHostname benar telah berisi mail server kita. Misal "mail.namadomain.ko.id"


[zimbra@mail:~]$zmprov gcf zimbraMtaMyHostname[enter]
---pastikan nilanya adalah seperti berikut:
zimbraMtaMyHostname: mail.namadomain.ko.id
---bila tidak, maka jalankan perintah ini:
[zimbra@mail:~]$zmprov gcf zimbraMtaMyHostname mail.namadomain.ko.id[enter]
[zimbra@mail:~]$zmmtactl restart[enter]


Kemudian kita "requeue" message yang deferred. Gunakan web UI saja biar gampang.
Tapi, yak.. yap......
Ah... masih nampilin error.


Apr 8 10:01:23 mail postfix/error[22855]: 6007C6052DDEE: to=<akun@namadomain.ko.id>, relay=none, delay=0.08, delays=0.06/0.01/0/0.01, dsn=4.4.2, status=deferred (delivery temporarily suspended: conversation with namadomain.ko.id[212.121.212.121] timed out while sending end of data -- message may be sent more than once)
Apr 8 10:01:23 mail postfix/error[22855]: 6007C6052DDEE: to=<akun2@namadomain.ko.id>, relay=none, delay=0.08, delays=0.06/0.01/0/0.02, dsn=4.4.2, status=deferred (delivery temporarily suspended: conversation with namadomain.ko.id[212.121.212.121] timed out while sending end of data -- message may be sent more than once)
Apr 8 10:01:23 mail postfix/error[22855]: 6007C6052DDEE: to=<akunkun@namadomain.ko.id>, relay=none, delay=0.09, delays=0.06/0.01/0/0.02, dsn=4.4.2, status=deferred (delivery temporarily suspended: conversation with namadomain.ko.id[212.121.212.121] timed out while sending end of data -- message may be sent more than once)
Apr 8 10:01:23 mail postfix/error[22855]: 6007C6052DDEE: to=<akun3@namadomain.ko.id>, relay=none, delay=0.1, delays=0.06/0.01/0/0.03, dsn=4.4.2, status=deferred (delivery temporarily suspended: conversation with namadomain.ko.id[212.121.212.121] timed out while sending end of data -- message may be sent more than once)


Beda lagi ternyata error nya.
Ok, baiklah. Ternyata perjuangan kita belum selesai. Sekarang silakan buka file /opt/zimbra/postfix/conf/main.cf


[zimbra@mail:~]$vi /opt/zimbra/postfix/conf/main.cf[enter]


Setelah terbuka, langsung menuju ke bawah dengan mengetik ":$[enter]" (menuju ke baris paling bawah)

.
.
virtual_transport = error
sender_canonical_maps = proxy:ldap:/opt/zimbra/conf/ldap-scm.cf
always_add_missing_headers = yes
lmtp_connection_cache_time_limit = 4s
smtpd_tls_exclude_ciphers =
smtp_use_tls = no
smtp_data_done_timeout = 600s
smtp_data_init_timeout = 120s
smtp_data_xfer_timeout = 900s

Simpan dan keluar.
Perhatikan "smtp_data_xfer_timeout" adalah nilai yang sangat menentukan. Semakin besar semakin baik. Dan untuk kasus saya, saya menggunakan 900s.
Terakhir, restart mta.


[zimbra@mail:~]$zmmtactl restart[enter]


Lakukan requeue untuk semua yang deferred. Seharusnya, masalah selesai.

, , ,

0 komentar :

Berita PostgreSQL

Recommended