Mohon bantuannya dong, saya masih baru dalam menggunakan linux, saya sekarang sedang PKL membangun jaringan dengan linux. Saya sudah berusaha mensetting postfix tapi selalu gagal. Padahal semua sudah seperti buku. Ada yang bisa bantu saya ngga. Dibawah adalah file /etc/postfix/main.cf yang sudah saya konfigurasi berdasarkan di buku (Bold).
# The myhostname parameter specifies the internet hostname of this
# mail system. The default is to use the fully-qualified domain name
# from gethostname(). $myhostname is used as a default value for many
# other configuration parameters.
#
#myhostname = host.domain.tld
#myhostname = mail.comp11.com
# The mydomain parameter specifies the local internet domain name.
# The default is to use $myhostname minus the first component.
# $mydomain is used as a default value for many other configuration
# parameters.
#
#mydomain = comp11.com
# SENDING MAIL
#
# The myorigin parameter specifies the domain that locally-posted
# mail appears to come from. The default is to append $myhostname,
# which is fine for small sites. If you run a domain with multiple
# machines, you should (1) change this to $mydomain and (2) set up
# a domain-wide alias database that aliases each user to
# [EMAIL PROTECTED]
#
#myorigin = $myhostname
#myorigin = $mydomain
# RECEIVING MAIL
# The inet_interfaces parameter specifies the network interface
# addresses that this mail system receives mail on. By default,
# the software claims all active interfaces on the machine. The
# parameter also controls delivery of mail to [EMAIL PROTECTED]
#
inet_interfaces = localhost
#inet_interfaces = all
#inet_interfaces = $myhostname
#inet_interfaces = $myhostname, localhost
mydestination = $myhostname, $mydomain
#mydestination = $myhostname, localhost.$mydomain $mydomain
#mydestination = $myhostname, localhost.$mydomain, $mydomain,
# mail.$mydomain, www.$mydomain, ftp.$mydomain
#mynetworks = 192.168.0.0/220, 127.0.0.0/8
#mynetworks = $config_directory/mynetworks
#mynetworks = hash:/etc/postfix/network_table
#alias_maps = dbm:/etc/aliases
alias_maps = hash:/etc/postfix/aliases
#alias_maps = hash:/etc/aliases, nis:mail.aliases
#alias_maps = netinfo:/aliases
#alias_database = dbm:/etc/aliases
#alias_database = dbm:/etc/mail/aliases
#alias_database = hash:/etc/postfix/aliases
#alias_database = hash:/etc/aliases, hash:/opt/majordomo/aliases
#mailbox_transport = lmtp:unix:/file/name
#mailbox_transport = cyrus
#mailbox_transport = lmtp:unix:/var/imap/socket/lmtp
tapi setiap kali di restart hasilnya seperti ini
[EMAIL PROTECTED] root]# service postfix restart
Shutting down postfix: [FAILED]
Starting postfix: postalias: warning: My hostname comp11 is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf
[ OK ]
trus ada lagi yang seperti ini jika kita:
[EMAIL PROTECTED] root]# telnet ns1.comp11.com 25
Trying 192.168.0.211...
telnet: connect to address 192.168.0.211: Connection refused
[EMAIL PROTECTED] root]# tail -f /var/log/maillog
May 14 10:41:30 comp11 postfix/master[3571]: warning: My hostname comp11 is not
a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf
May 14 10:41:30 comp11 postfix/postfix-script: warning: My hostname comp11 is no
t a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf
May 14 10:41:30 comp11 postfix/postfix-script: fatal: the Postfix mail system is
not running
May 14 10:41:30 comp11 postfix[3575]: warning: My hostname comp11 is not a fully
qualified name - set myhostname or mydomain in /etc/postfix/main.cf
May 14 10:41:30 comp11 postfix/master[3576]: warning: My hostname comp11 is not
a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf
May 14 10:41:31 comp11 postfix/postsuper[3634]: warning: My hostname comp11 is n
ot a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf
May 14 10:41:31 comp11 postfix/postfix-script: warning: My hostname comp11 is no
t a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf
May 14 10:41:31 comp11 postfix/postfix-script: starting the Postfix mail system
May 14 10:41:31 comp11 postfix/master[3638]: warning: My hostname comp11 is not
a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf
May 14 10:41:31 comp11 postfix/master[3638]: fatal: bind 127.0.0.1 port 25: Addr
ess already in use
ada yang bisa tolong saya ngga kira-kira salahnya ada dimana. Klo bisa saya minta skrip /etc/postfix/main.cf yang komplit dan sudah jalan dong, biar saya bisa cocokkan syukur klo ada keterangannya juga.
Sebelumnya saya ucapkan terima kasih
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
==================================================
- Kunjungi [ http://medan.linux.or.id/ ]
webserver didukung oleh PT. Media Antar Nusa
http://www.nusa.net.id/
- Untuk keluar dari milis ini silahkan kirim ke:
[EMAIL PROTECTED]
==================================================
Yahoo! Groups Links
http://groups.yahoo.com/group/medan-linux/
[EMAIL PROTECTED]
