Changes

From SME Server
Jump to navigationJump to search
579 bytes removed ,  04:51, 28 December 2007
text corrected
Line 274: Line 274:  
====How do I enable and configure a disclaimer in email messages====
 
====How do I enable and configure a disclaimer in email messages====
   −
This is part of sme7.2 so make sure you have upgraded before trying this.
     −
config setprop smtpd disclaimer enabled
+
A disclaimer message can be added to the footer of all outgoing email messages.
pico /service/qpsmtpd/config/disclaimer
  −
Enter the required disclaimer text (Ctrl o to save)(Ctrl x to exit)
  −
signal-event email-update
     −
Note this creates a general disclaimer for all domains on your sme server
+
The message can be the same for all domains or it can be different for all domains.
   −
To create domain specific disclaimers, delete the general disclaimer file and create the files
+
This functionality is part of sme7.2 release so make sure you have upgraded before doing this.
disclaimer_domain1.com.au
  −
disclaimer_domain2.com
  −
disclaimer_domain3.org
     −
edit the files with appropriate text
+
To create a general disclaimer for all domains on your sme server
 +
config setprop smtpd disclaimer enabled
 +
pico -w /service/qpsmtpd/config/disclaimer
 +
Enter the required disclaimer text  
   −
After making any changes remember to do
+
To save & exit
 +
Ctrl o
 +
Ctrl x
 +
To make the changes take effect
 
  signal-event email-update
 
  signal-event email-update
      −
Note also the criteria for when a disclaimer is attached (see http://bugs.contribs.org/show_bug.cgi?id=2648)
+
To create domain specific disclaimers, create seperate domain based disclaimer text files
eg internal to external messages but not internal to internal.
  −
There are also various switches that can be applied (see http://bugs.contribs.org/show_bug.cgi?id=2648).
  −
***************************************************************
      +
Delete the general (all domains) disclaimer file if you have already created it
 +
rm  /service/qpsmtpd/config/disclaimer
 +
config setprop smtpd disclaimer enabled
 +
pico -w /service/qpsmtpd/config/disclaimer_domain1.com.au
 +
pico -w /service/qpsmtpd/config/disclaimer_domain2.com
 +
pico -w /service/qpsmtpd/config/disclaimer_domain3.org
    +
Enter the required text in each disclaimer file
   −
from
+
To save & exit
http://bugs.contribs.org/show_bug.cgi?id=2648
+
Ctrl o
 +
Ctrl x
 +
After making any changes remember to do
 +
signal-event email-update
   −
disclaimer incorporated into base release of
     −
download from
+
Note if you only wish to have a disclaimer for some domains, then only create a disclaimer text file for those domains
yum --enablerepo=smeupdates-testing update qpsmtpd
     −
To enable do the following...
     −
config setprop smtpd disclaimer enabled
+
Note also the criteria for when a disclaimer is attached
signal-event email-update
     −
Then create /service/qpsmtpd/config/disclaimer and add you text to the
+
(see http://bugs.contribs.org/show_bug.cgi?id=2648)
disclaimer/footer
     −
pico /service/qpsmtpd/config
+
eg a disclaimer is added to internal to external messages but not internal to internal messages.
    +
There are also various switches that can be applied
   −
Then, to create a general disclaimer (for all domains), create a file called
+
(see http://bugs.contribs.org/show_bug.cgi?id=2648).
"disclaimer" with the contents you want.
     −
To create domain specific disclaimer(s), create files "disclaimer_domain name"
  −
(eg. "disclaimer_xxx.co.nz")
     −
cd /service/qpsmtpd/config
+
To disable the disclaimer function for all domains on your sme server
 
+
config setprop smtpd disclaimer disabled
create a file...
+
signal-event email-update
 
  −
touch disclaimer
  −
 
  −
 
  −
***********************************************
  −
 
  −
download and install
  −
 
  −
wget http://mirror.contribs.org/smeserver/contribs/michaelw/sme7/smeserver-qpsmtpd-disclaimer-0.0.1-0.noarch.rpm
  −
rpm -Uvh smeserver-qpsmtpd-disclaimer*.rpm
  −
signal-event email-update
  −
 
  −
make disclaimer text changes to
  −
/home/e-smith/files/server-resources/qpsmtp/disclaimer
  −
 
  −
then for changes to take effect do
  −
signal-event email-update
  −
 
  −
 
  −
To enable (will be documented in wiki) do the following...
  −
 
  −
config setprop smtpd disclaimer enabled
  −
signal-event email-update
  −
 
  −
Then create /service/qpsmtpd/config/disclaimer and add you text to the
  −
disclaimer/footer
  −
 
  −
 
  −
smeserver-qpsmtpd 1.2.1-43
      
===External Access===
 
===External Access===
624

edits

Navigation menu