Masalah pada postfix, dovecot di mail server

Diskusi tentang Ubuntu Server baik webserver, database server, samba server dan service lainnya serta jaringan menggunakan Sistem Operasi Ubuntu.
Post Reply
User avatar
caredox
Posts: 110
Joined: 21 Jun 2010, 09:18

Masalah pada postfix, dovecot di mail server

Post by caredox » 29 Feb 2012, 15:52

nyoba buat mail server gunain postfix,dovecot dan squirrel,,
uda tak kasih domain, (domain yang lama dipindahin ke web server sekarang,yang didalamnya ada mail server tersbut).

uda tak coba kirim+trima email baik sesama user di postfix dan email ke luar gmail+yahoo,,,bisa terkirim+diterima tapi prosesnya lama..malah terkadang ga masuk..

[[help]]


User avatar
caredox
Posts: 110
Joined: 21 Jun 2010, 09:18

Post by caredox » 29 Feb 2012, 16:07

cuplikan
mail.log
=======================
Feb 29 15:26:22 caredox postfix/smtp[10220]: 847A35200A3: to=, relay=none, delay=20, delays=0.45/0.01/20/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=yahoo.com type=MX: Host not found, try again)

=======================


User avatar
caredox
Posts: 110
Joined: 21 Jun 2010, 09:18

Post by caredox » 29 Feb 2012, 16:45

tak coba => dig gmail.com MX:

; > DiG 9.7.0-P1 > gmail.com MX:
;; global options: +cmd
;; Got answer:
;; ->>HEADER>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 18531
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;MX:. IN A

;; AUTHORITY SECTION:
. 10739 IN SOA a.root-servers.net. nstld.verisign-grs.com. 2012022900 1800 900 604800 86400

;; Query time: 0 msec
;; SERVER: 110.9.65.11#53(119.2.69.51)
;; WHEN: Wed Feb 29 16:57:21 2012
;; MSG SIZE rcvd: 96


User avatar
santenkelapa
Posts: 182
Joined: 29 Jan 2012, 03:47
Location: pondok labu
Contact:

Post by santenkelapa » 29 Feb 2012, 16:52

nampaknya bandwith internasionalnya parah kali ya ..pas jam sibuk time out terputus (sama nasibnya dengan saya) :(


User avatar
Sudoers
Site Admin
Posts: 1
Joined: 03 Nov 2009, 17:43

Post by Sudoers » 29 Feb 2012, 16:54

Setingan MX di domain uda diset blum?
Kalo coba dengan ngirim email ke account email yg valid kek gimn hasilnya?


User avatar
caredox
Posts: 110
Joined: 21 Jun 2010, 09:18

Post by caredox » 29 Feb 2012, 17:51

klo coba kirim email ke gmail/yahoo bisa,,tapi lama nyampe di gmail/yahoo,,,
tapi klo kirim dari gmail/yahoo ke mail server ga bisa..>??
apa ada pengaruh dari port smtp 25 yang biasa di block dari ISP ya..???

@bro sudoers : uda di setting,,tapi coba minta settingan MX buat domain bro..:D,mana tw salah gtu


User avatar
caredox
Posts: 110
Joined: 21 Jun 2010, 09:18

Post by caredox » 01 Mar 2012, 14:03

tolong dicek bro2 sexan,,bisa kirim email (kirim dan terima) antar user dalam satu domain,,bisa kirim juga ke gmail dan yahoo,,,tapi ga bisa terima email dari gmail dan yahoo,,ini tak coba gelar file bind,,apa ada kemungkinan error buat MX record
;================
;named.conf.local
;=================
include "/etc/bind/zones.rfc1918";
zone "example.co.id" {
type master;
file "/etc/bind/db.example.co.id";
// buat slave dns
allow-transfer {129.3.39.60;};
};
zone "39.3.129.in.addr.arpa" {
type master;
file "/etc/bind/db.119";
};
include "/etc/bind/rndc.key";

============EOF=================

=====
db.119
========
$TTL 604800
@ IN SOA ns.example.co.id. mail.example.co.id. (
20120222 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS ns.
www IN CNAME ns
mail IN CNAME ns
IN NS ns1.example.co.id.
IN NS ns.example.co.id.

1 IN PTR ns.example.co.id.
2 IN PTR ns1.example.co.id.

==========EOF================

======
db.example.co.id
======
$TTL 604800
@ IN SOA ns.example.co.id. mail.example.co.id. (
20120222 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS ns.example.co.id.
@ IN A 129.3.39.61
@ IN AAAA ::1

ns IN A 129.3.39.61
www IN CNAME ns
;==tambahan
IN MX 10 mail
mail IN A 129.3.39.61
; untuk slave
ns IN A 129.3.39.61
ns1 IN A 129.3.39.60
IN NS ns.example.co.id.
IN NS ns1.example.co.id.
==========EOF============

coba telnet localhost 25 => telnet: Unable to connect to remote host: Connection refused

trz klo ngetest pake cmd dig ke IP,,
ex: dig 129.2.3.39.61
status
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 44653
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;129.3.39.61. IN A

;; AUTHORITY SECTION:
. 10800 IN SOA a.root-servers.net. nstld.verisign-grs.com. 2012022901 1800 900 604800 86400

help,,,help,,,,help,,,


User avatar
ilham2930
Posts: 1123
Joined: 02 Jan 2010, 19:30
Location: /indonesia/tangerang/bonank_city
Contact:

Post by ilham2930 » 05 Mar 2012, 08:36

klo google apps biasanya punya mx record sendiri yg harus dimasukan ke dalam DNS server..
bisa di cek disini;
http://support.google.com/a/bin/answer. ... wer=174125


User avatar
caredox
Posts: 110
Joined: 21 Jun 2010, 09:18

Post by caredox » 05 Mar 2012, 13:40

bro @ilham2930 : thx bro menju TKP,,,
tapi kyaknya emg salah setting setting MX di bind sini bro,,uda tak coba oprek2 tetep juga kagak bisa,,apa bole liat contoh setting MX record punya bro..???


User avatar
caredox
Posts: 110
Joined: 21 Jun 2010, 09:18

Post by caredox » 05 Mar 2012, 13:55

bro @ilham2930 : klo ga salah ntu ttg Konfigurasikan Google Mail untuk Domain Anda ya..??
tak cek ksini :
http://www.google.com/apps/intl/en/business/index.html
jadi kita menggunakn domain sendiri,tapi dengan bnatuan google aps


User avatar
ilham2930
Posts: 1123
Joined: 02 Jan 2010, 19:30
Location: /indonesia/tangerang/bonank_city
Contact:

Post by ilham2930 » 05 Mar 2012, 13:57

yups, ane pake google apps untuk server email, tapi server domainnya di internal.


User avatar
caredox
Posts: 110
Joined: 21 Jun 2010, 09:18

Post by caredox » 05 Mar 2012, 14:11

tapi free buat trial aja bro ya..???


User avatar
ilham2930
Posts: 1123
Joined: 02 Jan 2010, 19:30
Location: /indonesia/tangerang/bonank_city
Contact:

Post by ilham2930 » 05 Mar 2012, 15:35

buat yg 50 user free..


User avatar
caredox
Posts: 110
Joined: 21 Jun 2010, 09:18

Post by caredox » 05 Mar 2012, 15:55

ntu yang di share bro, file reversenya gmn..???
trz ntu gunain google apps tadi ya..???makanya ada mx google


User avatar
ilham2930
Posts: 1123
Joined: 02 Jan 2010, 19:30
Location: /indonesia/tangerang/bonank_city
Contact:

Post by ilham2930 » 06 Mar 2012, 08:07

ane g pake reverse dns, cuma di nat 1:1 di router mikrotik


User avatar
caredox
Posts: 110
Joined: 21 Jun 2010, 09:18

Post by caredox » 06 Mar 2012, 14:38

tapi tak coba trial 30days bro,,,


User avatar
caredox
Posts: 110
Joined: 21 Jun 2010, 09:18

Post by caredox » 06 Mar 2012, 14:44

help makin parah ni bro2 sexan :

==============================================================
ERROR:
Message not sent. Server replied:

Transaction failed
554 5.7.1 : Relay access denied
===============================================================
ga bisa kirim mail malah,,

cuplikan log
=============================================================
Mar 6 14:26:55 example postfix/smtpd[1915]: NOQUEUE: reject: RCPT from http://www.example.co.id[129.3.39.61]: 554 5.7.1 : Relay access denied; from= to= proto=ESMTP helo=
=============================EOF===============================


User avatar
ilham2930
Posts: 1123
Joined: 02 Jan 2010, 19:30
Location: /indonesia/tangerang/bonank_city
Contact:

Post by ilham2930 » 06 Mar 2012, 15:12

Topology kek gimana masbro..??


User avatar
caredox
Posts: 110
Joined: 21 Jun 2010, 09:18

Post by caredox » 06 Mar 2012, 15:40

topology gmn mksudnya..??
setting dns dan mail kan ada diatas mas bro...


User avatar
ilham2930
Posts: 1123
Joined: 02 Jan 2010, 19:30
Location: /indonesia/tangerang/bonank_city
Contact:

Post by ilham2930 » 06 Mar 2012, 15:46

lokasi mail server sejajar atau dibelakang firewall/router..?


User avatar
caredox
Posts: 110
Joined: 21 Jun 2010, 09:18

Post by caredox » 07 Mar 2012, 14:33

kirim email bisa,,tapi ga bisa nerima,,
klo kirim email (pake telnet) keluar domain ex:gmail
ada error :554 5.7.1 : Relay access denied


User avatar
yudiarbi
Posts: 627
Joined: 22 Mar 2011, 09:31
Location: Probolinggo, Jawa Timur
Contact:

Post by yudiarbi » 08 Mar 2012, 02:24

konfigurasi dnsnyagmn bro?cek juga port smtpnya

Code: Select all

netstat -tanp |grep 25
port pop3nya(110) juga bro
posting dovecot.confnya bro
hasil test pada server email gmn?

Code: Select all

telnet mail.domainanda 110


User avatar
caredox
Posts: 110
Joined: 21 Jun 2010, 09:18

Post by caredox » 08 Mar 2012, 11:45

telnet mail.domain 25,220,143 OK bisa smw bro...
tapi koq coba krim email ke gmail/yahoo dari squirel ato thunderbird ga bisa bro


Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests