歡迎您光臨本站 註冊首頁

sendmail郵件伺服器,用outlook收郵件老是提示輸入用戶名和密碼?

LINUX AS4.0 安裝sendmail后,用outlook收郵件老是提示輸入用戶名和密碼?
輸入后提示"密碼"被拒絕,賬戶mailuser的密碼是對的啊.
系統提示:'-err invalid login'
到底是哪裡出問題了,我是新手,請高手指教一下,另外我應該從哪個地方著手排除這種故障.
《解決方案》

重裝了as4.0,重裝了sendmail問題還是沒解決,在outlook中接收還是提示密碼不正確.
telnet 192.168.1.1 110 出現以下提示
+OK mailserver Cyrus POP3 v2.2.10-Invoca-RPM-2.2.10-1.RHEL4.1 server ready <1902
[email protected]>
在outlook中接收時的系統日誌如下/var/log/maillog
Nov  8 09:45:00 mailserver pop3: accepted connection
Nov  8 09:45:00 mailserver master: about to exec /usr/lib/cyrus-imapd/pop3
d
Nov  8 09:45:00 mailserver pop3: executed
Nov  8 09:45:00 mailserver pop3: badlogin: dos plaintext td
h SASL(-1): generic failure: checkpass failed
Nov  8 09:45:04 mailserver master: process 3416 exited, status 0
Nov  8 09:45:20 mailserver pop3: accepted connection
Nov  8 09:45:20 mailserver master: about to exec /usr/lib/cyrus-imapd/pop3
d
Nov  8 09:45:20 mailserver pop3: executed
Nov  8 09:45:20 mailserver pop3: badlogin: dos plaintext td
h SASL(-1): generic failure: checkpass failed
Nov  8 09:45:23 mailserver master: process 3417 exited, status 0
Nov  8 09:48:17 mailserver sendmail: My unqualified host name (mailserver)
unknown; sleeping for retry



在伺服器本機可以收到郵件
# mail
Mail version 8.1 6/6/93.  Type ? for help.
"/var/spool/mail/root": 6 messages 6 new
>N  1 [email protected]       Tue Nov  7 14:53  16/555   "hello"
N  2 [email protected]       Tue Nov  7 14:56  16/555   "hello"
N  3 [email protected]       Tue Nov  7 15:15  16/554   "hello"
《解決方案》

另外有個問題想問一下:在outlook收郵件應該還不需要安裝sasl認證的吧.發郵件的時候才用到它,是這樣子吧?
我在系統中發郵件是這樣子發的.通過mail命令是可以看見發的郵件的
#echo "hello mailserver " |mail -v -s hello [email protected]
#echo "hello mailserver " |mail -v -s hello [email protected]
#hostname
mailserver
《解決方案》

檢查一下你的sendmail.cf的配置情況
《解決方案》

sendmail.mc的配置如下:
# grep -v '^dnl' sendmail.mc |grep -v '^#'
divert(-1)dnl
include(`/usr/share/sendmail-cf/m4/cf.m4')dnl
VERSIONID(`setup for Red Hat Linux')dnl
OSTYPE(`linux')dnl
define(`confDEF_USER_ID',``8:12'')dnl
define(`confTO_CONNECT', `1m')dnl
define(`confTRY_NULL_MX_LIST',true)dnl
define(`confDONT_PROBE_INTERFACES',true)dnl
define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')dnl
define(`ALIAS_FILE', `/etc/aliases')dnl
define(`STATUS_FILE', `/var/log/mail/statistics')dnl
define(`UUCP_MAILER_MAX', `2000000')dnl
define(`confUSERDB_SPEC', `/etc/mail/userdb.db')dnl
define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,restrictqrun')dnl
define(`confAUTH_OPTIONS', `A')dnl
TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')
dnl
define(`confTO_IDENT', `0')dnl
FEATURE(`no_default_msa',`dnl')dnl
FEATURE(`smrsh',`/usr/sbin/smrsh')dnl
FEATURE(`mailertable',`hash -o /etc/mail/mailertable.db')dnl
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable.db')dnl
FEATURE(redirect)dnl
FEATURE(always_add_domain)dnl
FEATURE(use_cw_file)dnl
FEATURE(use_ct_file)dnl
FEATURE(local_procmail,`',`procmail -t -Y -a $h -d $u')dnl
FEATURE(`access_db',`hash -T<TMPF> -o /etc/mail/access.db')dnl
FEATURE(`blacklist_recipients')dnl
EXPOSED_USER(`root')dnl
DAEMON_OPTIONS(`Port=smtp,Addr=10.44.16.67, Name=MTA')dnl
FEATURE(`accept_unresolvable_domains')dnl
LOCAL_DOMAIN(`localhost.localdomain')dnl
MAILER(smtp)dnl
MAILER(procmail)dnl
《解決方案》

對不起,看錯了,你是收郵件時出錯,我以為是發送出錯
您應該檢查一下cyrus-imapd的配置

[火星人 ] sendmail郵件伺服器,用outlook收郵件老是提示輸入用戶名和密碼?已經有471次圍觀

http://coctec.com/docs/service/show-post-44391.html