小弟!先前試過別的mail server都一直沒成功過
受傷很重 今天!!試著安裝postfix!!
/etc/postfix/main.cf如下:
------------------------------------------------------------------
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
program_directory = /usr/lib/postfix
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
setgid_group = postdrop
biff = no
# appending .domain is the MUA's job.
mydomain = adsldns.org
append_dot_mydomain = yes
myhostname = crazysfamily.adsldns.org
alias_maps = hash:/etc/postfix/aliases
alias_database = hash:/etc/postfix/aliases
myorigin = /etc/mailname
mydestination = $myhostname,localhost.$mydomain,$mydomain,localhost,mail.$mydomain,www.$mydomain
relayhost = 192.168.100.0/24
relay_domains = /etc/postfix/relay-domain
#mynetworks = 127.0.0.0/8:192.168.100.0/24:
mynetworks = 192.168.100.0/24
smtpd_recipient_restrictions = permit_mynetworks,hash:/etc/postfix/access,check_relay_domains
disable_vrfy_command = yes
inet_interfaces = $myhostname, localhost
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 30720000
recipient_delimiter = +
------------------------------------------------------------------------------
postfix start也可以起動
# postfix start
postfix/postfix-script: starting the Postfix mail system
ps aux 看到下面幾行!不知這樣是否就成功呢
postfix 19998 0.1 1.5 2416 948 ? S 23:52 0:00 pickup -l -t fifo -u -c
postfix 19999 0.0 1.5 2452 976 ? S 23:52 0:00 qmgr -l -t fifo -u -c
可是測試25port時!!卻出現下面的字!!就卡住了!!
# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
><"!!!使用nmap查主機所開的port!!也有開25port丫!!
可是就不能用!!!>< 鳴~~~~
謝謝!!!請問大大!!我可能是那裡出了問題呢!!!謝謝