Difference between revisions of "Email"

From SME Server
Jump to navigationJump to search
(split email howto)
 
m
Line 1: Line 1:
 
===Email===
 
===Email===
After changing the email settings with a db command run the event
+
Change email settings
 
+
   
  signal-event email-update
 
  
 
====Spamassassin====
 
====Spamassassin====
Line 9: Line 8:
  
 
  db configuration setprop spamassassin MessageRetentionTime 60   
 
  db configuration setprop spamassassin MessageRetentionTime 60   
 +
signal-event email-update
  
 
====Keep a copy of all emails====
 
====Keep a copy of all emails====
 
 
You may need to keep a copy of all emails sent to or from your email server.
 
You may need to keep a copy of all emails sent to or from your email server.
 
This may be for legal, or other reasons.
 
This may be for legal, or other reasons.

Revision as of 11:40, 27 February 2007

Email

Change email settings


Spamassassin

Set spamassassin for automatically delete junkmail. You can change the "days" that spamassassin sets to automatically delete junkmail, to delete after two months

db configuration setprop spamassassin MessageRetentionTime 60  
signal-event email-update 

Keep a copy of all emails

You may need to keep a copy of all emails sent to or from your email server. This may be for legal, or other reasons.

The following instructions will create a new user account (maillog) and forward every email that goes through your SME server to it.

First, log onto the server-manager and create the user maillog

Go to the SME Command Line (logon as root) and issue the following commands:

config setprop qpsmtpd Bcc enabled
config setprop qpsmtpd BccMode bcc
signal-event email-update

The second command is optional; it makes the forwarding of the emails invisible to the end user. Without it, there will be an X-Copied-To: header in each email.

If you want to view the emails, point your email client at the sme and log on as maillog.