Mail server di Ubuntu eror send

Diskusi tentang Ubuntu Server baik webserver, database server, samba server dan service lainnya serta jaringan menggunakan Sistem Operasi Ubuntu.
User avatar
chitoz
Posts: 86
Joined: 11 May 2012, 16:38

Mail server di Ubuntu eror send

Postby chitoz » 23 Feb 2013, 20:28

Gan ane mau nanya neh,.lagi belajar buat mail server
setelah masuk ke squirrelmail mau kirim email dari admin1 ke admin 2 selalu eror.
Message not sent. Server replied:

Service not available, closing channel
421 4.3.0 collect: Cannot write ./dfr1NDGF0B032362 (bfcommit, uid=0, gid=110): No such file or directory

ane liat di terminal
root@vps1:~# nmap 192.168.10.20

Starting Nmap 5.21 ( http://nmap.org ) at 2013-02-23 17:24 MSK
Nmap scan report for ns1.vpsubuntu.net (192.168.10.20)
Host is up (0.000014s latency).
Not shown: 991 closed ports
PORT STATE SERVICE
22/tcp open ssh
53/tcp open domain
80/tcp open http
110/tcp open pop3
143/tcp open imap
993/tcp open imaps
995/tcp open pop3s
2000/tcp open cisco-sccp
3128/tcp open squid-http

Nmap done: 1 IP address (1 host up) scanned in 0.14 seconds
root@vps1:~#

ane liat port smtp nya belum ada..
Mohon bimbingannya..Thanks sebelumnya..:)
User avatar
budi11
Posts: 97
Joined: 01 Dec 2012, 19:56
Location: Magetan
Contact:

Re: Mail server di Ubuntu eror send

Postby budi11 » 25 Feb 2013, 09:55

chitoz wrote:ane liat port smtp nya belum ada..
Mohon bimbingannya..Thanks sebelumnya..:)


Di install dulu postfixnya.
apt-get install postfix
User avatar
chitoz
Posts: 86
Joined: 11 May 2012, 16:38

Re: Mail server di Ubuntu eror send

Postby chitoz » 25 Feb 2013, 11:56

budi11 wrote:
chitoz wrote:ane liat port smtp nya belum ada..
Mohon bimbingannya..Thanks sebelumnya..:)


Di install dulu postfixnya.
apt-get install postfix

sebelumnya udah di install gan
ini filenya
root@vps1:~# nano /etc/postfix/main.cf

smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

readme_directory = no

# TLS parameters
smtpd_tls_cert_file = /etc/ssl/certs/ssl-mail.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-mail.key
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.

myhostname = vps1
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = mail.vpsubuntu.net, vps1, localhost.localdomain, localhost
relayhost =
mynetworks = 192.168.10.0/24 [::ffff:192.168.10.0]/104 [::1]/128
mailbox_command =
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all

home-mailbox=Maildir/
inet_protocols = all
home_mailbox = Maildir/
smtpd_sasl_auth_enable = yes
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/dovecot-auth
smtpd_sasl_authenticated_header = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $myhostname
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_unauth_pipelining, permit_mynetworks, permit_sasl_authentica$
smtpd_sender_restrictions = reject_unknown_sender_domain
smtp_use_tls = yes
smtpd_tls_received_header = yes
smtpd_tls_mandatory_protocols = SSLv3, TLSv1
smtpd_tls_mandatory_ciphers = medium
smtpd_tls_auth_only = yes
tls_random_source = dev:/dev/urandom

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

Re: Mail server di Ubuntu eror send

Postby yudiarbi » 03 Mar 2013, 20:09

@mallink, jgn nempel di thread orang bos, fokus...

Return to “Ubuntu Server”

Who is online

Users browsing this forum: No registered users and 2 guests