| 代碼: |
| vi /etc/mail/sendmail.mc
dnl TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl dnl define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl ........................................... DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA') |
| 代碼: |
| TRUST_AUTH_MECH(`DIGEST-MD5 CRAM-MD5 LOGIN PLAIN') dnl
define(`confAUTH_MECHANISMS', `DIGEST-MD5 CRAM-MD5 LOGIN PLAIN') dnl DAEMON_OPTIONS(`Port=smtp,Addr=0.0.0.0, Name=MTA') |
| 代碼: |
| /etc/rc.d/init.d/sendmail restart |
| 代碼: |
| # telnet vcd.sqes.hcc.edu.tw 25
Trying 163.19.59.5... Connected to vcd.sqes.hcc.edu.tw. Escape character is '^]'. 220 vcd.sqes.hcc.edu.tw ESMTP Sendmail 8.12.5/8.12.5; Wed, 19 Feb 2003 02:01:37 +0800 |
| 代碼: |
| makemap hash /etc/mail/access < /etc/mail/access |
| 代碼: |
| /etc/rc.d/init.d/xinetd restart |
| 代碼: |
| # telnet vcd.sqes.hcc.edu.tw 110
Trying 163.19.59.5... Connected to vcd.sqes.hcc.edu.tw. Escape character is '^]'. +OK POP3 vcd.sqes.hcc.edu.tw v2001.78rh server ready |
| 代碼: |
| dbmopen_ext none --> dbmopen_ext %dbm_ext%
default_language en --> default_language zh_TW.Big5 default_iconset Cool3D.English --> default_iconset Cool3D.Chinese.Traditional |
| 代碼: |
| enable_webdisk no
enable_sshterm no enable_changepwd no |
| 代碼: |
| # /var/www/cgi-bin/openwebmail/openwebmail-tool.pl --init
creating /var/www/cgi-bin/openwebmail/etc/b2g.db ...done. creating /var/www/cgi-bin/openwebmail/etc/g2b.db ...done. creating /var/www/cgi-bin/openwebmail/etc/lunar.db ...done. Welcome to the Open WebMail! This program is going to send a short message back to the developer, so we could have the idea that who is installing and how many sites are using this software, the content to be sent is: OS: Linux 2.4.18-26.7.xsmp i686 Perl: 5.006001 WebMail: Open WebMail 1.90 20030307 Send the site report?(Y/n) sending report... Thank you. |
| 代碼: |
| # netstat -a | grep smtp
tcp 0 0 localhost.localdom:smtp *:* LISTEN |
| 代碼: |
| # netstat -a | grep smtp
tcp 0 0 *:smtp *:* LISTEN |
| 代碼: |
| root: sysadm |
| 引言回覆: |
| 關閉 sendmail: [確定]
關閉 sm-client: [確定] 啟動 sendmail:make: *** Warning: File `virtusertable.db' has modification time in the future (2003-02-19 06:24:49 > 2003-02-19 01:41:36) make: warning: Clock skew detected. Your build may be incomplete. 554 5.0.0 No local mailer defined 554 5.0.0 QueueDirectory (Q) option must be set [失敗] 啟動 sm-client: [ 確定] |
| 代碼: |
| vi /etc/sendmail.cf
#maximum message size O MaxMessageSize=1000000 |
| some 寫到: | ||
|
第一次執行 Open Webmail 的時候,在網頁中出現下面這段訊息怎辦 --> 「Please execute '/var/www/cgi-bin/openwebmail/openwebmail-tool.pl --init' on server first!」 解決方法:直接在 console 中執行「 /var/www/cgi-bin/openwebmail/openwebmail-tool.pl --init 」即可,請注意執行之後所出現的訊息,若有什麼錯誤的話,需要針對它的錯誤下去修正,以下為正確的執行狀況
|