A sudden increase in outbound spam typically indicates that a mailbox has been compromised or a script is sending unauthorized mail. As a System Administrator, you can use the SmarterMail Spool and logs to identify the source of the activity and take action to secure the environment.
Before you begin
You will need:
System Administrator access to the SmarterMail management interface.
Access to the server's file system to view logs if necessary.
Review the Spool Overview for Activity Patterns
The SmarterMail Spool provides a high-level view of mail movement. Use this to identify if the spam is originating from a specific domain or if it is a widespread issue.
Log in to the SmarterMail administration interface.
Navigate to Manage > Spool.
Review the Spool Overview page.
Look for spikes in volume or a high frequency of "Sent" messages from specific accounts.
Identify the specific email addresses or domains involved in the spike.
Identify the Source Account via the Spool
If the Spool Overview indicates a specific account is sending a high volume of mail, use the Spool to isolate the specific messages.
In the Spool section, select the specific domain or account identified in the previous step.
Review the list of messages in the spool.
Note the Sender, Recipient, and Subject columns.
If the messages are being sent to a wide variety of external addresses with randomized subjects, the account is likely compromised.
Analyze the Delivery Logs
To determine if the messages are successfully leaving the server or being rejected by remote servers, check the delivery logs.
Navigate to Manage > Troubleshooting > Logs.
Filter the Delivery log by the suspected sender's email address.
Check the Status sections of log entries.
Delivered: The message left your server and was accepted by the recipient's server.
Failed/Rejected: The message was blocked by the recipient's server (often due to a poor reputation or a "blacklisted" IP).
Note any specific error codes provided in the log for failed deliveries.
Identify the Source IP and Session
If the spam is originating from a specific location or a specific IP, you can identify this in the logs to determine if the traffic is coming from a local user or a remote attacker.
Navigate to Manage > Troubleshooting > Logs, then select the appropriate log view (e.g., SMTP Logs).
Search for the sender's email address.
Locate the Source IP for the connection.
If the IP is external and unknown, the account is likely being used by a remote attacker.
Confirm the Scope of the Compromise
Once you have identified the account(s) and the nature of the traffic, determine the scope of the impact.
Single Account: Only one user's credentials have been compromised.
Multiple Accounts: A broader issue, such as a vulnerability in a web application or a shared password, may be involved.
Internal Relay: If the "Source IP" is an internal server, a local application or script may be compromised.
Confirm the result
Identify the specific account(s) responsible for the spam.
Determine if the spam is successfully reaching external recipients.
Identify the source IP address of the sending activity.
If the account is confirmed as compromised
If you confirm a mailbox is sending unauthorized spam, take the following actions immediately:
Disable the account: Navigate to the account's settings and disable it to stop the flow of mail.
Reset the password: Change the password to a complex, unique string.
Review active sessions: Terminate any active sessions for that user.
Check for unauthorized rules: Review the user's "Forwarding" and "Filter" settings to ensure no rules were created to redirect mail or bypass security.
Limitations
This procedure identifies the source of the spam but does not automatically block the sender or clean the account. You must manually disable the account or change credentials to stop the activity.
