[ASK] Bisa Terima Email Tapi Tidak Bisa Mengirim Email



MrBTC1122

Beginner 2.0
Hai, saya punya masalah yaitu tidak bisa mengirim email. detail:
- VPS Alibabacloud
- Cyberpanel, Vestacp dan CWP
jadi awal mula saya install panel vestacp tapi tidak bisa mengirim email, kemudian install CWP dan mempunyai masalah yang sama, saya kira ini problem di panelnya dan terakhir saya coba install cyberpanel ternyata masih sama yaitu tidak bisa mengirim email.
setelah saya baca" cari tutorial, ternyata masalahnya di port 25, saya coba request ke alibabacloud dan mereka tidak mengijinkan untuk membuka port 25, dan disuruh menggunakan port 80 atau 465.
dan yang mau saya tanyakan cara kirim atau setting untuk port 465 gimana ya di cyberpanel? atau boleh dibantu gk harus cyberpanel, bisa vestacp atau cwp.
terimakasih tuan semoga ada yang membantu ;)
 

mas.satriyo

Hosting Guru
dan yang mau saya tanyakan cara kirim atau setting untuk port 465 gimana ya di cyberpanel? atau boleh dibantu gk harus cyberpanel, bisa vestacp atau cwp.
tergantung aplikasi mta (mail transfer agent) yg digunakan
baiknya bukan diganti ke 465, tapi tambahkan port 465
sebab port 25 ini standar port komunikasi antar-mta
 

MrBTC1122

Beginner 2.0
tergantung aplikasi mta (mail transfer agent) yg digunakan
baiknya bukan diganti ke 465, tapi tambahkan port 465
sebab port 25 ini standar port komunikasi antar-mta
maaf saya kurang paham, servernya pakai postfix sama dovecot dan aplikasi kelola emailnya pakai rainloop.
sudah saya otak atik bagian postfix sama dovecot sesuai tutorial google, malah jadi gak bisa buat nerima email hehe, mana gk backup file konfigurasinya.
sekarang nyoba pakai amazon ses, bisa buat ngirim email pakai smtp, tapi bingungnya kalau ada email masuk ngeceknya gimana ya? sedangkan di rainloop gk ada email masuk.
 

mas.satriyo

Hosting Guru
maaf saya kurang paham, servernya pakai postfix sama dovecot dan aplikasi kelola emailnya pakai rainloop.
postfix salah satu contoh MTA (mail transfer agent)

sudah saya otak atik bagian postfix sama dovecot sesuai tutorial google, malah jadi gak bisa buat nerima email hehe, mana gk backup file konfigurasinya.
ini kemungkinan ngikutin tutorial ganti port 25 ke port 465
padahal, antar server email berkomunikasi lewat port 25
coba paste di sini isi config postfix (master.cf)
lokasinya biasanya di /etc/postfix/master.cf
 

MrBTC1122

Beginner 2.0
postfix salah satu contoh MTA (mail transfer agent)


ini kemungkinan ngikutin tutorial ganti port 25 ke port 465
padahal, antar server email berkomunikasi lewat port 25
coba paste di sini isi config postfix (master.cf)
lokasinya biasanya di /etc/postfix/master.cf
Oct 16 22:02:05 server dovecot: imap(support@domainsaya.com)<1114><wUClNcqxkIwAAAAAAAAAAAAAAAAAAAAB>: Logged out in=576 out=2740 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0

Oct 16 22:02:06 server dovecot: imap-login: Login: user=<support@domainsaya.com>, method=PLAIN, rip=::1, lip=::1, mpid=1121, TLS, session=<nDCuNcqxlowAAAAAAAAAAAAAAAAAAAAB>

Oct 16 22:02:06 server dovecot: imap(support@domainsaya.com)<1121><nDCuNcqxlowAAAAAAAAAAAAAAAAAAAAB>: Logged out in=110 out=1419 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0

Oct 16 22:02:06 server dovecot: imap-login: Login: user=<support@domainsaya.com>, method=PLAIN, rip=::1, lip=::1, mpid=1122, TLS, session=<6hOvNcqxmIwAAAAAAAAAAAAAAAAAAAAB>

Oct 16 22:02:06 server dovecot: imap(support@domainsaya.com)<1122><6hOvNcqxmIwAAAAAAAAAAAAAAAAAAAAB>: Logged out in=380 out=1584 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0

Oct 16 22:02:10 server dovecot: imap-login: Login: user=<support@domainsaya.com>, method=PLAIN, rip=::1, lip=::1, mpid=1126, TLS, session=<c4b6NcqxmowAAAAAAAAAAAAAAAAAAAAB>

Oct 16 22:02:10 server dovecot: imap(support@domainsaya.com)<1126><c4b6NcqxmowAAAAAAAAAAAAAAAAAAAAB>: Logged out in=28 out=933 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0

Oct 16 22:02:54 server postfix/smtpd[1147]: connect from mail-vs1-f48.google.com[209.85.217.48]

Oct 16 22:02:56 server postfix/smtpd[1147]: 18C61E3400: client=mail-vs1-f48.google.com[209.85.217.48]

Oct 16 22:02:56 server dovecot: imap-login: Login: user=<support@domainsaya.com>, method=PLAIN, rip=::1, lip=::1, mpid=1157, TLS, session=<i5yxOMqxnowAAAAAAAAAAAAAAAAAAAAB>

Oct 16 22:02:56 server dovecot: imap(support@domainsaya.com)<1157><i5yxOMqxnowAAAAAAAAAAAAAAAAAAAAB>: Logged out in=110 out=1451 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0

Oct 16 22:02:56 server postfix/cleanup[1154]: 18C61E3400: message-id=<CAPe4JfN0bDC6N97kTD7aFx5VTU7FWKOqs+tt0j8UcQghAhhJ+A@mail.gmail.com>

Oct 16 22:02:57 server opendkim[571]: 18C61E3400: s=20161025 d=gmail.com SSL

Oct 16 22:02:57 server postfix/qmgr[983]: 18C61E3400: from=<fredathink@gmail.com>, size=2527, nrcpt=1 (queue active)

Oct 16 22:02:57 server postfix/pipe[1159]: 18C61E3400: to=<support@domainsaya.com>, relay=dovecot, delay=1.1, delays=1.1/0.01/0/0.02, dsn=2.0.0, status=sent (delivered via dovecot service)

Oct 16 22:02:57 server postfix/qmgr[983]: 18C61E3400: removed

Oct 16 22:02:57 server postfix/smtpd[1147]: disconnect from mail-vs1-f48.google.com[209.85.217.48] ehlo=2 starttls=1 mail=1 rcpt=1 data=1 quit=1 commands=7

Oct 16 22:02:58 server dovecot: imap-login: Login: user=<support@domainsaya.com>, method=PLAIN, rip=::1, lip=::1, mpid=1162, TLS, session=<9uvSOMqxoIwAAAAAAAAAAAAAAAAAAAAB>

Oct 16 22:02:58 server dovecot: imap(support@domainsaya.com)<1162><9uvSOMqxoIwAAAAAAAAAAAAAAAAAAAAB>: Logged out in=696 out=3435 deleted=0 expunged=0 trashed=0 hdr_count=2 hdr_bytes=1009 body_count=0 body_bytes=0

Oct 16 22:03:01 server dovecot: imap-login: Login: user=<support@domainsaya.com>, method=PLAIN, rip=::1, lip=::1, mpid=1165, TLS, session=<MMb9OMqxoowAAAAAAAAAAAAAAAAAAAAB>

Oct 16 22:03:01 server dovecot: imap(support@domainsaya.com)<1165><MMb9OMqxoowAAAAAAAAAAAAAAAAAAAAB>: Logged out in=517 out=2582 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=876 body_count=1 body_bytes=27

Oct 16 22:03:29 server dovecot: imap-login: Login: user=<support@domainsaya.com>, method=PLAIN, rip=::1, lip=::1, mpid=1184, TLS, session=<AIumOsqxpowAAAAAAAAAAAAAAAAAAAAB>

Oct 16 22:03:29 server dovecot: imap(support@domainsaya.com)<1184><AIumOsqxpowAAAAAAAAAAAAAAAAAAAAB>: Logged out in=72 out=895 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0

Oct 16 22:03:35 server dovecot: imap-login: Login: user=<support@domainsaya.com>, method=PLAIN, rip=::1, lip=::1, mpid=1188, TLS, session=<YAEKO8qxqowAAAAAAAAAAAAAAAAAAAAB>

Oct 16 22:03:35 server postfix/submission/smtpd[1189]: connect from localhost[::1]

Oct 16 22:03:36 server postfix/submission/smtpd[1189]: 39B52E3406: client=localhost[::1], sasl_method=PLAIN, sasl_username=support@domainsaya.com

Oct 16 22:03:36 server postfix/cleanup[1154]: 39B52E3406: message-id=<fa2051acf69da2b3d12d9a7b2b762222@domainsaya.com>

Oct 16 22:03:36 server postfix/qmgr[983]: 39B52E3406: from=<support@domainsaya.com>, size=1788, nrcpt=1 (queue active)

Oct 16 22:03:36 server postfix/submission/smtpd[1189]: disconnect from localhost[::1] ehlo=2 starttls=1 auth=1 mail=1 rcpt=1 data=1 quit=1 commands=8

Oct 16 22:03:36 server dovecot: imap(support@domainsaya.com)<1188><YAEKO8qxqowAAAAAAAAAAAAAAAAAAAAB>: Logged out in=1658 out=951 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0

Oct 16 22:03:36 server dovecot: imap-login: Login: user=<support@domainsaya.com>, method=PLAIN, rip=::1, lip=::1, mpid=1194, TLS, session=<uXgXO8qxsowAAAAAAAAAAAAAAAAAAAAB>

Oct 16 22:03:36 server dovecot: imap(support@domainsaya.com)<1194><uXgXO8qxsowAAAAAAAAAAAAAAAAAAAAB>: Logged out in=96 out=1060 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0

Oct 16 22:03:41 server dovecot: imap-login: Login: user=<support@domainsaya.com>, method=PLAIN, rip=::1, lip=::1, mpid=1198, TLS, session=<tv5bO8qxtIwAAAAAAAAAAAAAAAAAAAAB>

Oct 16 22:03:41 server dovecot: imap(support@domainsaya.com)<1198><tv5bO8qxtIwAAAAAAAAAAAAAAAAAAAAB>: Logged out in=608 out=2738 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=452 body_count=0 body_bytes=0

Oct 16 22:03:44 server dovecot: imap-login: Login: user=<support@domainsaya.com>, method=PLAIN, rip=::1, lip=::1, mpid=1200, TLS, session=<096MO8qxtowAAAAAAAAAAAAAAAAAAAAB>

Oct 16 22:03:44 server dovecot: imap(support@domainsaya.com)<1200><096MO8qxtowAAAAAAAAAAAAAAAAAAAAB>: Logged out in=598 out=3123 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=876 body_count=0 body_bytes=0

Oct 16 22:04:03 server dovecot: imap-login: Login: user=<support@domainsaya.com>, method=PLAIN, rip=::1, lip=::1, mpid=1209, TLS, session=<WpepPMqxuIwAAAAAAAAAAAAAAAAAAAAB>

Oct 16 22:04:03 server dovecot: imap(support@domainsaya.com)<1209><WpepPMqxuIwAAAAAAAAAAAAAAAAAAAAB>: Logged out in=89 out=1045 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0

Oct 16 22:04:06 server postfix/smtp[1191]: connect to gmail-smtp-in.l.google.com[108.177.97.26]:25: Connection timed out
 

MrBTC1122

Beginner 2.0
postfix salah satu contoh MTA (mail transfer agent)


ini kemungkinan ngikutin tutorial ganti port 25 ke port 465
padahal, antar server email berkomunikasi lewat port 25
coba paste di sini isi config postfix (master.cf)
lokasinya biasanya di /etc/postfix/master.cf
#
# Postfix master process configuration file. For details on the format
# of the file, see the master(5) manual page (command: "man 5 master").
#
# Do not forget to execute "postfix reload" after editing this file.
#
# ==========================================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ==========================================================================
smtp inet n - n - - smtpd
#smtp inet n - n - 1 postscreen
#smtpd pass - - n - - smtpd
#dnsblog unix - - n - 0 dnsblog
#tlsproxy unix - - n - 0 tlsproxy
submission inet n - n - - smtpd
-o syslog_name=postfix/submission
-o smtpd_tls_security_level=encrypt
-o smtpd_sasl_auth_enable=yes
-o smtpd_reject_unlisted_recipient=no
-o smtpd_client_restrictions=$mua_client_restrictions
-o smtpd_helo_restrictions=$mua_helo_restrictions
-o smtpd_sender_restrictions=$mua_sender_restrictions
-o smtpd_recipient_restrictions=permit_sasl_authenticated,reject
-o milter_macro_daemon_name=ORIGINATING
smtps inet n - n - - smtpd
-o syslog_name=postfix/smtps
-o smtpd_tls_wrappermode=yes
-o smtpd_sasl_auth_enable=yes
-o smtpd_reject_unlisted_recipient=no
-o smtpd_client_restrictions=$mua_client_restrictions
-o smtpd_helo_restrictions=$mua_helo_restrictions
-o smtpd_sender_restrictions=$mua_sender_restrictions
-o smtpd_recipient_restrictions=permit_sasl_authenticated,reject
-o milter_macro_daemon_name=ORIGINATING
#628 inet n - n - - qmqpd
pickup unix n - n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr unix n - n 300 1 qmgr
#qmgr unix n - n 300 1 oqmgr
tlsmgr unix - - n 1000? 1 tlsmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
trace unix - - n - 0 bounce
verify unix - - n - 1 verify
flush unix n - n 1000? 0 flush
proxymap unix - - n - - proxymap
proxywrite unix - - n - 1 proxymap
smtp unix - - n - - smtp
relay unix - - n - - smtp
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - n - - showq
error unix - - n - - error
retry unix - - n - - error
discard unix - - n - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
anvil unix - - n - 1 anvil
scache unix - - n - 1 scache
#
# ====================================================================
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# Many of the following services use the Postfix pipe(8) delivery
# agent. See the pipe(8) man page for information about ${recipient}
# and other message envelope options.
# ====================================================================
#
# maildrop. See the Postfix MAILDROP_README file for details.
# Also specify in main.cf: maildrop_destination_recipient_limit=1
#
#maildrop unix - n n - - pipe
# flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
#
# ====================================================================
#
# Recent Cyrus versions can use the existing "lmtp" master.cf entry.
#
# Specify in cyrus.conf:
# lmtp cmd="lmtpd -a" listen="localhost:lmtp" proto=tcp4
#
# Specify in main.cf one or more of the following:
# mailbox_transport = lmtp:inet:localhost
# virtual_transport = lmtp:inet:localhost
#
# ====================================================================
#
# Cyrus 2.1.5 (Amos Gouaux)
# Also specify in main.cf: cyrus_destination_recipient_limit=1
#
#cyrus unix - n n - - pipe
# user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -r ${sender} -m ${extension} ${user}
#
# ====================================================================
#
# Old example of delivery via Cyrus.
#
#old-cyrus unix - n n - - pipe
# flags=R user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -m ${extension} ${user}
#
# ====================================================================
#
# See the Postfix UUCP_README file for configuration details.
#
#uucp unix - n n - - pipe
# flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
#
# ====================================================================
#
# Other external delivery methods.
#
#ifmail unix - n n - - pipe
# flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
#
#bsmtp unix - n n - - pipe
# flags=Fq. user=bsmtp argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
#
#scalemail-backend unix - n n - 2 pipe
# flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store
# ${nexthop} ${user} ${extension}
#
#mailman unix - n n - - pipe
# flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
# ${nexthop} ${user}
dovecot unix - n n - - pipe
flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -f ${sender} -d ${recipient}
 

MrBTC1122

Beginner 2.0
postfix/main

# Global Postfix configuration file. This file lists only a subset

# of all parameters. For the syntax, and for a complete parameter

# list, see the postconf(5) manual page (command: "man 5 postconf").

#

# For common configuration examples, see BASIC_CONFIGURATION_README

# and STANDARD_CONFIGURATION_README. To find these documents, use

# the command "postconf html_directory readme_directory", or go to

# http://www.postfix.org/.

#

# For best results, change no more than 2-3 parameters at a time,

# and test if Postfix still works after every change.







queue_directory = /var/spool/postfix

command_directory = /usr/sbin

daemon_directory = /usr/lib/postfix/sbin

data_directory = /var/lib/postfix

mail_owner = postfix

inet_protocols = all

mydestination = localhost, localhost.localdomain

unknown_local_recipient_reject_code = 550

alias_maps = hash:/etc/aliases

alias_database = hash:/etc/aliases

debug_peer_level = 2

debugger_command =

PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin

ddd $daemon_directory/$process_name $process_id & sleep 5



sendmail_path = /usr/sbin/sendmail.postfix

newaliases_path = /usr/bin/newaliases.postfix

mailq_path = /usr/bin/mailq.postfix

setgid_group = postdrop

html_directory = no

manpage_directory = /usr/share/man

sample_directory = /usr/share/doc/postfix-2.10.1/samples

readme_directory = /usr/share/doc/postfix-2.10.1/README_FILES





myhostname = mail.domainsaya.com

mynetworks = 127.0.0.0/8

message_size_limit = 30720000

virtual_alias_domains =

virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf

virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf

virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf

virtual_mailbox_base = /home/vmail

virtual_uid_maps = static:5000

virtual_gid_maps = static:5000

smtpd_sasl_type = dovecot

smtpd_sasl_path = private/auth

smtpd_sasl_auth_enable = yes

broken_sasl_auth_clients = yes

smtpd_sasl_authenticated_header = yes

smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination

smtpd_use_tls = yes

smtpd_tls_cert_file = /etc/pki/dovecot/certs/dovecot.pem

smtpd_tls_key_file = /etc/pki/dovecot/private/dovecot.pem

virtual_create_maildirsize = yes

virtual_maildir_extended = yes

proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps

virtual_transport = dovecot

dovecot_destination_recipient_limit = 1

inet_interfaces = all

smtp_tls_security_level = may



smtpd_milters = inet:127.0.0.1:8891

non_smtpd_milters = $smtpd_milters

milter_default_action = accept



tls_server_sni_maps = hash:/etc/postfix/vmail_ssl.map
 

Top