SMTP

SMTP 421 Service Not Available vs 450 Mailbox Unavailable

Both SMTP 421 (Service Not Available) and 450 (Mailbox Unavailable) belong to the 4xx Transient Negative category. 421 indicates that the SMTP service is not available and the server is closing the transmission channel. This may be sent as a greeting or during a session if the server needs to shut down. Meanwhile, 450 means that the requested mail action was not taken because the mailbox is temporarily unavailable. This could be due to the mailbox being locked by another process or a temporary policy restriction.

説明

The SMTP service is not available and the server is closing the transmission channel. This may be sent as a greeting or during a session if the server needs to shut down.

このコードが表示される場合

When connecting to a mail server that is overloaded, undergoing maintenance, or shutting down. The server cannot handle your request right now.

解決方法

Retry the connection after a delay. If the issue persists, check server status and resources (CPU, memory, disk). Rate limiting or greylisting may also trigger this response.

説明

The requested mail action was not taken because the mailbox is temporarily unavailable. This could be due to the mailbox being locked by another process or a temporary policy restriction.

このコードが表示される場合

When the recipient's mailbox exists but is currently locked, busy, or subject to greylisting. The server is asking you to try again later.

解決方法

Retry delivery after a few minutes. If using greylisting, the second attempt will typically succeed. For persistent failures, check if the recipient's mailbox is full or disabled.

主な違い

1.

SMTP 421: The SMTP service is not available and the server is closing the transmission channel. This may be sent as a greeting or during a session if the server needs to shut down.

2.

SMTP 450: The requested mail action was not taken because the mailbox is temporarily unavailable. This could be due to the mailbox being locked by another process or a temporary policy restriction.

3.

You encounter 421 when when connecting to a mail server that is overloaded, undergoing maintenance, or shutting down. The server cannot handle your request right now.

4.

You encounter 450 when when the recipient's mailbox exists but is currently locked, busy, or subject to greylisting. The server is asking you to try again later.

どちらをいつ使うか

For 421 (Service Not Available): Retry the connection after a delay. If the issue persists, check server status and resources (CPU, memory, disk). Rate limiting or greylisting may also trigger this response. For 450 (Mailbox Unavailable): Retry delivery after a few minutes. If using greylisting, the second attempt will typically succeed. For persistent failures, check if the recipient's mailbox is full or disabled.

詳しく見る