From SME Server
Jump to: navigation, search


Thank you to Stephen Noble for releasing his work. The original documentation is found here:


Contrib 9:
The latest version of smeserver-email-management is available in the SME repository, click on the version number(s) for more information.

User Email Management

The Email Management panel shows a table of all users and displays what settings have been applied to their email, with a link to modify that users configuration.

yum install smeserver-email-management --enablerepo=smecontribs

Access at /server-manager > Configuration > Email Management


Shows mailsorting and all users settings at a glance

Forwarding address, is shown only if forwarding is enabled

Options are:

  • internal, users can only receive local mail
  • bypass, exclude this user from procmail/maildrop
  • vacation, a vacation message reply is sent
  • tmda, status of user



If smeserver-mailsorting is installed you can enable all mail to be directed through either procmail or maildrop.

Then create procmail or maildrop rules that all users run, they will be run before the users rules.

When procmail or maildrop is enabled mail can be sorted according to any rules created, unsorted mail is delivered according to the standard email setting of the user ie local, forward or both. Default leaves the system in the original state.

Maildrop includes a rule to match content in the body of the email for email smaller the 5000 bytes it compares the list of words or regular expressions you create in the file /opt/wordfilter


Individual settings

Admin can change the users email delivery methods, such as

  • enabling procmail or maildrop,
  • make changes to mail processing rules, see smeserver-mailsorting
  • enable vacation, change forwarding or setting to internal only.




Provides configuration files to create mail rules that are processed by either procmail or maildrop

Provides for a vacation message to be sent, for example the user is out of the office

  • dungog-tmda (no longer recommended)
A combination of challenge and response, and tagged email address that reduces spam

Mail Rules

Rules to match email then perform an action

Match against the emails size, To, From, or other headers You can combine two elements before matching.

It may be helpful to view the headers of your emails to check if things are not matching as expected, to get an idea of the size of emails check the log file.

When matched you can, sort to an existing mail folder, forward to another email address or delete it

Links are available to review the rules files, you can review the log file to check which rules are matched. The log file is rotated weekly and kept for two weeks


Please raise bugs under the SME-Contribs section in bugzilla and select the smeserver-email-managementcomponent or use this link .

IDProductVersionStatusSummary (5 tasks)
10367SME Contribs9.2UNCONFIRMEDupdating setting to get only local mail does not update badrcptto_ext
10342SME Contribs9.1CONFIRMEDNFR: alert when geekmode is enabled
10328SME Contribs9.2CONFIRMEDtranslation for this panel
10082SME Contribs9.0CONFIRMEDNFR: select box for existing mailfolder
9824SME Contribs9.1CONFIRMEDVacation Save drop down too far right


Only versions released in smecontrib are listed here.

smeserver-email-management Changelog: SME 9 (smecontribs)
2017/05/29 Jean-Philipe Pialasse 1.3-2.sme
- add support for admin account [SME: 9737]
2016/08/08 Jean-Philipe Pialasse 1.3-1.sme
- initial import to SME 9
2010/07/21 Stephen Noble 1.2-12
- fix remember destination when modifying
2009/06/09 Stephen Noble 1.2-11
- fix path for ssl template expansion
2009/03/07 Stephen Noble 1.2-10
- Configure user settings for zarafa