Admin panel

Email

What this does: these tools control the mail server for the whole machine: how big a message may be, how spam is handled, what happens to mail that cannot be delivered, and where a lost message went.

When you need it: when a customer says mail is not arriving or not leaving, when spam gets through, or when you want to set limits for every mailbox on the server. Customers make their own mailboxes in their own panel; this group is for you, the server's administrator.

Words used on this page:

Mail server settings

What this does: sets the limits the mail server keeps for every message: the largest message, how many people one message may be sent to, and how many days an undeliverable message keeps trying. It also lets customers use this server as a backup mail server.

When you need it: when customers need to send bigger attachments, or when you want to keep mass mailings small.

Where: Email > Mail server settings

To change the mail limits

  1. Open Email > Mail server settings. The card What the mail server runs now shows the limits in use, for example "9.8 MB (the mail server’s own)".
  2. In the card Limits, type a number in the box you want to change:
    • Largest message (MB): from 1 to 200.
    • Recipients per message: from 1 to 1,000.
    • Days a message waits in the queue: from 1 to 30.
  3. Leave a box empty to use the mail server's own limit.
  4. Click Save limits. You see Saved. The mail server runs these limits now.
The Mail server settings page with what the mail server runs now, the Limits form and the Backup mail servers card

To let customers use this server as a backup mail server

A backup mail server holds a domain's mail while its main mail server, somewhere else, is down, and passes it on later.

  1. In the card Backup mail servers, read the two paragraphs; they explain what it costs this server. (The Mail routing page they mention is in the customer's own panel. MiB is a unit of size: 512 MiB is about half a gigabyte.)
  2. Tick Let customers use this server as a backup mail server.
  3. Click Save backup choice. A question appears; click Yes, turn it on.
  4. You see "Saved. Customers can now choose backup mail routing for their domains."

If something goes wrong

IMAP and POP settings

What this does: sets how many connections one address may open to read one mailbox, how long an idle connection is kept, and whether POP is offered at all.

When you need it: when an office with many people behind one internet address gets "too many connections" errors, or when you want to switch off POP.

Where: Email > IMAP and POP settings

To change the connection limits

  1. Open Email > IMAP and POP settings. These settings apply to every mailbox on the server.
  2. In IMAP connections from one address, per mailbox, type a number from 1 to 1,000. Empty means 10.
  3. Do the same for POP connections from one address, per mailbox.
  4. In Idle time before an IMAP connection is checked, in minutes, type a number from 1 to 30. Empty means 2.
  5. To stop offering POP, tick Turn POP off. Mail programs set up for POP then stop working until they are moved to IMAP.
  6. Click Save. You see Saved. The server now uses these settings.
The IMAP and POP settings page with the connection limits, the idle time and the Turn POP off switch

If something goes wrong

Mail queue

What this does: lists the mail waiting to go out, lets you read a waiting message, try it again now, park it (set it aside so it is not tried), release it, or delete it for good.

When you need it: when mail is late, when a customer's script has sent a flood of mail, or when another server keeps refusing messages.

Where: Email > Mail queue

To look at the waiting mail

  1. Open Email > Mail queue. The card Queues shows tabs, each with a count in brackets: All, Waiting to retry, Sending now, Arriving, Just submitted and Parked. Just submitted and Arriving are new messages the mail server has not sorted yet; they usually move on within seconds.
  2. Click a tab to see only those messages.
  3. To find one message, type part of the sender, the recipient or the message id in Find a message and click Find.
  4. The table Messages lists each message: when it arrived, who it is from and to, and Why it is waiting (what the other server said).
  5. Click View to read the message's headers. Click Show the message text to see the text too.
The Mail queue page with the queue tabs, the search box and the list of waiting messages with their reasons

To try waiting mail again now

To remove a message for good

A message must be parked before it can be deleted, so nothing is removed by accident.

  1. In the message's row, click Park. You see "1 message is parked."
  2. Click the Parked tab.
  3. In the message's row, click Delete.
  4. A question asks "Delete (id) for good? It can’t be brought back." Click Delete for good.

To release a parked message

  1. Click the Parked tab.
  2. In the message's row, click Release. You see "1 message is released and will be tried again."

To act on many messages at once, tick the box at the start of each row (or the box in the table's heading to select the whole page). The line above the table changes from None selected to, for example, 2 selected; then click Try again, Park, Requeue, Release or Delete on that line. Requeue hands a message back to the mail server to be read again from the start, for example after you changed a mail setting; it gets a new id. Try again only retries delivery.

If something goes wrong

Held mail

What this does: counts the mail that programs on this server sent with the sendmail command and that was refused and set aside, and says where it is kept.

When you need it: when a customer's website form or script says it sent mail but nothing arrived. If the server's sending checks refused it, it ends up here instead of being retried forever.

Where: Email > Held mail

To see what is held

  1. Open Email > Held mail.
  2. The page says how many messages are held, from how many users, for example "16 messages are held, from 3 users."
  3. The table lists each user under Sent by, with the number of Messages.
  4. Click Look again to count again. You see "The counts are up to date."
The Held mail page with the number of held messages for each user and the folder where they are kept

Nothing is sent or removed from this page. The messages stay in the folder the page names until you remove them, which needs the server's command line. A row such as "A user with no name (ID 1005)" is a program that ran under a user number with no login name, often a deleted account's leftover job.

If something goes wrong

Mail delivery reports

What this does: searches the mail log for every domain on the server and follows a message: whether it was delivered, is waiting or came back, what the other server said, and who sent it.

When you need it: when a customer says "I sent a message to someone and they never got it", or "someone sent me mail and it never arrived".

Where: Email > Mail delivery reports

To find a message

  1. Open Email > Mail delivery reports.
  2. In Address, domain, IP address, queue ID or Message-ID, type at least 3 characters (a queue ID is the short code this server gives a message, such as 4D7F2A9C10; a Message-ID is the longer name the sender's program gives it; both show in a message's headers), for example the recipient's address ann@partner.example.net. Leave it empty to list the newest messages.
  3. In Look back, choose how far back to search, from The last hour to The last 14 days, or A range of dates.
  4. If you like, choose a Status and how many to Show up to.
  5. Click Search. You see "Searching the mail log. This can take up to 20 seconds."
  6. Each result shows when the message came in, who it was for, and for each recipient whether it was Delivered, Delayed, Bounced or Gave up, with The server said: and the other server's own answer.
The Mail delivery reports page with the search form and the results showing each message's status and the other server's answer

The box What the statuses mean explains each status in plain words.

If something goes wrong

Spam settings

What this does: sets the two spam scores every account uses unless it has chosen its own, and an hourly limit on how many people one account may send mail to.

When you need it: when too much spam gets through, when good mail is marked as spam, or to stop a hacked account from sending thousands of messages.

Where: Email > Spam settings

Every incoming message gets a spam score: the higher the number, the more it looks like spam. Scores may have one decimal place, such as 6.5.

To change the spam scores

  1. Open Email > Spam settings. The card The server’s spam scores shows the scores in use, for example "Mark as spam at 6" and "Reject at 15".
  2. In the card Default scores, type a number in Mark as spam at. Mail with this score or more is marked as spam. Marked mail still arrives, but in the mailbox's spam or Junk folder instead of the inbox, with the line X-Spam-Status: Yes added and the mailbox's own filters, auto-replies and forwarding skipped.
  3. Type a number in Reject at. Mail with this score or more is refused. It must be higher than the first.
  4. Click Save scores. You see "Saved. Accounts that follow the server now mark at (mark) and reject at (reject)."
The Spam settings page with the server's spam scores, the Default scores form and the Outgoing mail limit

Accounts that chose their own scores, or turned scoring off, are left as they are.

To limit outgoing mail

  1. In the card Outgoing mail limit (below the scores; it shows only on servers whose mail server supports the limit), type a number in Recipients per hour, for each account. Leave it empty for no limit.
  2. Click Save limit. You see "Saved. Each account may name (n) recipients an hour unless it has a limit of its own."

If something goes wrong

Deliverability overview

What this does: checks every domain on the server for its SPF, DKIM and DMARC records, and repairs the ones that are missing or wrong.

When you need it: when customers' mail lands in spam folders at Gmail or Outlook, or after you move many domains to this server.

Where: Email > Deliverability overview

To check and repair domains

  1. Open Email > Deliverability overview.
  2. In Account, type an account's name to check only its domains, or leave it empty for every account.
  3. Tick Only domains with a problem to hide the ones that are fine.
  4. Click Show domains. The list shows each domain with SPF, DKIM and DMARC marked in order, missing or wrong. Signing mail means the server already signs that domain's outgoing mail with DKIM.
  5. Click Choose the ones with a problem, or tick domains yourself. (Or click Repair the first 50 with a problem to do it in one go.)
  6. Click Repair the chosen domains. A question asks you to confirm; click Yes, repair.
  7. You see "Repaired (fixed), (unchanged) needed nothing, (failed) could not be repaired."
The Deliverability overview page listing domains with their SPF, DKIM and DMARC state and the repair buttons

If something goes wrong

Mail troubleshooter

What this does: shows, step by step, what the server would do with mail sent to one address: which mailbox, forwarder or other server it goes to. It sends nothing.

When you need it: when mail to an address goes somewhere unexpected, or seems to disappear.

Where: Email > Mail troubleshooter

To follow an address

  1. Open Email > Mail troubleshooter.
  2. In Email address, type the full address, for example info@example.com.
  3. Click Follow the address.
  4. The card Where it goes shows What the server does, in order, and Where each copy ends: a Mailbox, Another server, Refused, Discarded, or a Loop.
The Mail troubleshooter page with info@example.com typed in the Email address box and the Follow the address button

If something goes wrong

Mailbox storage format

What this does: converts an account's mailboxes between two ways of storing mail on disk: Maildir (one file per message) and mdbox (many messages per file). Nothing changes for the people who read the mail.

When you need it: when an account has very large mailboxes and the server has trouble with the number of files. Most servers never need it.

Where: Email > Mailbox storage format

To convert an account's mailboxes

  1. Open Email > Mailbox storage format. The card Storage formats explains the two formats.
  2. In Account, type the account's user name, for example site1.
  3. Click Show mailboxes. The card Choose mailboxes lists them with their current format.
  4. In Convert to, choose Maildir or mdbox.
  5. Click Check next to one mailbox, or Check converting all of them.
  6. The card Before converting shows how many messages will be copied and how much space it needs. In Keep the old copy for, type the number of days to keep the old copy (0 keeps it until you remove it).
  7. Click Convert, then Convert now. You see "The conversion started. It runs on the server, so you can close this page."
  8. The card The latest conversion shows each mailbox moving from Copying to Checking, Switching and Done.
The Mailbox storage format page with the Storage formats card, site1 typed in the Account box and the Show mailboxes button

Until the old copy is removed, the mail takes twice the space. Remove it under Old copies with Remove when you are happy.

If something goes wrong

Repair mail folders

What this does: puts right the owner and the permissions of an account's mail folder, so the mail server can read it again.

When you need it: after a restore or a copy made by hand as root, when a customer's mailbox suddenly shows no mail or cannot receive mail.

Where: Email > Repair mail folders

To repair an account's mail folder

  1. Open Email > Repair mail folders.
  2. In Account, choose the account.
  3. Click Look first. You see "Working through the folder. This can take a minute." and then What would change for *(name)*. Nothing is changed yet.
  4. If something needs repair, click Repair *(name)*.
  5. A question asks you to confirm. Click Yes, repair it. You then see What was done for *(name)*.
The Repair mail folders page with the Account list and the Look first button

Links and files that belong to someone else are left alone.

If something goes wrong

Greylisting

What this does: answers the first mail from an unknown sender with "try again later". Real mail servers do try again; most spam senders do not. After one retry the sender is remembered, so only its first message is late.

When you need it: when a lot of spam reaches your customers and you accept that a first message from a new sender may arrive a few minutes late.

Where: Email > Greylisting

To turn greylisting on

  1. Open Email > Greylisting.
  2. Tick Ask new senders to try again later.
  3. In How long a new sender waits (seconds), type a number from 60 to 3600. 300 (five minutes) is a good start.
  4. In Senders that are never held up, list mail servers you trust, one on each line, such as 192.0.2.10 or 198.51.100.0/24.
  5. Click Save. You see Saved. New senders are asked to try again.
The Greylisting page with the switch, the wait in seconds and the list of senders that are never held up

Customers can switch greylisting off for a domain of their own.

If something goes wrong

Welcome email

What this does: sends one message to every new mailbox, from postmaster (the standard address for a mail server's administrator) at the server's name, with a subject and text you write.

When you need it: when you want new mailboxes to get a short note, such as how to set up their mail program.

Where: Email > Welcome email

To turn on the welcome email

  1. Open Email > Welcome email.
  2. Tick Send a welcome email to a new mailbox.
  3. Type a Subject, one line of up to 200 characters.
  4. Type the Message in plain text. You can use the words {address}, {domain} and {server}; they are replaced with the real values when the message is sent.
  5. Click Save welcome email. You see Saved. A new mailbox is sent this email.
The Welcome email page with Send a welcome email to a new mailbox ticked, the Subject and Message boxes and the Save welcome email button

Only mailboxes made by someone in a panel get it. Mailboxes made by an import or a restore do not.

If something goes wrong

Mail statistics

What this does: shows what the mail server did each day: mail received, sent, delivered, delayed, bounced and refused, and the domains and addresses that came up most.

When you need it: to see whether mail volume changed suddenly, which can mean a hacked account or a spam attack.

Where: Email > Mail statistics

To see the mail statistics

  1. Open Email > Mail statistics.
  2. In Show, choose The last 7 days, The last 30 days or The last 90 days.
  3. The card In this period shows the totals: Received from other servers, Sent in with a login (by mail programs), Queued by programs on this server, Delivered to other servers, Delivered to mailboxes here, Delivery put off (to be tried again), Bounced and Refused while the sender was connected. Day by day shows the same counts for each day, newest first. Days are counted in UTC (world time, not your local time).
  4. Further down, Domains mail went to, Addresses refused most and Logins that sent most list the top names.
  5. To include the very latest mail, click Read the log now. You see "Read the mail log and updated."
The Mail statistics page with the period choice, the totals and the day-by-day table

If something goes wrong

Blocked senders and networks

What this does: refuses mail from sender domains you list and from mail servers at addresses you list. A third list names mail servers you trust that skip these checks.

When you need it: when one domain or one network keeps sending spam to your customers.

Where: Email > Blocked senders and networks

To block a sender domain or a network

  1. Open Email > Blocked senders and networks.
  2. In Sender domains, type each domain to block on its own line, for example spam.example.net. A domain also blocks the domains under it.
  3. In Client networks, type each address or range to block on its own line, for example 198.51.100.7 or 198.51.100.0/24.
  4. In Trusted mail servers, list servers whose mail should skip the blocks, such as a filtering service in front of this server or a backup mail server (also called a backup MX) for your domains.
  5. Click Save lists. You see Saved. The lists apply to the next mail that arrives.
The Blocked senders and networks card with spam.example.net in Sender domains, 198.51.100.7 and 198.51.100.0/24 in Client networks, the empty Trusted mail servers box and the Save lists button

Mail sent with a login, with the sendmail command, and between this server's own accounts is never blocked.

If something goes wrong

Mail by country

What this does: refuses, or puts off, mail that other servers send from the countries you choose.

When you need it: when most of your spam comes from countries your customers never receive real mail from.

Where: Email > Mail by country

To refuse mail from a country

  1. Open Email > Mail by country.
  2. In Add a country, choose the country from the list, then click Add. You see "(name) added. Save to apply."
  3. Under What happens to their mail, choose one. Refuse it is ticked at first, so change it if you want to start gently:
    • Put it off: the other server is asked to try again later. Start here and watch the counts.
    • Refuse it: the other server is told no at once.
  4. Under Exceptions, list Networks and Sender domains whose mail is never refused by country.
  5. Click Save countries. You see Saved. The choice applies to the next mail that arrives.
The Countries card of the Mail by country page with one country added to Chosen countries, the Add button, the choice to refuse or put off, the exceptions and the Save countries button

The card Refused lately shows how much mail was refused from each country in the last seven days.

If something goes wrong

SMTP restrictions

What this does: makes every program on the server send its mail through this server's own mail server, instead of connecting straight to other mail servers on their mail ports (25, and 465 and 587, the ports mail programs use to send). That way all mail is signed and counted, and a hacked website cannot send spam behind your back.

When you need it: on any server with many customers' websites. A hacked script that sends spam directly can get your server's address put on blocklists.

Where: Email > SMTP restrictions

To turn SMTP restrictions on

  1. Open Email > SMTP restrictions. The card Where things stand says Off and explains what the setting does.
  2. In the card Choose, tick Make programs send their mail through this server.
  3. If a customer sends through an outside mail service on purpose, type their account's login name in Add an account and click Add to the list.
  4. Click Save. A question explains that customers' scripts using an outside mail service stop working. Click Yes, turn it on.
  5. Where things stand now says On.
The SMTP restrictions page with where things stand, what still works, Make programs send their mail through this server ticked, the Add an account box and the Save button

If something goes wrong

Outgoing addresses

What this does: chooses which of this server's internet addresses (IP addresses) mail from each sender domain leaves from.

When you need it: when your server has more than one IP address and you want one customer's mail to leave from its own address, so another customer's reputation does not affect it.

Where: Email > Outgoing addresses

To give a domain its own outgoing address

  1. Open Email > Outgoing addresses. The table lists each Sender domain and the address it Leaves from.
  2. In the domain's row, choose an address from the list. The system’s address is the default.
  3. Click Save addresses. You see Saved. Mail from these domains leaves from the addresses chosen.
The Outgoing addresses page listing the sender domains, with 192.0.2.10 chosen for shop.example.com, the others on the system's address, and the Save addresses button

Before you do this, give the address a reverse name that matches (see DNS > Reverse DNS). A reverse name is the name an address answers to when someone looks it up backwards; other mail servers often check that it fits.

If something goes wrong