メールトラブルtips
(WEBメール/Sendmail/ほか)








■メールトラブル全般

●SMTPサーバレスポンスコード一覧(RFC2822, RFC1123)

レスポンスコードは3桁で示され,それぞれ1桁目は障害種類,2桁目は障害区分,3桁目は 症状を示しています.詳細は,RFC2822, RFC1132 で定義
2xx : 正常系211ステータスメッセージ
214ヘルプメッセージ
220サービス準備完了
221切断
250正常終了
251受信者がローカルユーザーでないが送信は行う
252VRFYコマンド利用不可
3xx : 正常系:コマンド受け入れ後にさらに入力が必要 354メッセージを送信し"CRLF.CRLF"で終了せよ
4xx : 一時的なエラー.再度実行すれば成功する可能性がある421利用不可
450メールボックス利用不可のため失敗(一時的)
451サーバエラー
452メモリ不足
5xx : 恒久的なエラー.問題を修正しなければ成功しない 500不明なコマンド
501コマンド引数エラー
502コマンド未実装
503コマンド順序不正
504コマンドパラメーター未実装
550メールボックス利用不可のため失敗(恒久的)
551ユーザーがローカルユーザーでない
552クライアント記憶域割り当て超過によるコマンド中止
553メールボックス名が無効
554トランザクション失敗
上記表の各コードに共通x0x文法エラー
x1x付加メッセージ
x2xSMTP接続関連
x5xクライアント側の問題

from メールシステムの基礎と送受信処理
●Outlook Expressエラーメッセージ一覧

ErrorCodeError typeDescription
●General Errors
0x800CCC00LOAD_SICILY_FAILEDAuthentication did not load
0x800CCC01INVALID_CERT_CNInvalid certificate content
0x800CCC02INVALID_CERT_DATEInvalid certificate date
0x800CCC03ALREADY_CONNECTEDUser already connected
0x800CCC04CONN 
0x800CCC05NOT_CONNECTEDサーバーに接続していない
0x800CCC06CONN_SEND 
0x800CCC07WOULD_BLOCK 
0x800CCC08INVALID_STATE 
0x800CCC09CONN_RECV 
0x800CCC0AINCOMPLETEMessage download incomplete
0x800CCC0BBUSYServer or maildrop is busy
0x800CCC0CNOT_INIT 
0x800CCC0DCANT_FIND_HOSTサーバー発見不可
0x800CCC0EFAILED_TO_CONNECTサーバー接続不可
0x800CCC0FCONNECTION_DROPPEDConnection closed
0x800CCC10INVALID_ADDRESSサーバーアドレス不明
0x800CCC11INVALID_ADDRESS_LISTMailing list not known on server
0x800CCC12SOCKET_READ_ERRORUnable to send Winsock request
0x800CCC13SOCKET_WRITE_ERRORUnable to read Winsock reply
0x800CCC14SOCKET_INIT_ERRORUnable to initialize Winsock
0x800CCC15SOCKET_CONNECT_ERRORUnable to open Windows Socket
0x800CCC16INVALID_ACCOUNTUser account認識不可
0x800CCC17USER_CANCELUser canceled operation
0x800CCC18SICILY_LOGON_FAILEDLogon失敗
0x800CCC19TIMEOUT 
0x800CCC1ASECURE_CONNECT_FAILEDUnable to connect using SSL.
●WINSOCK Errors
0x800CCC40WINSOCK_WSASYSNOTREADYNetwork subsystem is unusable
0x800CCC41WINSOCK_WSAVERNOTSUPPORTEDWindows Sockets cannot support this application
0x800CCC42WINSOCK_WSAEPROCLIM 
0x800CCC43WINSOCK_WSAEFAULTBad address
0x800CCC44WINSOCK_FAILED_WSASTARTUPUnable to load Windows Sockets
0x800CCC45WINSOCK_WSAEINPROGRESSOperation now in progress.
●SMTP Errors
0x800CCC60SMTP_RESPONSE_ERRORInvalid response
0x800CCC61SMTP_UNKNOWN_RESPONSE_CODEUnknown error code
0x800CCC62SMTP_500_SYNTAX_ERRORSyntax error returned
0x800CCC63SMTP_501_PARAM_SYNTAXParameter syntax incorrect
0x800CCC64SMTP_502_COMMAND_NOTIMPLCommand not implemented
0x800CCC65SMTP_503_COMMAND_SEQImproper command sequence
0x800CCC66SMTP_504_COMMAND_PARAM_NOTIMPLCommand not implemented
0x800CCC67SMTP_421_NOT_AVAILABLECommand not available
0x800CCC68SMTP_450_MAILBOX_BUSYMailbox is locked and busy
0x800CCC69SMTP_550_MAILBOX_NOT_FOUNDMailbox not found
0x800CCC6ASMTP_451_ERROR_PROCESSINGError processing request
0x800CCC6BSMTP_551_USER_NOT_LOCALUser mailbox is known, but mailbox not on this server
0x800CCC6CSMTP_452_NO_SYSTEM_STORAGENo space to store messages
0x800CCC6DSMTP_552_STORAGE_OVERFLOWStorage limit exceeded
0x800CCC6ESMTP_553_MAILBOX_NAME_SYNTAXInvalid mailbox name syntax
0x800CCC6FSMTP_554_TRANSACT_FAILEDTransaction failed
0x800CCC78SMTP_REJECTED_SENDERUnknown sender. This is caused by having the incorrect e-mail address in the Reply-To field
0x800CCC79SMTP_REJECTED_RECIPIENTSServer rejected recipients
0x800CCC7ASMTP_NO_SENDERNo sender address specified
0x800CCC7BSMTP_NO_RECIPIENTSNo recipients specified.
●POP3 Errors
0x800420CBPOP3_NO_STOREMail cannot be stored on server
0x800CCC90POP3_RESPONSE_ERRORClient response invalid
0x800CCC91POP3_INVALID_USER_NAMEInvalid user name or user not found
0x800CCC92POP3_INVALID_PASSWORDPassword not valid for account
0x800CCC93POP3_PARSE_FAILUREUnable to interpret response
0x800CCC94POP3_NEED_STATSTAT Command required
0x800CCC95POP3_NO_MESSAGESNo messages on server
0x800CCC96POP3_NO_MARKED_MESSAGESNo messages marked for retrieval
0x800CCC97POP3_POPID_OUT_OF_RANGEMessage ID out of range.
●HTTPmail Error
0x800CCC31 Bad Request Configuration Bad or malformed request.
●NNTP Errors
0x800CCCA0NNTP_RESPONSE_ERRORNews server response error
0x800CCCA1NNTP_NEWGROUPS_FAILEDNewsgroup access failed
0x800CCCA2NNTP_LIST_FAILEDLIST command to server failed
0x800CCCA3NNTP_LISTGROUP_FAILEDUnable to display list
0x800CCCA4NNTP_GROUP_FAILEDUnable to open group
0x800CCCA5NNTP_GROUP_NOTFOUNDGroup not on server
0x800CCCA6NNTP_ARTICLE_FAILEDMessage not on server
0x800CCCA7NNTP_HEAD_FAILEDMessage header not found
0x800CCCA8NNTP_BODY_FAILEDMessage body not found
0x800CCCA9NNTP_POST_FAILEDUnable to post to server
0x800CCCAANNTP_NEXT_FAILEDUnable to open next message
0x800CCCABNNTP_DATE_FAILEDUnable to display date
0x800CCCACNNTP_HEADERS_FAILEDUnable to display headers
0x800CCCADNNTP_XHDR_FAILEDUnable to display MIME headers
0x800CCCAENNTP_INVALID_USERPASSInvalid user or password.
●RAS Errors
0x800CCCC2RAS_NOT_INSTALLEDRAS/DUN not installed
0x800CCCC3RAS_PROCS_NOT_FOUNDRAS/DUN process not found
0x800CCCC4RAS_ERRORRAS/DUN error returned
0x800CCCC5RAS_INVALID_CONNECTOIDConnectoid damaged or missing
0x800CCCC6RAS_GET_DIAL_PARAMSError getting dial settings.
●IMAP Errors
0x800CCCD1IMAP_LOGINFAILURELogin failed
0x800CCCD2IMAP_TAGGED_NO_RESPONSEMessage tagged
0x800CCCD3IMAP_BAD_RESPONSEInvalid response to request
0x800CCCD4IMAP_SVR_SYNTAXERRSyntax error
0x800CCCD5IMAP_NOTIMAPSERVERNot an IMAP server
0x800CCCD6IMAP_BUFFER_OVERFLOWBuffer limit exceeded
0x800CCCD7IMAP_RECVR_ERRORRecovery error
0x800CCCD8IMAP_INCOMPLETE_LINEIncomplete data
0x800CCCD9IMAP_CONNECTION_REFUSEDConnection not allowed
0x800CCCDAIMAP_UNRECOGNIZED_RESPUnknown response
0x800CCCDBIMAP_CHANGEDUIDUser ID has changed
0x800CCCDCIMAP_UIDORDERUser ID command failed
0x800CCCDDIMAP_UNSOLICITED_BYEUnexpected disconnect
0x800CCCDEIMAP_IMPROPER_SVRSTATEInvalid server state
0x800CCCDFIMAP_AUTH_NOT_POSSIBLEUnable to authorize client
0x800CCCE0IMAP_OUT_OF_AUTH_METHODSNo more authorization types.
●参考 Microsoft's Outlook Express Error Codes OLEXP: Outlook Express Error Codes Outlook Express メールエラー集 OEエラ-&対処法 - 詳細に対処方法を解説 Outlook Expressの メール送受信時のエラー一覧 - 各種パターンと対応策

Windows Sockets Error Codes

The following list describes the possible error codes returned by the WSAGetLastError function. Errors are listed in alphabetical order by error macro. Some error codes defined in Winsock2.h are not returned from any function − These are not included in this list.

Return Code
(Value)
Description
WSAEINTR
(10004)

システムコールの割り込みが発生
A blocking operation was interrupted by a call to WSACancelBlockingCall.
WSAEACCES
(10013)

アクセスが拒否された
An attempt was made to access a socket in a way forbidden by its access permissions. An example is using a broadcast address for sendto without broadcast permission being set using setsockopt(SO_BROADCAST).

Another possible reason for the WSAEACCES error is that when the bind function is called (on Windows NT 4 SP4 or later), another application, service, or kernel mode driver is bound to the same address with exclusive access. Such exclusive access is a new feature of Windows NT 4 SP4 and later, and is implemented by using the SO_EXCLUSIVEADDRUSE option.

WSAEFAULT
(10014)

間違ったアドレスを指定した
The system detected an invalid pointer address in attempting to use a pointer argument of a call. This error occurs if an application passes an invalid pointer value, or if the length of the buffer is too small. For instance, if the length of an argument, which is a SOCKADDR structure, is smaller than the sizeof(SOCKADDR).
WSAEINVAL
(10022)

無効な引数
Some invalid argument was supplied (for example, specifying an invalid level to the setsockopt function). In some instances, it also refers to the current state of the socket - for instance, calling accept on a socket that is not listening.
WSAEMFILE
(10024)

開いているファイル数が多すぎる
Too many open sockets. Each implementation may have a maximum number of socket handles available, either globally, per process, or per thread.
WSAEWOULDBLOCK
(10035)

ブロッキングモードなら操作がブロックした
This error is returned from operations on nonblocking sockets that cannot be completed immediately, for example recv when no data is queued to be read from the socket. It is a nonfatal error, and the operation should be retried later. It is normal for WSAEWOULDBLOCK to be reported as the result from calling connect on a nonblocking SOCK_STREAM socket, since some time must elapse for the connection to be established.
WSAEINPROGRESS
(10036)

ブロッキング処理中に別のAPIを呼び出した
A blocking operation is currently executing. Windows Sockets only allows a single blocking operation - per- task or thread - to be outstanding, and if any other function call is made (whether or not it references that or any other socket) the function fails with the WSAEINPROGRESS error.
WSAEALREADY
(10037)

非ブロッキング処理中に同じAPIを呼び出した
An operation was attempted on a nonblocking socket with an operation already in progress - that is, calling connect a second time on a nonblocking socket that is already connecting, or canceling an asynchronous request (WSAAsyncGetXbyY) that has already been canceled or completed.
WSAENOTSOCK
(10038)

ソケット以外に対してソケット操作が行われた
An operation was attempted on something that is not a socket. Either the socket handle parameter did not reference a valid socket, or for select, a member of an fd_set was not valid.
WSAEDESTADDRREQ
(10039)

宛先のアドレスが必要
A required address was omitted from an operation on a socket. For example, this error is returned if sendto is called with the remote address of ADDR_ANY.
WSAEMSGSIZE
(10040)

メッセージが長すぎる
A message sent on a datagram socket was larger than the internal message buffer or some other network limit, or the buffer used to receive a datagram was smaller than the datagram itself.
WSAEPROTOTYPE
(10041)

ソケットに対するプロトコルの種類が不正
A protocol was specified in the socket function call that does not support the semantics of the socket type requested. For example, the ARPA Internet UDP protocol cannot be specified with a socket type of SOCK_STREAM.
WSAENOPROTOOPT
(10042)

プロトコルが使用できない
An unknown, invalid or unsupported option or level was specified in a getsockopt or setsockopt call.
WSAEPROTONOSUPPORT
(10043)

プロトコルがサポートされていない
The requested protocol has not been configured into the system, or no implementation for it exists. For example, a socket call requests a SOCK_DGRAM socket, but specifies a stream protocol.
WSAESOCKTNOSUPPORT
(10044)

ソケットの種類がサポートされていない
The support for the specified socket type does not exist in this address family. For example, the optional type SOCK_RAW might be selected in a socket call, and the implementation does not support SOCK_RAW sockets at all.
WSAEOPNOTSUPP
(10045)

操作がソケットでサポートされていない
The attempted operation is not supported for the type of object referenced. Usually this occurs when a socket descriptor to a socket that cannot support this operation is trying to accept a connection on a datagram socket.
WSAEPFNOSUPPORT
(10046)

プロトコルファミリがサポートされていない
The protocol family has not been configured into the system or no implementation for it exists. This message has a slightly different meaning from WSAEAFNOSUPPORT. However, it is interchangeable in most cases, and all Windows Sockets functions that return one of these messages also specify WSAEAFNOSUPPORT.
WSAEAFNOSUPPORT
(10047)

アドレスファミリがサポートされていない
An address incompatible with the requested protocol was used. All sockets are created with an associated address family (that is, AF_INET for Internet Protocols) and a generic protocol type (that is, SOCK_STREAM). This error is returned if an incorrect protocol is explicitly requested in the socket call, or if an address of the wrong family is used for a socket, for example, in sendto.
WSAEADDRINUSE
(10048)

アドレスがすでに使用中
Typically, only one usage of each socket address (protocol/IP address/port) is permitted. This error occurs if an application attempts to bind a socket to an IP address/port that has already been used for an existing socket, or a socket that was not closed properly, or one that is still in the process of closing. For server applications that need to bind multiple sockets to the same port number, consider using setsockopt(SO_REUSEADDR). Client applications usually need not call bind at all - connect chooses an unused port automatically. When bind is called with a wildcard address (involving ADDR_ANY), a WSAEADDRINUSE error could be delayed until the specific address is committed. This could happen with a call to another function later, including connect, listen, WSAConnect, or WSAJoinLeaf.
WSAEADDRNOTAVAIL
(10049)

要求されたアドレスを割り当てられない
The requested address is not valid in its context. This normally results from an attempt to bind to an address that is not valid for the local machine. This can also result from connect, sendto, WSAConnect, WSAJoinLeaf, or WSASendTo when the remote address or port is not valid for a remote machine (for example, address or port 0).
WSAENETDOWN
(10050)

ネットワークが落ちている
A socket operation encountered a dead network. This could indicate a serious failure of the network system (that is, the protocol stack that the Windows Sockets DLL runs over), the network interface, or the local network itself.
WSAENETUNREACH
(10051)

ネットワークが到達できない
A socket operation was attempted to an unreachable network. This usually means the local software knows no route to reach the remote host.
WSAENETRESET
(10052)

リセットによりネットワーク接続が落とされた
The connection has been broken due to keep-alive activity detecting a failure while the operation was in progress. It can also be returned by setsockopt if an attempt is made to set SO_KEEPALIVE on a connection that has already failed.
WSAECONNABORTED
(10053)

ホスト内部で接続を中断した
An established connection was aborted by the software in your host machine, possibly due to a data transmission time-out or protocol error.
WSAECONNRESET
(10054)

相手が接続を強制的に切った
An existing connection was forcibly closed by the remote host. This normally results if the peer application on the remote host is suddenly stopped, the host is rebooted, or the remote host uses a hard close (see setsockopt for more information on the SO_LINGER option on the remote socket.) This error may also result if a connection was broken due to keep-alive activity detecting a failure while one or more operations are in progress. Operations that were in progress fail with WSAENETRESET. Subsequent operations fail with WSAECONNRESET.
WSAENOBUFS
(10055)

利用可能なバッファスペースが存在しない
An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full.
WSAEISCONN
(10056)

ソケットがすでに接続されている
A connect request was made on an already-connected socket. Some implementations also return this error if sendto is called on a connected SOCK_DGRAM socket (for SOCK_STREAM sockets, the to parameter in sendto is ignored) although other implementations treat this as a legal occurrence.
WSAENOTCONN
(10057)

ソケットが接続されていない
A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using sendto) no address was supplied. Any other type of operation might also return this error - for example, setsockopt setting SO_KEEPALIVE if the connection has been reset.
WSAESHUTDOWN
(10058)

ソケットの遮断後であるため送信できない
A request to send or receive data was disallowed because the socket had already been shut down in that direction with a previous shutdown call. By calling shutdown a partial close of a socket is requested, which is a signal that sending or receiving, or both have been discontinued.
WSAETIMEDOUT
(10060)

時間切れでconnectまたはsendに失敗した
A connection attempt failed because the connected party did not properly respond after a period of time, or the established connection failed because the connected host has failed to respond.
WSAECONNREFUSED
(10061)

接続が拒否された
No connection could be made because the target machine actively refused it. This usually results from trying to connect to a service that is inactive on the foreign host - that is, one with no server application running.
WSAEHOSTDOWN
(10064)

ホストが落ちている
A socket operation failed because the destination host is down. A socket operation encountered a dead host. Networking activity on the local host has not been initiated. These conditions are more likely to be indicated by the error WSAETIMEDOUT.
WSAEHOSTUNREACH
(10065)

ホストへの到達経路が存在しない
A socket operation was attempted to an unreachable host. See WSAENETUNREACH.
WSAEPROCLIM
(10067)

Too many processes.
A Windows Sockets implementation may have a limit on the number of applications that can use it simultaneously. WSAStartup may fail with this error if the limit has been reached.
WSASYSNOTREADY
(10091)

ネットワークサブシステムが使用不能
This error is returned by WSAStartup if the Windows Sockets implementation cannot function at this time because the underlying system it uses to provide network services is currently unavailable. Users should check:

  • That the appropriate Windows Sockets DLL file is in the current path.
  • That they are not trying to use more than one Windows Sockets implementation simultaneously. If there is more than one Winsock DLL on your system, be sure the first one in the path is appropriate for the network subsystem currently loaded.
  • The Windows Sockets implementation documentation to be sure all necessary components are currently installed and configured correctly.
WSAVERNOTSUPPORTED
(10092)

Winsockがサポートしていないバージョンを指示した
The current Windows Sockets implementation does not support the Windows Sockets specification version requested by the application. Check that no old Windows Sockets DLL files are being accessed.
WSANOTINITIALISED
(10093)

Winsockが初期化されていない
Either the application has not called WSAStartup or WSAStartup failed. The application may be accessing a socket that the current active task does not own (that is, trying to share a socket between tasks), or WSACleanup has been called too many times.
WSAEDISCON
(10101)

接続が切れている
Returned by WSARecv and WSARecvFrom to indicate that the remote party has initiated a graceful shutdown sequence.
WSATYPE_NOT_FOUND
(10109)

Class type not found.
The specified class was not found.
WSAHOST_NOT_FOUND
(11001)

ホストが見つからない
No such host is known. The name is not an official host name or alias, or it cannot be found in the database(s) being queried. This error may also be returned for protocol and service queries, and means that the specified name could not be found in the relevant database.
WSATRY_AGAIN
(11002)

やり直し可能なエラー
This is usually a temporary error during host name resolution and means that the local server did not receive a response from an authoritative server. A retry at some time later may be successful.
WSANO_RECOVERY
(11003)

回復不可能なエラー
This indicates some sort of nonrecoverable error occurred during a database lookup. This may be because the database files (for example, BSD-compatible HOSTS, SERVICES, or PROTOCOLS files) could not be found, or a DNS request was returned by the server with a severe error.
WSANO_DATA
(11004)

データがない
The requested name is valid and was found in the database, but it does not have the correct associated data being resolved for. The usual example for this is a host name-to-address translation attempt (using gethostbyname or WSAAsyncGetHostByName) which uses the DNS (Domain Name Server). An MX record is returned but no A record - indicating the host itself exists, but is not directly reachable.
WSA_INVALID_HANDLE
(OS dependent)

Specified event object handle is invalid.
An application attempts to use an event object, but the specified handle is not valid.
WSA_INVALID_PARAMETER
(OS dependent)

One or more parameters are invalid.
An application used a Windows Sockets function which directly maps to a Win32 function. The Win32 function is indicating a problem with one or more parameters.
WSA_IO_INCOMPLETE
(OS dependent)

Overlapped I/O event object not in signaled state.
The application has tried to determine the status of an overlapped operation which is not yet completed. Applications that use WSAGetOverlappedResult (with the fWait flag set to FALSE) in a polling mode to determine when an overlapped operation has completed, get this error code until the operation is complete.
WSA_IO_PENDING
(OS dependent)

Overlapped operations will complete later.
The application has initiated an overlapped operation that cannot be completed immediately. A completion indication will be given later when the operation has been completed.
WSA_NOT_ENOUGH_MEMORY
(OS dependent)

Insufficient memory available.
An application used a Windows Sockets function that directly maps to a Win32 function. The Win32 function is indicating a lack of required memory resources.
WSA_OPERATION_ABORTED
(OS dependent)

Overlapped operation aborted.
An overlapped operation was canceled due to the closure of the socket, or the execution of the SIO_FLUSH command in WSAIoctl.
WSAINVALIDPROCTABLE
(OS dependent)

Invalid procedure table from service provider.
A service provider returned a bogus procedure table to Ws2_32.dll. (Usually caused by one or more of the function pointers being null.)
WSAINVALIDPROVIDER
(OS dependent)

Invalid service provider version number.
A service provider returned a version number other than 2.0.
WSAPROVIDERFAILEDINIT
(OS dependent)

Unable to initialize a service provider.
Either a service provider's DLL could not be loaded (LoadLibrary failed) or the provider's WSPStartup/ NSPStartup function failed.
WSASYSCALLFAILURE
(OS dependent)

System call failure.
Returned when a system call that should never fail does. For example, if a call to WaitForMultipleObjects fails or one of the registry functions fails trying to manipulate the protocol/name space catalogs.
Platform SDK Release: October 2002
●多の関連資料
winsock error codes
Winsock Error Code
PNGOCXマニュアル




●参考資料

●規格 RFC インデックス プロトコル RFC SMTP RFC-821, RFC-1869 POP3 RFC-1939, RFC-1734 IMAP4 RFC-2060, RFC-2088, RFC-1731 NNTP RFC-977 LDAP RFC-1777 RFC日本語訳 rfc1939日本語[POP] メール関係 - 日本語化RFC IETF -RFC - http://www.ietf.org/rfc.html Google directory: RFC Email and MIME Specifications ●エラーコード[Outlook Express] Outlook Expressのメール送受信時のエラー一覧 Outlook Expressのエラ−とその対処法 Outlook Express メールエラー集 OLEXP: Outlook Express Error Codes Outlook Express SMTP Error Messages Microsoft's Outlook Express Error Codes OLEXP: Outlook Express Error Codes ●エラーコード[その他] RFC defined ESMTP Status Error Codes SMTP and Mail server error codes ●一般 Internet Mail Issues with Microsoft Outlook Kbalerts: Microsoft Technologies - Outlook express - Microsoft supportデータをあつめたサイト Skyfull メールサーバ - Skyfull Smtpサーバコントロール マニュアル - Skyfull Pop3コントロール マニュアル OCN:メールレスキュー - 主要メーラー・エラーメッセージ集





●メール受信トラブル


●添付ファイルを開けない

OutlookExpress で電子メールを開くと「次の添付ファイルは安全でないため、メール
からのアクセスが削除されました:〈ファイル名〉」と表示される
-- 1.OutllookExpress6 を起動する。 2.[ツール]メニューをクリックして[オプション]ボタンを選択する。 3.[セキュリティ]タブをクリックする。 4.[ウイルスの可能性がある添付ファイルを保存したり開いたりしない]からチェックを解除する。 5.[OK]ボタンをクリックする。
■文字化け

 →●WEBで使う特殊文字・文字コード・フォント: -文字化け に纏めてあるので参照のこと。




■POPサーバー接続エラー

●メッセージ番号 n は取得できませんでした。

【メッセージ】[2005.2.1]
メッセージ番号 1 は取得できませんでした。 アカウント : 'mm-MediaclMedia', サーバー : '219.106.250.82', プロトコル : POP3, サーバーの応答 : '-ERR Can't open the message file - it's gone!', ポート : 110, セキュリティ (SSL): なし, サーバー エラー : 0x800CCC90, エラー番号 : 0x800420CD

【状況】
0x800CCC90 POP3_RESPONSE_ERROR Client response invalid 
【予想原因】
 1) 巨大ファイルを受信しようとして失敗
 2) 動作が不安定
【一般対応】
 1)メールソフトで受信したら削除する設定になっているかご確認。
 それでも削除されない場合は、一度初期化を行ってみてください。
 2)巨大なメールをOutlook Expressで受信した時に起きたりする
【経過】
 ・nPOPにより、新着メール受信を試みたら、"RETRが受けられませんでした。
 -ERR Can't open the message file -it's gone!"
 ・Vera TERMによりLinux serverのディレクトリを覗いてみた。
[fftt2:/home/mm]# ls -al
total 24
drwx------   3 mm   mm   4096 Jan 26 03:15 .
drwxr-xr-x  76 root root 4096 Jan 26 15:10 ..
-rw-r--r--   1 mm   mm     24 Jan 26 03:15 .bash_logout
-rw-r--r--   1 mm   mm    191 Jan 26 03:15 .bash_profile
-rw-r--r--   1 mm   mm    124 Jan 26 03:15 .bashrc
drwx------   5 mm   mm   4096 Jan 26 14:44 Maildir
  巨大ファイルがあるわけではないことが確認。

【実際原因】
 ・
 
【処置】
●参考
[XREA SUPPORT BOARD]メールがサーバから削除されません
削除しようとnPOPをダウンロードしたのですが、巡回すると”RETRが受けられませんでした
 - RETRは、本文を含んでメールを取得するときに利用されるコマンドですから、nPOPの
ファイルメニューのオプション設定で「新着取得時に本文を全て受信」にチェックが入っ
ていると思いますので、入っていれば外してください。 
その後「新着取得位置の初期化」を行って新着チェックをしてみてください。


●サーバーは接続を解除

【メッセージ】/2005.2.1
サーバーは接続を解除しました。 サーバーまたはネットワークに問題があるか、またはアイドル時間が長すぎた可能性があります。 アカウント : 'medmk', サーバー : '61.122.26.122', プロトコル : POP3, ポート : 110, セキュリティ (SSL): なし, エラー番号 : 0x800CCC0F

【予想原因】
0x800CCC0F CONNECTION_DROPPED Connection closed 
【一般対応】
【経過】

【実際原因】
 ・
 
【処置】
●参考



●サーバーは接続を切断

【メッセージ】
サーバーは接続を切断しました。サーバーまたはネットワークに問題があるか、アイドル時間が長すぎた可能性があります。 アカウント : '[Fukumi Corporation]', サーバー : 'pop3.norton.antivirus', プロトコル : POP3, ポート : 110, セキュリティ (SSL) : なし, エラー番号 : 0x800CCC0F
サーバーは接続を切断しました。サーバーまたはネットワークに問題があるか、アイドル時間が長すぎた可能性があります。 アカウント : 'MedicalMedia', サーバー : 'pop3.norton.antivirus', プロトコル : POP3, ポート : 110, セキュリティ (SSL) : なし, エラー番号 : 0x800CCC0F

【状況】
0x800CCC0F CONNECTION_DROPPED サーバーは接続を切断
【予想原因】
 1) 巨大ファイルを受信しようとして失敗
 2) 動作が不安定
【実際原因】
 ・会社Lan内で、Hub-Cableが原因でファイル転送が遅くなっていた。
 (同一アカウントで自宅では問題なし)
【処置】
 nPOPなどのツールにより「サーバにあるメールの削除」で容量を確認して、大きなメールを削除
 (本ページ末尾参照)
【備考】
●資料
メール送信または受信時のエラー内容と対処方法(Outlook Express)
エラー番号 : 0x800CCC0F]でメールの受信ができない


●サーバーは接続を切断(2)

【メッセージ】 サーバーを確認して下さい。"kinet-tv.ne.jp"が見つかりません。 サーバーが60秒間応答しません。ソケットエラー 10064,エラー番号 : 0X800CCC0F 【状況】 0x800CCC0F CONNECTION_DROPPED Connection closed (10064) WSAEHOSTDOWN ホストが落ちている 【予想原因】  1) 巨大ファイルを受信しようとして失敗  2) 動作が不安定 【実際原因】  ・会社Lan内で、Hub-Cableが原因でファイル転送が遅くなっていた。  (同一アカウントで自宅では問題なし) 【処置】  nPOPなどのツールにより「サーバにあるメールの削除」で容量を確認して、大きなメールを削除  (本ページ末尾参照) ●参考資料 メール送信または受信時のエラー内容と対処方法(Outlook Express) --- エラーコード別

●パスワードが拒否

【メッセージ】 メール サーバーにログオンできませんでした。パスワードが拒否されました。 アカウント : 'RIZUMI', サーバー : '219.106.250.xx', プロトコル : POP3, サーバーの応答 : '-ERR [IN-USE] /var/spool/mail/.rizumi.pop lock busy! Is another session active? (11)', ポート : 110, セキュリティ (SSL) : なし, サーバー エラー : 0x800CCC90, エラー番号 : 0x800CCC92

【状況】
0x800CCC90 POP3_RESPONSE_ERROR  Client response invalid 
0x800CCC92 POP3_INVALID_PASSWORD パスワードが拒否
【予想原因】
 1) パスワードが違う
 2) ファイルロック
【実際原因】
 2) ファイルロック
 /var/spool/mail/.rizumi.pop lock busy! とあるので。
【処置】
 ファイルロックを解除。(方法と説明は→Qpopper参照)
●参考
OEエラ-&対処法 - エラー番号: 0x800CCC92
[postfix-jp:312] Re: メールの受信ができません
メール送信または受信時のエラー内容と対処方法 (windows
メールの利用に関して(トラブル):メールの受信ができない




【メッセージ】
 POP3サーバーが応答できません
サーバーと通信しようとして、タイムアウトが発生しました。 アカウント : '[Fukumi C
orporation]', サーバー : '219.106.250.82', プロトコル : POP3, ポート : 110, セキ
ュリティ (SSL) : なし, エラー番号 : 0x800CCC19
【状況】
 0x800CCC19 TIMEOUT
 Passwordエラーになっていた
【原因】
 /var/spool/mailに、 .hkosuge.pop / hkosuge.lockが残っていた
【処置】
 ファイルロックを解除。(方法と説明は→Qpopper参照)
●参考
POP3コマンド一覧
メールの受信:POP3(その1)
[vine-users:025130] pop3サーバー(バージョンは3.0.2)での認証エラー





■メールボックスが壊れた:corrupted mail drop

問題●[2001.4.11]
 クライアントの1人だけが、メールの送受信ができない問題が発生した。
 メール設定(client)は変更していない。 再確認しても、他clientと同等。
 mailサーバー(sendmail)のログを確認→ /var/log/maillog
 当人だけが確かに、以下のエラーが出ていた。
Apr 9 07:56:15 ft popper[4272]: ftakahata at fw1 (210.226.18?.???): -ERR [SYS/PERM] Unable to process From lines (envelopes), change recognition modes or check for corrupted mail drop.


参考●comp.mail.sendmail NewsGroup Archives: different mailbox file formats?
 I have been trying to convert our mailserver from a Windows 2K box running
SLMail to a RH 7 Linux box running sendmail and qpopper, but I've come to
the point where I need to transfer the mailbox files over from one system to
the other.  I archived all the files, copied them to the new server,
created accounts for all the new users, copied the mailbox files into
/var/spool/mail/, and changed the ownership of the file to
:popusers.  when i try to retrieve a message that is in the old
mailbox format, qpopper tells me the following:

-ERR [SYS/PERM] Unable to process From lines (envelopes), change recognition
modes or check for corrupted mail drop.

and the POP client won't download any messages, even if there are messages
in the mailbox file.  Any ideas about what can be done to allow the mail
isers to pop their mail off after I move it over?  Would it be easier to
start new mailboxes for everyone, and forget about any old messages that are
on the current mail server... (there are about 180 MB of mailboxes...)  TIA
for any help...

-Ethan
ethan@webcreators.com

対応●
 ユーザー削除(userdel xxxxx)、その後ユーザー追加(useradd xxxxx)
 この時は、エラー解消せず

再調査●
qpopper 22-Dec 2000: The qpopper list archive ending on 22 Dec 2000[33p]
 ここで50件のログがあるうち、3-25が、本件と同一のエラーに関するもの。
 "need help" は上のサーバーエラーと同一。




●パスワードが拒否

エラー●メール サーバーにログオンできませんでした。パスワードが拒否されました。 アカウント : '高畑', サーバー : '210.226.186.178', プロトコル : POP3, サーバーの応答 : '-ERR [SYS/TEMP] Failed to create /var/spool/mail/.ftakahata.pop with uid 1034, gid 12. Change permissions.', ポート : 110, セキュリティ (SSL) : なし, サーバー エラー : 0x800CCC90, エラー番号 : 0x800CCC92

  前項The qpopper list archive ending on 22 Dec 2000[33p]
 の "Quick remedy for locked mailboxes"タイトルはこのclientエラーと同一。
 実は、このエラーメッセージをキチンと見ていなかったのだ。
 また情けないことに、前項のqpopperのメーリングリストの"qpopper"についてもメール
関係の市販ソフトだろう程度にしか受け止めていなかった。
 しかし、結果は、このqpopperというのが解決のキーだった。

 mail serverのあるLINUX(REDHAT)機/var/spool/mail/を覗いてみた。
 僕自身用のファイルはhkosuge, 他の人もusernameのファイルができている。
 ところが問題のclientは.ftakahata.popというファイルができていた。
 ファイルの所有者も普通はユーザー本人なのに、この場合は違っていた。

 このファイルがエラーの原因だというのは、明確だ。
 じゃあ、このファイルを削除すればよいのか?(実際そうだったが)
 しかし、その前に、理路整然とした理解と確信をしたい。

 そこで未知ファクターの"qpopper"を調べた。
 "qpopper"は、非常に有名なPOP3サーバーソフトだった。
(あたしゃ、Linuxは最近なんだもの...(^^;))
 qpopperは日本語マニュアルがなかったものの、
Popが失敗した時の簡単な調査方法[野村 敏昭さん]が、すべての答えを与えてくれた。


報告●
 (原因)メール受信サーバー(POP3) Qpopperがメールを受け取り途
中に、サーバーをリセットした(先週メール不調時)
 そのため、メール保存ファイル ftakahata (所有者ftakahata)
  が作業中 .ftakahata.pop (所有者1047)のまま残ってしまった。
  (/var/spool/mail/) ファイルロックされた。
 この一時ファイルがあると、メール受け取り作業は自動的に中止。
 また、所有者がftakahata でないため、passwordは承認拒否。

 (対応)
 ファイル名を変更→ftakahata、chmod変更

 (被害)
 先週の事故発生以後、今晩の修復まで(19:15)の受信予定メール
は全て受信されなかった。
 註)事故発生前の受信ログは回復。




■抗ウイルスソフト関連エラー

【メッセージ】 ●サーバーへの接続は失敗しました。 アカウント ::'aaaaa@medmk.com',サーバー ::'127.0.0.1',プロトコル ::POP3,ポート ::110,セキュリティ ((SSL):なし,ソケット エラー ::10061,エラー番号 ::0x800CCC0E
[2000.12.15]

●解説
 受信プロトコールPOP3 [Post Office Protocol version3]のエラー。
 これはRequest for comment[RFC] 1725, 1734, 1939, 1953に規格化されている。

10061 = The attempt to connect was forcefully rejected.
(このWinsoc error番号は http://www.mnc.co.jp/dss/csm/41j/admin/logs/logerr.htm に一覧)
0x800CCC0E のリストは入手できなかったが、ポート番号POP3=110 ,SMTP=25の場合。

●原因と対応策
1. ウイルス対策ソフト(Norton AntivirusなどのSpamメール対策により不具合が発生す
る場合があるということがある。
 →サーバー名をデフォルト値 127.0.0.1 からpop.medmk.comのような正式名称にむ
変更。 (会社のシステム担当に、DNSサーバーのAlias名を聞くなど)

2.ポート番号POP3=110 ,SMTP=25になっているかどうか確認する。

●補足<1>
 当社の場合、Norton Antivirus 2000をインストールして以来おかしくなったとのこと。
 サーバー名をデフォルト値 127.0.0.1 からpop.medmk.comに変更したのに、やはり
メールを読み込めない。
 アカウント名=(旧)aaaaa/210.226.186.178, (新)aaaaa に変更したらok

●関連資料
1724 RIP Version 2 MIB Extension. G. Malkin, F. Baker. November 1994.
(Format: TXT=29645 bytes) (Obsoletes RFC1389) (Status: DRAFT
STANDARD)
1734 POP3 AUTHentication command. J. Myers. December 1994. (Format:
TXT=8499 bytes) (Status: PROPOSED STANDARD)

[以下は英文だがキチンとした説明がされている]
Q191687 - XIMS:Outlook Express POP3,Error 0x800ccc0e,Socket Error 10061
Q195458 - OLEXP:Unable to Send or Receive Messages With Dr.Solomon's NetGuard Installed
Q176102 - MSN Err Msg:The Connection to the Server Has Failed...
Q218430 - XCLN:Client SMTP Connectivity Using Secure Socket Layer


●POPROXY のページ違反

●補足 2002.9.19 最近2〜3日前から突然、メール読み込み中に上記エラーが発生。 PCを再起動すると正常化する。 原因不明 【メッセージ】 POPROXY のページ違反です。 モジュール : KERNEL32.DLL、アドレス : 0177:bff7a128 Registers: EAX=006f7424 CS=0177 EIP=bff7a128 EFLGS=00010206 EBX=018eaa58 SS=017f ESP=0307fdc0 EBP=0307fdf4 ECX=54495551 DS=017f ESI=018e8a54 FS=5acf EDX=0d310a0d ES=017f EDI=006f9428 GS=0000 Bytes at CS:EIP: 89 51 08 8b 53 08 8b 43 04 8d 8b 0b 10 00 00 c1 Stack dump: 0307fdf4 018e8a54 018e0000 00000054 bff7b30e 018e0000 018e8a54 00002004 00000200 00757fec 018e8a58 00000054 018e8a54 0307fe3c 7800113d 018e0000 【状況】 【原因】 【処置】 --- PoproxyはNorton Antivirusのpop3メールをproxyするプログラム 対応パッチができるまでE-Mail protectionを無効化するしかない ●参考 Subject: [w00giving '99 #11] Norton Antivirus' POProxy w00w00 Security Development (WSD) --- PoproxyはNorton Antivirusのpop3メールをproxyするプログラム 対応パッチができるまでE-Mail protectionを無効化するしかない








●メール送信トラブル


■電子メールアドレスが拒否

サーバー エラー : 451, エラー番号 : 0x800CCC78
サーバー エラー : 553, エラー番号 : 0x800CCC79

●2000.8.29
要求されたタスクを処理中にエラーが発生しました。 詳しくはエラーの一覧を参照して下さい。
★タスク
X 1通のメッセージをNifty_internetで送信する。 [状態]失敗 [接続]HyperRoad
★エラー
送信者の電子メール アドレスが拒否されたため、メッセージを送信できませんでした。 送信者の電子メール アドレス : hkosuge@medmk.com 件名 'test through nifty_dialup', アカウント : 'Nifty_internet', サーバー : 'smtp.nifty.com', プロトコル : SMTP, サーバーの応答 : '451 ... Sender domain must be resolved', ポート : 25, セキュリティ (SSL): なし, サーバー エラー : 451, エラー番号 : 0x800CCC78

●要求されたタスクを処理中にエラーが発生しました。 詳しくはエラーの一覧を参照して下さい。
★タスク
X 1通のメッセージをNifty_internetで送信する。 [状態]失敗 [接続]HyperRoad
★エラー
受信者の 1 人がサーバーによって拒否されたため、メッセージを送信できませんでした。 拒否された電子メール アドレス : pharmisk@ask.ne.jp 件名 'testmail', アカウント : 'Nifty_internet', サーバー : '210.226.186.178', プロトコル : SMTP, サーバーの応答 : '553 ... Relay operation rejected', ポート : 25, セキュリティ (SSL): なし, サーバー エラー : 553, エラー番号 : 0x800CCC79

■エラーの原因
 Niftyのメールサービスを使った時に、Nifty以外のメールアドレスで、メール発信しようとしたから

■関連資料
Outlook Express 5でのNiftyメール設定

Nifty電子メールのセキュリティ対策について[4p]
1.送受信の制限
@nifty では、メールサーバーが、SPAM(迷惑メール)の中継などに悪用されないよ
う、POP before SMTP 方式を採用し、加えて、メール送受信時に差出人メールアド
レスの確認を行っております。
2.APOP 認証
メール受信時のPOP 認証をより安全に行うため、APOP 認証方式に対応しておりま
す。
[詳細は上記ページ参照のこと]




■メール設定アイコンが開かない問題

 [コントロールパネル] -[メール]が開かなくなった。
 開こうとすると、"メモリまたはシステムリソースが不足しています。 いくつかのウ
インドウを閉じてから再度行ってください。" というエラー。

 ところが空きメモリは20MB, 空きリソースは70。

 いろいろ調べたが、現在未解決。





■トラブル資料

●エラーFAQ集

Sakura Internet:メール受信時の主なエラーメッセージ メール送信または受信時のエラー内容と対処方法(Outlook Express) --- エラーコード別








●Hotmailトラブル


●メール消失

2001.12.25 【問題】 受信トレイからメールが全部消失した。 今回2度目 (サブフォルダ内は残った) 【経過】 Internet情報からそういう経験は報告されているが、解決策提示なし。 【原因】 不明 【解決】 Outlook, Outlook Express等でローカル保存する 【参考】 MSN Messengerにアクセス障害,友達リストも消失[01.7.6] Microsoft,長年の課題解決に着手――HotmailサーバをFreeBSDからWin2000に[00.8.3] --- 無料電子メールサービスのHotmailはこれまで,FreeBSD/Apacheに支えられてきた。 さてWindows 2000/IISへのインフラ移行で,利用者に影響は出ないか? Hotmail利用者は過去に,セキュリティホールの発覚やアドレス帳の喪失,電子メールメ ッセージの消失といった各種の問題に遭遇している。
●接続できない

【発生】2003.2.1-3 【問題】  突然、Hotmail Acountにアクセスできなくなった。  自宅、会社とも。サイトhttps://www.hotmail.com/にもアクセス不可。  不思議なことに、Windows Messenger経由でメール着信連絡は次々と来る。 【経過】 http://www.msn.co.jp/home.armxメニューの[メール]http://g.msn.co.jp/jp!s8.405_4262/50.b21/2??cm=Big7で .Net Passportのログイン画面になる。 passwordをいれてクリックすると、次ぎステッ プでDNS Error。 ★Outlook Expressによる受信を試みたら以下のエラー HTTP サーバーで新規メッセージをポールできませんでした。 アカウント : 'Hotmail', サーバー : 'http://services.msn.com/svcs/hotmail/httpmail.asp', プロトコル : HT TPMail, サーバーの応答 : '', ポート : 0, セキュリティ (SSL) : なし, ソケット エ ラー : 12007, エラー番号 : 0x800CCC0D 【原因】  Hotmail側のサーバーがダウンしていたらしい。 4日夕方回復。 【解決】  ok 【参考】 [popサーバー名]http://services.msn.com/svcs/hotmail/httpmail.asp ZDNet エンタープライズ:MSN Messengerに暗雲[2003.1.8] Webメールサービス一覧表
●Hotmailのhtmlメール表示エラー

【発生】2003.5.28 【問題】 仕事がらみで、まぐまぐ経由でhtml形式のメルマガを発行している。 読者(Hotmail)から次のメールが送られてきた。 > 空文で送られてきています。チェック願います。 >>From: mag2 ID 0000104198 >>Reply-To: mm@medmk.com >>To: hal_japan@hotmail.com >>Subject: 吉川医薬経済レポート 2003月6月号 >>Date: Tue, 27 May 2003 13:20:00 +0900 (JST) >  これには、添付ファイルがついていた。吉川医薬経済レポート 2003月6月号(29.0KB) 【経過】 1) 添付ファイルを開いてみた。 内容は、送付したメルマガが正常表示された。  どうも状況が把握できず、たまたま僕個人のHotmailアカウント、念のためGooと  Infoseek mailでメルマガ購読をして配布を待った。 2) Hotmail で受信したメルマガで問題点が再現された。 つまり本文があるべき部分に、[返信] [全員に返信] ...のヘッダー部の一部が 表示される。 そして、本文は、他のメールアカウントに転送や返信した場合、添付ファイルとして 出現する。 3) Goo mail, Infoseek Mailの他のWEBメールで、同じメルマガが正常受信したことを  確認。 Outlook Expressでの正常受信も確認。 4) Hotmail では多くの種類のHTMLメルマガを正常受信している。(Microsoft社からのものを含めて)   しかし唯一、同一の異常受信をするHTMLメルマガが、Mac OS X News(アップル社)。   尚同じ配布先のApple e-Newsは正常受信している。 5) ソースを正常受信のものと比較したが、相違は発見できず。 【原因1】  Hotmail側の受信システムの問題と思われる。  【原因2】  HOTMAIL受信で正常受信と異常受信のメルマガの相違を発見したかもしれない。  ソース部分で、正常なものは、本文が全て、<html> で始まっているのに対し、 異常受信の2種類は、その前に <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> が入っている。 【解決】  未解決。 当該ケースは、hotmail以外のアカウントを使用  Hotmail社には障害報告を行った。[2003.7.24] 【参考】
●主要サイト

ポケットPCnow!〜もっと快適に!電子メール活用サイト --- Hotmail対策室 --- Outlook Express Hotmail活用術 - Hotmail FAQ編 --- Hotmail掲示板
●資料

--- Microsoftサイトには、 Hotmailに関する情報は、100件以上検索される。 MicrosoftR HotmailR の FreeBSD から Microsoft WindowsR 2000 への移行 : テクニカル ケース スタディ[Microsoft Technet] --- 移行作業を解説した資料 Hotmail (HTTPメール) の設定方法[Microsoft] --- For MS Outlook 2002 JP287921 - Outlook Express から Hotmail にアクセスする場合の ISA の設定[Microsoft] --- For Microsoft Internet Security and Acceleration Server 2000 [M_IE5] Internet Explorer から MSN Hotmail を利用する方法[Microsoft] --- http://www.hotmail.com/JA/にアクセス [Hotmail] Hotmail についての Q&A[Microsoft 01.6.5] ---








●Qpopper


 POP3サーバーは電子メールを受信するためのサーバ。現在もっとも普及しているメール
受信プロトコル(通信規約)であるPOP3に対応しているもの。
 最近ではPOP3だけでなくIMAP4というプロトコルが使われることも多くなりPOP3とIMAP4
の両方に対応したメール受信サーバも存在する。
POP = Post Office Protocol 
 Qpopperは代表的なpop3サーバーソフトで無償配布されている。
 メールの受信トラブルの大半は、pop3サーバーによる。


●トラブル対策

●POP3 Serverが動いていることを確認する 以下のコマンドでPOP3 サーバ(通常 POP3 のポート番号は 110)が起動しているかどうか確認できます。 # telnet localhost 110 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. +OK QPOP (version 2.53) at xxx.company.co.jp starting. 自分のところでは、 +OK QPOP (version 3.0.2) at ft starting. となっているので起動されていた。 ●参考 POP3コマンド一覧 メールの受信:POP3(その1) [vine-users:025130] pop3サーバー(バージョンは3.0.2)での認証エラー イントラネット for Linux ver2.0 Standard版 FAQ
●ロックファイル

●ロックファイルとは?  メールサーバーにメールが到着し、各人のメールアドレスのファイルに書き込まれる。  例:(僕の会社ではSendmailを使用しているので、/var/spool/mail/に)  僕用のメール保存ファイル hkosugeに受信される。  サーバーから僕のPCにメール受信中のとき  .hkosuge.pop という一時ファイルが  サーバーにできる。 これはロックファイルと呼ばれ、これは排他制御のため。  異常終了(Freeze,強制中断など)で受信中に切れてしまった場合等は、lockファイルが 残る。  これがあると新規メッセージを受信できない。  (hkosuge.lockというロックファイルができる場合もある) ●異常終了状態を回復 1)スーパーユーザーになります。 自分の所有する以外のプロセスを殺せるのは、スーパーユーザーだけです。 2)ps -eを実行します。 プロセスのリストが表示されます。次のステップで、第一カラムのプロセス番号が使われ ます。もし、問題となっているプロセスの名前が分かっているのなら、次のようにgrepを 使えば簡単に目的のプロセス番号を見つけることが出来ます。 ps -e | grep popper 3)kill -15 PIDを実行します。 →例:kill -15 15313 4)ps -eで、本当にプロセスが死んだか確かめます。 もし、まだ生きていたら次のステップに進みます。 5)kill -9 PIDを実行します。 →例:kill -9 15313 これでプロセスは死んでいるはずです。 ●ロックファイルを削除  通常は10分程度で自動的に解除され正常化する。  しかし残る場合もある。 そうした時は手動で削除する。  [telnet] 1) cd /var/spool/mail/ または/var/mail/ 2) ls -al 3) ロックファイルが空のとき rm .*.pop 空でないとき a) cp .aaa.pop aaa b) rm .aaa.pop ●参考 killコマンド パソコンのメールソフトが急に使えなくなってしまった時の対処法
●Qpopperエラー関連資料

Popが失敗した時の簡単な調査方法[野村 敏昭さん] メールを渡してくれるプログラム(qpopper)の動作に起因することが大半。 各種ケースと対応策を解説。 メールのエラー解除サービス メールボックスの容量を超えたり、メールの使用中に回線が切れたりした場合、下記のよ うなメッセージが出る場合があります。 その場合はメールエラー解除を行う必要があります。 [-ERR Unable to copy mail spool file to temp pop dropbox/user/spool/mail/「メールアドレス」pop.] [-ERR Mail drop lock busy!]
●Qpopperリソース

 日本語マニュアルはないようだ。  おおくはインストールと設定など導入についての説明。 qpopperのinstall qpopper関連サイトとインストールの詳細。 ソースの取得|研究室内向けのserverのコンパイル|研究室内向けのserverのコンパイル(qpopper3.0b12) 研究室内向けのserverのコンパイル(qpopper3.0b26)|起動の設定 研究室外向けのserverのコンパイル|研究室内・外向けのserverの切り替えの設定 stoneを用いてSSL対応にしよう 米Qualcomm社Eudora-Qpopperホームページ Download, FAQ, マニュアル(PDF, 464kb) qpopperのインストールとShadow password(PAM) qpopper の設定 qpopperを入れる(POP3 サーバ) qpopper-2.53のインストール Qpopper qmail for Red Hat Linux qpopper(APOP) 4.5.2 Qpopper エラーについても言及。 Sendmail + Qpopper + Drac で POP before SMTP qpopperのインストール -- 設定、オプション説明など popperリセット方法








●Sendmail


●主要ファイルの所在

【プログラム】  /usr/sbin/sendmail 【設定ファイル】 /etc/sendmail.cf 【ログ】     /var/spool/mail , /var/log/maillog,sendmail.st 【マニュアル】  /etc/cf-3.7wpl2/doc/manual.jpn ; /etc/cf/doc/manual.jpn 【実行オプション】 sendmailの再起動     % /etc/rc.d/init.d/sendmail restart [enter] Usage: sendmail {start|stop|restart|status} 【その他】  /var/spool/mail/temp.pop(ロックファイル) ●参考 メールサーバとは KK-NET バーチャルサーバーマニュアル




■Sendmailサーバー

●公式サイト

sendmail.org

FAQ 現在8.12.1が最新版 ●Windows版 Sendmail NT 3.0.2[アスキーNT] --- 3.02 ;\89,800 (50's);日本語オンラインヘルプ ; Sendmail for NTは、米国Sendmail,Inc. の製品 英文版$495
●サーバー構築

メールサーバ構築 --- sendmailによるサーバー構築、各種関連マニュアル、テスト方法など CF の簡易マニュアル CF の マニュアル[41p] Sendmail.defなど Mail Server パッケージ ---パッケージについての説明です。 設定ファイル ---設定手順の概要説明です。 ダウンロード ---CFツールのダウンロード説明です。 解    凍 ---解凍、標準機能定義ファイルの説明です。 sendmail.def ---sendmail.defの設定解説です。以下、その細部の解説です。 ---sendmail.cf の種別を宣言 ---OS種別の設定 ---sendmail の種別設定 ---ホスト名の設定 ---使用アドレスに関する設定 受信に関する設定 ---配信拒否に関する設定 make ---sendmail.def から設定ファイルsendmail.cfを生成 動作テスト ---テストモードで起動し、動作試験を行います。 コピー ---sendmail.cf を /etc 以下にコピーします。 起動 ---sendmailを再起動します。
●設定ファイル

sendmail.cfの作成 ---sendmailを正しく設定するには、/etc/sendmail.cfとファイルをサイトにあわせて作 成する必要がある。sendmail.cfファイルの書式は複雑で、作成が面倒なもののひとつで あるので、CFというツールを使って生成するのが一般的である。ここでは、CF-3.7Wとい うバージョンを使用して、Solaris 7/8の/usr/lib/sendmail用のcfファイルを作成する方法を解説する。 FreeBSD jpman project:SENDMAIL ---sendmailの書式とオプション ちょっと sendmail.cf[10p] ---sendmailインストール、cf主要項目設定。 別にほぼ完全な定義解説付属 --- --- フォームからのメール送信(sendmail)

●FAQ

Sendmail -FAQ

●sendmailログ

作業ログ エラーログを残したいとのことですが、私はSendmail OSAXを使用して、エラー時の レポートをメールで送信することを試しています。メールでログを飛ばしておけば、 どこからでも見られるし、メーリングリストに投げるようになっていれば、ほかの人 からも注意してもらえるからです。 sendmail OSAX http://www.vampiresoft.com メールを投げる機能は、スケジューリングして動かすスクリプト側に埋め込んでおけ ばOKでしょう。[MacOS用のみ]
●関連ツール

MS-Windows用sendmail.cgi ---sendmailが存在しないローカルPCにこのsendmail.cgiを設置することで、sendmail を必要とするプログラムが使えるようになる、とても嬉しいプログラムです。 環境条件:ActivePerl 最新版がインストールされていること。 作動確認バージョン: ActivePerl 5.6.1.628 悪用防止のため、使用にはSMTPサーバが必要になります。 (つまりSMTPサーバ無しにこれ単体ではメール送信できないって事)




■Sendmailの主要設定設定

●配信拒否の設定

●[sendmail.def]の該当部に解説付加 CHECK_HOST_ALLOW=/etc/sendmail.allow   *medmk.com CHECK_HOST_DENY=/etc/sendmail.deny    # LOCAL_HOST_IPADDR=/etc/sendmail.localip  下記 LOCAL_HOST_DOMAIN=/etc/sendmail.localdomain medmk.com CLIENT_HOST_DOMAIN=/etc/sendmail.clientdomain CLIENT_FROM_DOMAIN=/etc/sendmail.clientfrom #ROAM_HOST_IPADDR=/etc/sendmail.roamip #ROAM_HOST_DOMAIN=/etc/sendmail.roamdomain #ROAM_USERS=/etc/sendmail.roamusers ALLOW_RECIPIENT_DOMAIN=/etc/sendmail.acceptdomain medmk.com ALLOW_RELAY_FROM=/etc/sendmail.relay.from #ALLOW_RELAY_TO=/etc/sendmail.relay.to RELAY_MAP=/etc/sendmail.relay.map #CLIENT_DENY_TO=/etc/sendmail.deny.to #RELAY_MAP_INSIDE=hash:/etc/sendmail.inside.relay.map [/etc/sendmail.localip] 210.226.186.188 192.168.10 [/etc/sendmail.cw] # sendmail.cw - include all aliases for your machine here. # [smtpcheck] MAIL_RELAY_RESTRICTION=yes    配信拒否機能を有効(デフォルト値yes) #WITH_OLD_CF=no # (just for smtpcheck.def) CHECK_HOST_ALLOW=/etc/sendmail.allow   *medmk.com SMTP接続を許可するホストのホスト名(FQDN)またはIPアドレスを空白文字で区 切って列挙します。 許可後もSPAM_*、LOCAL_*、ALLOW_*等によるチェックが行われます。 デフォルトは空。 CHECK_HOST_DENY=/etc/sendmail.deny      # SMTP接続を拒否するホストのホスト名(FQDN)またはIPアドレス CHECK_RELAY_DEFAULT=allow # (allow/deny) CHEK_HOST_ALLOWにも CHEK_HOST_DENYにも指定されていないホストのSMTP接続許 可・不許可を指定します。 許可の場合は allow を、不許可の場合はdenyを指定します。 デフォルトは、allow です。 # LOCAL_HOST_* does not check senders address LOCAL_HOST_IPADDR=/etc/sendmail.localip 受信・中継を無条件で許可するIPアドレスのリスト、またはファイル。 [/etc/sendmail.localip] 210.226.186.188 192.168.10 ##LOCAL_HOST_IPADDR=130.54.0 LOCAL_HOST_DOMAIN=/etc/sendmail.localdomain medmk.com 受信・中継を無条件で許可するドメインのリスト、またはファイル ##LOCAL_HOST_DOMAIN=sub.kyoto-u.ac.jp # # CLIENT_* does check senders address ##CLIENT_HOST_IPADDR=/etc/sendmail.clientip 受信・中継をCLIENT_FROM_DOMAINに従って許可するホストのIPアドレスのリスト 、またはファイルを指定します。 IPアドレスは、スペースで区切って列挙します。IPアドレスとしてネットワーク 部のみを指定した場合、指定ネットワークに属するすべてのホストが許可。 ##CLIENT_HOST_IPADDR=130.54 ##CLIENT_HOST_DOMAIN=/etc/sendmail.clientdomain 受信・中継をCLIENT_FROM_DOMAINに従って許可するホストのドメインのリスト、 またはファイルを指定します。 ドメインは、スペースで区切って列挙します。FQDNのドメイン部のみを指定した 場合は、指定ドメインに属するすべてのホストが許可されます。 ドメイン名として、マクロ文字列 $j、$m の指定も可能です。 例) CLIENT_HOST_DOMAIN='$ ##CLIENT_HOST_DOMAIN=kyoto-u.ac.jp ##CLIENT_FROM_DOMAIN=/etc/sendmail.clientfrom CLIENT_HOST_IPADDR と CLIENT_HOST_DOMAINに該当するホストからのメールで、 中継を許可する発信者ドメイン名を指定します。 ここで指定のドメイン名を発信者メールアドレスに持つ場合に、中継が許可。 これにより、発信者メールアドレスの詐称に制限をかける。 メーリングリスト配信の場合は、他組織のアドレスのまま投稿が行われるので、 この制限をかけるべきではない。 ##CLIENT_FROM_DOMAIN=kyoto-u.ac.jp #(CLIENT_FROM_DOMAIN will cause a trouble when global MLs are operated #at client hosts.) # # ROAM_* does check senders address ##ROAM_HOST_IPADDR=/etc/sendmail.roamip ##ROAM_HOST_IPADDR=133.3 ##ROAM_HOST_DOMAIN=/etc/sendmail.roamdomain ##ROAM_HOST_DOMAIN=kyoto.isp.jp ##ROAM_USERS=/etc/sendmail.roamusers ##ROAM_USERS='user1@kyoto-u.ac.jp user2@sub.kyoto-u.ac.jp' # # create db with "makemap hash /etc/sendmail.spamlist.db < list" for hash. # types are: null, dbm, hash, btree,... (null is to ignore this map) ##SPAM_LIST=hash:/etc/sendmail.spamlist ##SPAM_REGEX='^[0-9]+@(aol|msn)\.com' # # Use the MAPS (the Mail Abuse Protection System) RBL (Realtime Blackhole # List) by Paul Vixie (see http://maps.vix.com/rbl/) (yes/no/log/mark) # ("log"/"mark" can be used with sendmail 8.9.1+3.1W) # You should be aware of extra DNS traffic #USE_MAPS_RBL=no # Use the ORBS (Open Relay Blocking System) provided by www.dorkslayers.com # (see http://www.dorkslayers.com/orbs/) (yes/no/log/mark) # ("log"/"mark" can be used with sendmail 8.9.1+3.1W) # You should be aware of extra DNS traffic #USE_ORBS=no # # Reject from-addresses without domain part (just a user name) (yes/no) #NEED_SENDER_DOMAIN=yes # # Reject from-addresses with one-token domain part (not FQDN) (yes/no) #CHECK_FROM_FQDN=yes # # Verify existence of DNS entry for sender address # CAUTION: messages will be rejected even if just DNS lookup failure # with sendmail 8.8(V7), and you also should be aware of extra DNS traffic # (yes/no/log/mark) ("log"/"mark" can be used with sendmail 8.9.1+3.1W) #USE_SENDER_DNS_CHECK=no # # Allow relaying if I am an MX host for the recipient (yes/no) (V8 or later) # Your sendmail should be compiled with NAMED_BIND=1 #LOWER_MX_OK=no # ALLOW_RECIPIENT_DOMAIN=/etc/sendmail.acceptdomain *medmk.com 中継を許可する受信者ドメイン、またはそれを列挙したファイルを指定。 自サーバが受信する宛先ドメイン(OFFICIAL_NAME、 ACCEPT_ADDRS)は、自動的 に許可されますので、このほかに許可するドメインを指定します。 ##ALLOW_RECIPIENT_DOMAIN=hash:/etc/sendmail.acceptdomain ##ALLOW_RECIPIENT_DOMAIN=kyoto-u.ac.jp ALLOW_RELAY_FROM=/etc/sendmail.relay.from 中継を許可する発信者アドレスのドメインまたはそれを列挙したファイル指定。 この発信者ドメインを持つメールは、CLIENT_HOST_*やLOCAL_HOST_*に登録され ていないホストからでも、すべて許可します。 ##ALLOW_RELAY_FROM=kyoto-u.ac.jp ##ALLOW_RELAY_TO=/etc/sendmail.relay.to 中継を許可する受信者アドレスのドメインまたはそれを列挙したファイルを指定。 発信者のアドレスは問いません。 ##ALLOW_RELAY_TO=kyoto-u.ac.jp ##RELAY_MAP=hash:/etc/sendmail.relay.map RELAY_MAP=/etc/sendmail.relay.map # ##CLIENT_DENY_TO=/etc/sendmail.deny.to 中継を拒否する受信者アドレスのドメインまたはそれを列挙したファイル指定。 発信者アドレスに関わらず、指定したドメイン名が含まれる受信者アドレスを持 つメールは、すべて拒否されます。 ##CLIENT_DENY_TO=kyoto-u.ac.jp ##RELAY_MAP_INSIDE=hash:/etc/sendmail.inside.relay.map ## reject source routing from out side (yes/no) #REJECT_EXTERN_SRR=yes # # Reject recipients as if the recipients are unknown users. # create db with "makemap hash /etc/sendmail.rejrcpt.db < list" for hash. # types are: null, dbm, hash, btree,... (null is to ignore this map) ##REJ_RCPT_LIST=hash:/etc/sendmail.rejrcpt # # (Following configurations are independent of MAIL_RELAY_RESTRICTION) # Checking contents of header (V8 or later) # Reject messages with ill formated Message-Id: (yes/no) #HDR_REJECT_BADMID=no # Reject messages with specific addresses in To:/Cc: ##HDR_REJECT_RCPTADDRS=friend ##HDR_REJECT_RCPTADDRS=friend@public.com ##HDR_REJECT_RCPTADDRS=/etc/sendmail.hdrrejaddr # Action for rejection (error/discard) error=bounce; discard=/dev/null #HDR_REJECT_ACTION=error
●POPbeforeSMTP

POP before SMTP の設定 ---[用意するもの]sendmail(可能ならば、最新の8.9.3) qpopper2.53(Qualcommからダウンロード) watcher2.pl(京都大学・北野さん作成のPerlスクリプト。ここにあります [概要] 1.qpopper(POPサーバ)にパッチを当て、POP認証が成功した場合にIPアドレスを含むログ を吐くようにします。 2.watcher2.plというスクリプトにより、ログからアクセス元のIPアドレスリストを作ります。 3.sendmail.cfを書き換え、SMTPサーバにアクセスがあった場合、アドレスリストに書い てあるIPからのアクセスのみ許可するように設定します。 [以下略] ★POP-before-SMTPの構築 ---[用意するもの]sendmail(可能ならば、最新の8.9.3) qpopper2.53(Qualcommからダウンロード) watcher2.pl(京都大学・北野さん作成のPerlスクリプト。ここにあります





●参考情報

■メールサーバー用ツール

●Quota: メール容量制限ツール

quota は各ユーザーのHDDの使用量を制限するツール。 quotaのインストールと運用 "quota"は各ユーザのハードディスク使用量を制限するためのツールです。たとえばメールサーバなどで各ユーザ毎のディスク使用量やファイル数を制限することができます。 [linux-users:57059] Re: メールの送信容量制限 by YOSIDA Katuaki sendmailをお使いなら、sendmail.cfのMaxMessageSizeで 設定できます。maillogにログも残ります。
●ログ解析ツール

SAL for Sendmail[Vector] sendmailのログ解析とレポート作成。 \5,000 ●SAL for Apache[Vector] Apacheのログ解析とレポート作成。 \5,000 by ネットマークス
●Telnet

telnetの使い方 ポートを指定して使おう ---telnet はポート番号を指定してサーバに接続し、その動作を直接確認するのに 用いることができます。 サーバの開発時のテストや、インストール時の動作確認に非常に便利です。 また、アプリケーションレベルのプロトコルを勉強するのにもとても有効です smtpサーバへの接続 --telnetでメールを出す! ---SMTPサーバに対して直接接続してみましょう。 メールソフトがどのように通信しているか理解することができます。 popサーバへの接続...telnetでメールを読む ---出先でメールのソフトが無いときにも、直接コマンドを実行して読める! SO-Net Q&A: Windows標準のTelnetによるメールの削除方法
●サーバにあるメールの削除方法

 そのための専用ツールがある。 「リモートメール専用ツール」というんだそうな。 Windows版は、nPOPが有名。 リモートメール機能は、普通のメーラー(Becky!など)に付いているケースもある。 Outlook 97, Outlook Express 5(MAC版), Becky, 電信八号 またTelnetでも可能。 ●nPOP nPOPのホームページとダウンロード先 --- Sonet Q&A:トラブルシューティング(サーバにあるメールの削除編) --- nPOPによるメールの削除方法MAIL DELETER Ver.1.20B --- Free; POP3サーバ上の不要メールを削除 ●参考情報 サーバにあるメールの削除方法 --- ○Windows95,98,NTユーザ --- nPOPによるサーバにあるメールの削除方法  ○Macintoshユーザ --- Mail-Deleteによるサーバにあるメールの削除方法 またOutlook 2000/97でも、リモートメール機能あり(2000は[ツール] -[リモートメー ル]の機能はあるもののMS Exchangeがないとダメみたいだ)。 Sonet Q&A:トラブルシューティング(サーバにあるメールの削除編) --- nPOPによるメールの削除方法 --- Windows標準のTelnetによるメールの削除方法 Becky! Internet Mailのメールサーバー上でのメール削除方法 --- ---




■WEBメール

●WEBメールとは

ウェブメール(Webメール)は、インターネットのホームページ上で電子メールを利用できるサービス。 CNET:Webメール
●WEBメールの仕組みと制限

サイボウズ「Webメール 4」の仕組みと制限 ★[メール送信の仕組み] メールを送信する時は、その逆になります。クライアントが「Webメール 4」を利用して 送信されたメールは、送信メールサーバーに渡され、配送されていきます。通常、送信メ ールサーバーは受信メールサーバーと同じです。送信されたメールのコピーが、「Webメ ール 4」の [送信箱] に保管されます。 ★[メール送受信での制限] 「Webメール 4」で、未対応となっているメールサーバーには以下の通りです。これらの 設定がなされているメールサーバーでは「Webメール 4」を使用してのメール送受信がで きなくなっております。「Webメール 4」導入前にご確認いただきますようお願いいたします。 1)APOPコマンド、AUTHコマンドのみでユーザー認証を行うメールサーバー 2)送信前に POP サーバー での認証(POP before SMTP)を必要とするメールサーバー 3)ポート番号 25 以外を使用してメールを送信するメールサーバー 4)ポート番号 110 以外を使用してメールを受信するメールサーバー
●WEB 型メールサーバソフト

WallEdge:WEB 型メールサーバソフト ---Linux(FreeBSD,Redhat)+Apache+WallEdge; 価格5's =\5,400
●その他




■メールに関する総説

●動向

Eジャパン協議会 ---[旧]電子メッセージング協議会 - 2000年度企業における電子メールの利用、及びインターネットのビジネス利用に関する動向調査財団法人マルチメディア振興センター[FMMC] 迷惑メールの実態と対応策に関する調査研究報告書[2005.3] - [pdf,203p] インターネット利用実態とリテラシー向上対策の調査研究報告書[2006.3] - [pdf,183p]総務省 迷惑メール対策 国民のための情報セキュリティサイト
●レビュー

電子メール利用に関するアンケート調査結果について[日本商工会議所,2002.9] 「ほぼ全員が電子メールを利用する」との回答が、大企業で約9割(40社88.9%)、 中小企業でも約7割(46社69.7%)に達した。「電子メールはほとんど利用してい ない」との回答は、大企業・中小企業ともゼロで、ビジネスにおける電子メールの普及が覗える。 ●CNET Japan Tech News:電子メール30年の歩み(上) |(下) By Paul Festa/日本語版 関口里華; Wed 10 Oct 2001 16:00 PT

米フォレスターリサーチの調査によると、現在アメリカ人の半数以上が電子メールを利用しており、平均利用時間は一日30分になるという。また、米ジュピターメディアメトリックスは、米国の「積極的な」電子メールユーザーは、2001年の8700万人から2006年には1億4000万人になると予想している。

電子メールの利用状況
以下の通信手段を利用する北米の消費者の割合と1日の平均利用時間
固定電話92%45分
電子メール53%29分
携帯電話43%16分
インスタント・メッセージ17%16分
オンライン・チャット9%24分
携帯メッセージ4%14分

出典:米フォレスターリサーチ







Outlook Expressリソースと活用
POP Before SMTP
スパムメール
メールマガジン・ML発行
資料●WEB_MAIL/インターネットメール・ツール
Tips 目次へ戻る。
ホームへ戻る。
作成:2000.9.11 最終更新:2006.8.28 小菅博之 [E-Mail: hkosuge@medmk.com]