Retrying Undelivered Outgoing Messages

Sometimes the outgoing mail queue has undelivered messages that are properly addressed, but for some reason the messages aren’t sent (for example, if the destination server is down, or if the firewall is blocking the outgoing port for SMTP).

You can attempt to send the messages again. Normally, the mail server attempts to resend, but you can activate it manually instead of waiting.

To try to resend an outgoing message:

1In Server Admin, select a computer in the Servers list, then select Mail.

2Click Maintenance.

3Click the Mail Queue tab.

4Select the message to retry sending.

To select more than one message, hold down the Shift key or the Command key.

5Click Retry.

While doing this you can monitor the logs to see what is might be causing the problem. See “Viewing Mail Service Logs” on page 86.

Viewing Mail Service Statistics

You can use the serveradmin getHistory command to display a log of periodic samples of the number of user connections and the data throughput. Samples are taken once each minute.

To view samples:

$ sudo serveradmin command mail:command = getHistory mail:variant = statistic mail:timeScale = scale Control-D

Parameter

Description

statistic

scale

The value you want to display. Valid values:

v1—Number of connected users (average during sampling period)

v2—Data throughput (bytes/sec)

The length of time in seconds, ending with the current time you want to see samples for. For example, to see 24 hours of data, you would

specify mail:timeScale = 86400.

Chapter 4    Monitoring and Maintaining Mail Service

89

Page 89
Image 89
Apple 10.6 Viewing Mail Service Statistics, Retrying Undelivered Outgoing Messages, To try to resend an outgoing message