メールトラブルtips
(WEBメール/Sendmail/ほか)
| ●SMTPサーバレスポンスコード一覧(RFC2822, RFC1123) |
レスポンスコードは3桁で示され,それぞれ1桁目は障害種類,2桁目は障害区分,3桁目は
症状を示しています.詳細は,RFC2822, RFC1132 で定義
| 2xx : 正常系 | 211 | ステータスメッセージ |
| 214 | ヘルプメッセージ |
| 220 | サービス準備完了 |
| 221 | 切断 |
| 250 | 正常終了 |
| 251 | 受信者がローカルユーザーでないが送信は行う |
| 252 | VRFYコマンド利用不可 |
| 3xx : 正常系:コマンド受け入れ後にさらに入力が必要
| 354 | メッセージを送信し"CRLF.CRLF"で終了せよ |
| 4xx : 一時的なエラー.再度実行すれば成功する可能性がある | 421 | 利用不可 |
| 450 | メールボックス利用不可のため失敗(一時的) |
| 451 | サーバエラー |
| 452 | メモリ不足 |
| 5xx : 恒久的なエラー.問題を修正しなければ成功しない
| 500 | 不明なコマンド |
| 501 | コマンド引数エラー |
| 502 | コマンド未実装 |
| 503 | コマンド順序不正 |
| 504 | コマンドパラメーター未実装
|
| 550 | メールボックス利用不可のため失敗(恒久的) |
| 551 | ユーザーがローカルユーザーでない |
| 552 | クライアント記憶域割り当て超過によるコマンド中止 |
| 553 | メールボックス名が無効 |
| 554 | トランザクション失敗 |
| 上記表の各コードに共通 | x0x | 文法エラー |
| x1x | 付加メッセージ |
| x2x | SMTP接続関連 |
| x5x | クライアント側の問題 |
from メールシステムの基礎と送受信処理
| ●Outlook Expressエラーメッセージ一覧 |
| ErrorCode | Error type | Description |
| ●General Errors |
| 0x800CCC00 | LOAD_SICILY_FAILED | Authentication did not load |
| 0x800CCC01 | INVALID_CERT_CN | Invalid certificate content |
| 0x800CCC02 | INVALID_CERT_DATE | Invalid certificate date |
| 0x800CCC03 | ALREADY_CONNECTED | User already connected |
| 0x800CCC04 | CONN | |
| 0x800CCC05 | NOT_CONNECTED | サーバーに接続していない |
| 0x800CCC06 | CONN_SEND | |
| 0x800CCC07 | WOULD_BLOCK | |
| 0x800CCC08 | INVALID_STATE | |
| 0x800CCC09 | CONN_RECV | |
| 0x800CCC0A | INCOMPLETE | Message download incomplete |
| 0x800CCC0B | BUSY | Server or maildrop is busy |
| 0x800CCC0C | NOT_INIT | |
| 0x800CCC0D | CANT_FIND_HOST | サーバー発見不可 |
| 0x800CCC0E | FAILED_TO_CONNECT | サーバー接続不可 |
| 0x800CCC0F | CONNECTION_DROPPED | Connection closed |
| 0x800CCC10 | INVALID_ADDRESS | サーバーアドレス不明 |
| 0x800CCC11 | INVALID_ADDRESS_LIST | Mailing list not known on server |
| 0x800CCC12 | SOCKET_READ_ERROR | Unable to send Winsock request |
| 0x800CCC13 | SOCKET_WRITE_ERROR | Unable to read Winsock reply |
| 0x800CCC14 | SOCKET_INIT_ERROR | Unable to initialize Winsock |
| 0x800CCC15 | SOCKET_CONNECT_ERROR | Unable to open Windows Socket |
| 0x800CCC16 | INVALID_ACCOUNT | User account認識不可 |
| 0x800CCC17 | USER_CANCEL | User canceled operation |
| 0x800CCC18 | SICILY_LOGON_FAILED | Logon失敗 |
| 0x800CCC19 | TIMEOUT | |
| 0x800CCC1A | SECURE_CONNECT_FAILED | Unable to connect using SSL. |
| ●WINSOCK Errors |
| 0x800CCC40 | WINSOCK_WSASYSNOTREADY | Network subsystem is unusable |
| 0x800CCC41 | WINSOCK_WSAVERNOTSUPPORTED | Windows Sockets cannot support this application |
| 0x800CCC42 | WINSOCK_WSAEPROCLIM | |
| 0x800CCC43 | WINSOCK_WSAEFAULT | Bad address |
| 0x800CCC44 | WINSOCK_FAILED_WSASTARTUP | Unable to load Windows Sockets |
| 0x800CCC45 | WINSOCK_WSAEINPROGRESS | Operation now in progress. |
| ●SMTP Errors |
| 0x800CCC60 | SMTP_RESPONSE_ERROR | Invalid response |
| 0x800CCC61 | SMTP_UNKNOWN_RESPONSE_CODE | Unknown error code |
| 0x800CCC62 | SMTP_500_SYNTAX_ERROR | Syntax error returned |
| 0x800CCC63 | SMTP_501_PARAM_SYNTAX | Parameter syntax incorrect |
| 0x800CCC64 | SMTP_502_COMMAND_NOTIMPL | Command not implemented |
| 0x800CCC65 | SMTP_503_COMMAND_SEQ | Improper command sequence |
| 0x800CCC66 | SMTP_504_COMMAND_PARAM_NOTIMPL | Command not implemented |
| 0x800CCC67 | SMTP_421_NOT_AVAILABLE | Command not available |
| 0x800CCC68 | SMTP_450_MAILBOX_BUSY | Mailbox is locked and busy |
| 0x800CCC69 | SMTP_550_MAILBOX_NOT_FOUND | Mailbox not found |
| 0x800CCC6A | SMTP_451_ERROR_PROCESSING | Error processing request |
| 0x800CCC6B | SMTP_551_USER_NOT_LOCAL | User mailbox is known, but mailbox not on this server |
| 0x800CCC6C | SMTP_452_NO_SYSTEM_STORAGE | No space to store messages |
| 0x800CCC6D | SMTP_552_STORAGE_OVERFLOW | Storage limit exceeded |
| 0x800CCC6E | SMTP_553_MAILBOX_NAME_SYNTAX | Invalid mailbox name syntax |
| 0x800CCC6F | SMTP_554_TRANSACT_FAILED | Transaction failed |
| 0x800CCC78 | SMTP_REJECTED_SENDER | Unknown sender. This is caused by having the incorrect e-mail address in the Reply-To field |
| 0x800CCC79 | SMTP_REJECTED_RECIPIENTS | Server rejected recipients |
| 0x800CCC7A | SMTP_NO_SENDER | No sender address specified |
| 0x800CCC7B | SMTP_NO_RECIPIENTS | No recipients specified. |
| ●POP3 Errors |
| 0x800420CB | POP3_NO_STORE | Mail cannot be stored on server |
| 0x800CCC90 | POP3_RESPONSE_ERROR | Client response invalid |
| 0x800CCC91 | POP3_INVALID_USER_NAME | Invalid user name or user not found |
| 0x800CCC92 | POP3_INVALID_PASSWORD | Password not valid for account |
| 0x800CCC93 | POP3_PARSE_FAILURE | Unable to interpret response |
| 0x800CCC94 | POP3_NEED_STAT | STAT Command required |
| 0x800CCC95 | POP3_NO_MESSAGES | No messages on server |
| 0x800CCC96 | POP3_NO_MARKED_MESSAGES | No messages marked for retrieval |
| 0x800CCC97 | POP3_POPID_OUT_OF_RANGE | Message ID out of range. |
| ●HTTPmail Error |
| 0x800CCC31 | | Bad Request Configuration Bad or malformed request. |
| ●NNTP Errors |
| 0x800CCCA0 | NNTP_RESPONSE_ERROR | News server response error |
| 0x800CCCA1 | NNTP_NEWGROUPS_FAILED | Newsgroup access failed |
| 0x800CCCA2 | NNTP_LIST_FAILED | LIST command to server failed |
| 0x800CCCA3 | NNTP_LISTGROUP_FAILED | Unable to display list |
| 0x800CCCA4 | NNTP_GROUP_FAILED | Unable to open group |
| 0x800CCCA5 | NNTP_GROUP_NOTFOUND | Group not on server |
| 0x800CCCA6 | NNTP_ARTICLE_FAILED | Message not on server |
| 0x800CCCA7 | NNTP_HEAD_FAILED | Message header not found |
| 0x800CCCA8 | NNTP_BODY_FAILED | Message body not found |
| 0x800CCCA9 | NNTP_POST_FAILED | Unable to post to server |
| 0x800CCCAA | NNTP_NEXT_FAILED | Unable to open next message |
| 0x800CCCAB | NNTP_DATE_FAILED | Unable to display date |
| 0x800CCCAC | NNTP_HEADERS_FAILED | Unable to display headers |
| 0x800CCCAD | NNTP_XHDR_FAILED | Unable to display MIME headers |
| 0x800CCCAE | NNTP_INVALID_USERPASS | Invalid user or password. |
| ●RAS Errors |
| 0x800CCCC2 | RAS_NOT_INSTALLED | RAS/DUN not installed |
| 0x800CCCC3 | RAS_PROCS_NOT_FOUND | RAS/DUN process not found |
| 0x800CCCC4 | RAS_ERROR | RAS/DUN error returned |
| 0x800CCCC5 | RAS_INVALID_CONNECTOID | Connectoid damaged or missing |
| 0x800CCCC6 | RAS_GET_DIAL_PARAMS | Error getting dial settings. |
| ●IMAP Errors |
| 0x800CCCD1 | IMAP_LOGINFAILURE | Login failed |
| 0x800CCCD2 | IMAP_TAGGED_NO_RESPONSE | Message tagged |
| 0x800CCCD3 | IMAP_BAD_RESPONSE | Invalid response to request |
| 0x800CCCD4 | IMAP_SVR_SYNTAXERR | Syntax error |
| 0x800CCCD5 | IMAP_NOTIMAPSERVER | Not an IMAP server |
| 0x800CCCD6 | IMAP_BUFFER_OVERFLOW | Buffer limit exceeded |
| 0x800CCCD7 | IMAP_RECVR_ERROR | Recovery error |
| 0x800CCCD8 | IMAP_INCOMPLETE_LINE | Incomplete data |
| 0x800CCCD9 | IMAP_CONNECTION_REFUSED | Connection not allowed |
| 0x800CCCDA | IMAP_UNRECOGNIZED_RESP | Unknown response |
| 0x800CCCDB | IMAP_CHANGEDUID | User ID has changed |
| 0x800CCCDC | IMAP_UIDORDER | User ID command failed |
| 0x800CCCDD | IMAP_UNSOLICITED_BYE | Unexpected disconnect |
| 0x800CCCDE | IMAP_IMPROPER_SVRSTATE | Invalid server state |
| 0x800CCCDF | IMAP_AUTH_NOT_POSSIBLE | Unable to authorize client |
| 0x800CCCE0 | IMAP_OUT_OF_AUTH_METHODS | No more authorization types. |
|
●参考
Microsoft's Outlook Express Error Codes
OLEXP: Outlook Express Error Codes
Outlook Express メールエラー集
OEエラ-&対処法
- 詳細に対処方法を解説
Outlook Expressの メール送受信時のエラー一覧
- 各種パターンと対応策
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で使う特殊文字・文字コード・フォント: -文字化け
に纏めてあるので参照のこと。
【メッセージ】[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]でメールの受信ができない
【メッセージ】
サーバーを確認して下さい。"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
●補足 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。
いろいろ調べたが、現在未解決。
Sakura Internet:メール受信時の主なエラーメッセージ
メール送信または受信時のエラー内容と対処方法(Outlook Express)
--- エラーコード別
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メールサービス一覧表
【発生】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]
---
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コマンド
パソコンのメールソフトが急に使えなくなってしまった時の対処法
Popが失敗した時の簡単な調査方法[野村 敏昭さん]
メールを渡してくれるプログラム(qpopper)の動作に起因することが大半。
各種ケースと対応策を解説。
メールのエラー解除サービス
メールボックスの容量を超えたり、メールの使用中に回線が切れたりした場合、下記のよ
うなメッセージが出る場合があります。
その場合はメールエラー解除を行う必要があります。
[-ERR Unable to copy mail spool file to temp pop dropbox/user/spool/mail/「メールアドレス」pop.]
[-ERR Mail drop lock busy!]
日本語マニュアルはないようだ。
おおくはインストールと設定など導入についての説明。
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リセット方法
【プログラム】 /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 バーチャルサーバーマニュアル
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.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
★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 は各ユーザーの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 はポート番号を指定してサーバに接続し、その動作を直接確認するのに
用いることができます。
サーバの開発時のテストや、インストール時の動作確認に非常に便利です。
また、アプリケーションレベルのプロトコルを勉強するのにもとても有効です
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メール)は、インターネットのホームページ上で電子メールを利用できるサービス。
CNET: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 以外を使用してメールを受信するメールサーバー
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]