求救..mail問題 [論壇 - 伺服器架設]
正在瀏覽:
1 名遊客
回覆: 求救..mail問題 |
||
---|---|---|
Anon:
|
你現在應該連首頁都不通了???
whois看一下你的domain ... 如果你設的是cxxxxo的話 Domain servers in listed order: ns11.twnic.net.tw 203.73.24.198 ns12.twnic.net.tw 210.17.9.234 這個domain name的dns不是你在管的,在查詢時是會到上述兩台dns去詢問 不管你再怎麼設定都沒有用 如果你自己架dns的話,要去申請domain的單位改,把dns的ip address指到你的1.2.3.4 另外.... ; ; BIND data file for local loopback interface ; 這個字樣是?? 看來你是直接改db.local...... Serial 請用2009102301 2009102302這樣....比較不會出問題 Refresh,Retry,Expire就算了!在你的架構影響應該不大 $TTL 604800 604800 ) ; Negative Cache TTL 這時間是...一週 Cache的時間設這麼長?? 最後...你的$ORIGIN 在哪邊???
2009/10/23 17:11
|
|
![]() |
回覆: 求救..mail問題 |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員一級
![]() ![]() 註冊日期:
2009/10/19 2:01 所屬群組:
已註冊使用者 等級: 3
HP : 0 / 57
![]() |
大大.我是先暫時改成twnic代管.
但星期五試收發都沒問題. 現在寄給msn都正常.yahoo都收不到信.也沒退信. 但yahoo寄到這都正常. 自己寄給內部信箱也都收不到.. 我dns設由twnic代管會有可能還是dns問題嗎. 若我改回來自己設定.請問大大我那2個檔案有那要修改的.謝謝. 或是我附上postfix mail.cf檔 # See /usr/share/postfix/main.cf.dist for a commented, more complete version # Debian specific: Specifying a file name will cause the first # line of that file to be used as the name. The Debian default # is /etc/mailname. #myorigin = /etc/mailname 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. mydomain = XXX.com.tw myhostname = dns.XXX.com.tw alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myorigin = /etc/mailname mydestination = $myhostname, $mydomain relayhost = mynetworks = 122.201.169.171, 61.62.129.93, 219.85.30.129, 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 #mynetworks = 127.0.0.0/8, 219.85.30.129 mailbox_size_limit = 0 recipient_delimiter = + inet_interfaces = 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_authenticated, reject_unauth_destination smtpd_sender_restrictions = reject_unknown_sender_domain mailbox_command = /usr/lib/dovecot/deliver -c /etc/dovecot/dovecot-postfix.conf -n -m "${EXTENSION}" smtp_use_tls = yes smtpd_tls_received_header = yes smtpd_tls_mandatory_protocols = SSLv3, TLSv1 smtpd_tls_mandatory_ciphers = medium, high smtpd_tls_auth_only = yes tls_random_source = dev:/dev/urandom 感謝你
2009/10/26 10:53
|
||||||||||
![]() |
回覆: 求救..mail問題 |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員一級
![]() ![]() 註冊日期:
2009/10/19 2:01 所屬群組:
已註冊使用者 等級: 3
HP : 0 / 57
![]() |
謝謝..我馬上來試
2009/10/26 10:54
|
||||||||||
![]() |
回覆: 求救..mail問題 |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員一級
![]() ![]() 註冊日期:
2009/10/19 2:01 所屬群組:
已註冊使用者 等級: 3
HP : 0 / 57
![]() |
大大.我現在改成這樣.
我已經把dns轉回來了. 正解 $TTL 86400 @ IN SOA XXX.com.tw. dns.XXX.com.tw. ( 2009102301 ; serial 86400 ; refresh 1800 ; retry 1728000 ; expire 1200 ; Negative Caching ) IN NS dns.xxx.com.tw. dns IN A 1.2.3.4 @ IN MX 0 mail.XXX.com.tw. XXX.com.tw. IN A 1.2.3.4 ; s1 IN CNAME dns.XXX.com.tw. www IN CNAME dns.XXX.com.tw. ftp IN CNAME dns.XXX.com.tw. ; mail IN A 1.2.3.4 ; 反解 $TTL 86400 @ IN SOA xxx.com.tw. dns.xxx.com.tw. ( 2000082619 ; serial 86400 ; refresh 1800 ; retry 1728000 ; expire 1200 ; Negative Caching ) IN NS dns.xxx.com.tw. ; 142 IN PTR dns.xxx.com.tw. 請問 $ORIGIN localhost. 還是 $ORIGIN xxx.com.tw. 目前dns還沒轉回前.寄到yahoo.msn..收發都正常.. 但寄內部信.沒錯誤.也收不到信..好怪.剛剛終於收到一封內部9點發的信. 是我那沒設好嗎.. 我改回來後.都正常..但.很怪的一件事.我這有2條網路.中華跟sonet sonet這條就是不能連www,ping也不行,但我馬上加個w3.可以連也可以ping.真是怪.這條線就是不讓我ping www. 是我dns設定問題嗎... 但其他線路都正常..好怪
2009/10/26 12:02
|
||||||||||
![]() |
回覆: 求救..mail問題 |
||
---|---|---|
Anon:
|
lifepc 寫到: 正解檔我會這樣寫 $ORIGIN xxx.com.tw. $TTL 86400 @ IN SOA XXX.com.tw. dns.XXX.com.tw. ( 2009102301 ; serial 3600 ; refresh 1800 ; retry 86400 ; expire 3600 ; Negative Caching ) IN NS dns.xxx.com.tw. IN MX 0 mail.XXX.com.tw. IN A 1.2.3.4 mail IN A 1.2.3.4 dns IN CNAME mail s1 IN CNAME mail www IN CNAME mail ftp IN CNAME mail
反解我會這樣改 $TTL 86400 $ORIGIN 1.2.3.in-addr.arpa. @ IN SOA xxx.com.tw. dns.xxx.com.tw. ( 2000082619 ; serial 86400 ; refresh 1800 ; retry 1728000 ; expire 1200 ; Negative Caching ) IN NS dns.xxx.com.tw. ; 4 IN PTR mail.xxx.com.tw.
$ORIGIN 部份,正反解不一樣,看看我上面是怎寫的....自行體會一下吧 *笑* 至於你最後提到的後兩個問題....不太懂你的意思
2009/10/28 11:52
|
|
![]() |
回覆: 求救..mail問題 |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員一級
![]() ![]() 註冊日期:
2009/10/19 2:01 所屬群組:
已註冊使用者 等級: 3
HP : 0 / 57
![]() |
謝謝..
都可正常使用了. 現在遇到另一個問題. 安裝openwebmail 我是用postfix 收不到信,一定要設代收郵件. 請問我要改什麼設定嗎..
2009/11/10 0:35
|
||||||||||
![]() |
回覆: 求救..mail問題 |
||
---|---|---|
Anon:
|
不太懂你的意思
你用postfix, 應該已經可以正常收發信了 目前是openwebmail不能收信.... 是openwebmail連登入都不能,還是可以登入可是信看不到? 設代收郵件的意思是什麼??
2009/11/10 0:42
|
|
![]() |
回覆: 求救..mail問題 |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員一級
![]() ![]() 註冊日期:
2009/10/19 2:01 所屬群組:
已註冊使用者 等級: 3
HP : 0 / 57
![]() |
可以登入.也可寄信,但就是沒收到信.
用Outlook都正常. 是不是openwebmail要特別設定.
2009/11/13 0:42
|
||||||||||
![]() |
回覆: 求救..mail問題 |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員三級
![]() ![]() 註冊日期:
2008/12/21 19:48 所屬群組:
已註冊使用者 等級: 14
HP : 0 / 326
![]() |
我猜和IPv6有關
2009/11/13 8:43
|
||||||||||
![]() |
您可以查看帖子.
您不可發帖.
您不可回覆.
您不可編輯自己的帖子.
您不可刪除自己的帖子.
您不可發起投票調查.
您不可在投票調查中投票.
您不可上傳附件.
您不可不經審核直接發帖.