Changes

Jump to navigation Jump to search
767 bytes added ,  23:38, 15 January 2010
added section Keep a copy of outgoing emails only
Line 333: Line 333:     
If you want to view the emails, point your email client at the SME and log on as maillog.
 
If you want to view the emails, point your email client at the SME and log on as maillog.
 +
 +
=====Keep a copy of outgoing emails only=====
 +
Create a custom template as follows.
 +
 +
Log in as root or a user with root privileges
 +
mkdir -p /etc/e-smith/templates-custom/var/service/qpsmtpd/config/peers/0/
 +
cp /etc/e-smith/templates/var/service/qpsmtpd/config/peers/0/13bcc /etc/e-smith/templates-custom/var/service/qpsmtpd/config/peers/0/
 +
cd /etc/e-smith/templates-custom/var/service/qpsmtpd/config/peers/0/
 +
pico 13bcc
 +
 +
change the code to:
 +
{
 +
      return "# bcc disabled" unless ($qpsmtpd{Bcc} eq "enabled");
 +
      return "bcc mode " . $qpsmtpd{BccMode} . " outgoing " . $qpsmtpd{BccUser};
 +
}
 +
 +
Save by pressing Ctrl x at the same time and confirm with y
 +
 +
Then enable the changes with
 +
signal-event email-update
 +
More info:
 +
perldoc /usr/share/qpsmtpd/plugins/bcc
    
====Set max email size====
 
====Set max email size====
624

edits

Navigation menu