# Email Settings

The Email role automatically inherits Enhance's global Email Service settings. Smart host settings can be overridden on a per server basis.

# Email rate limiting

Setting appropriate rate limits for customer generated emails will help avoid abuse of your service for unsolicited commercial emails and will protect the reputation of your server's IP addresses.

To customise the rate limits per server, click servers, choose your server, click ... then email settings. There are separate settings for SMTP generated messages and those generated locally by the Postfix sendmail drop-in replacement, most commonly by cron jobs and the PHP mail() function.

Messages which exceed the rate limit will be blocked outright at the time of sending and will not be deferred - the sender will receive an error.

You can also enable and disable outgoing spam filtering which will block messages with a high spam score at SMTP time.

# Smart host setting

This will automatically configure your email server to send all outbound email through a third party with authentication. You can set this setting globally by going to settings -> service -> email. You can then override the setting on a per server basis if you would like to use a different smart host.

To override SMTP settings on a per server basis:

  1. Open Servers in the left side bar
  2. Select Manage on the server
  3. Click ...
  4. Click Email Settings

Any inherited global settings will be tagged 'Default'. Any custom or edited default settings will not be tagged.

# Manual Postfix configurations

# To increase the attachment size for a mailbox:

In /etc/postfix/main.cf, add the key message_size_limit and the value (in bytes). Then run postfix reload to apply it.