Koozali.org: home of the SME Server

Automatic footer - outgoing e-mails

mathubbard

Automatic footer - outgoing e-mails
« on: December 29, 2006, 11:03:14 PM »
Hi,

Apologies if there's an obvious solution for this..... but is there a way to easily add a footer to all e-mails sent by SME7.0?

A lot of companies have 'legal' stuff attached to all e-mails..... and I assume that this can be done by the mail server rather than adding things to signatures in the e-mail clients.

Thanks, Mat.

Offline gordonr

  • *
  • 646
  • +0/-0
    • http://www.smeserver.com.au/
Re: Automatic footer - outgoing e-mails
« Reply #1 on: December 30, 2006, 01:10:01 AM »
Quote from: "mathubbard"

Apologies if there's an obvious solution for this..... but is there a way to easily add a footer to all e-mails sent by SME7.0?


No, there is no support for this. The simplest solution is to use custom signatures in the email clients.

Quote from: "mathubbard"

A lot of companies have 'legal' stuff attached to all e-mails..... and I assume that this can be done by the mail server rather than adding things to signatures in the e-mail clients.


Modifying the body of the mail during transit is a bad thing and leads to disclaimer explosion as mail goes through various mail systems. If anyone is going to add disclaimers, it should be the original injector of the mail.

Before you go down this path, I suggest reading these:

http://goldmark.org/jeff/stupid-disclaimers/
http://goldmark.org/jeff/stupid-disclaimers/apply.html

http://www.emaildisclaimers.com/

(IANAL, but I side with the first opinion)

Someone could write a disclaimer plugin for qpsmtpd fairly easily, but please ensure that it carefully checks for local injection and existing disclaimers (e.g. forwarded internal mail).
............

Offline stefan24

  • ****
  • 483
  • +0/-0
    • www.sme-server.de
Automatic footer - outgoing e-mails
« Reply #2 on: January 30, 2007, 08:38:31 AM »
Regarding necessary disclaimers:

In germany it is required for companies to show certain information in EACH outgoing correspondance (also e-mails) since the beginning of 2007.

http://www.heise.de/newsticker/meldung/84183

IMHO it is not advisable to do this in each and every mail client.
So how can I achive this? The search for "signature" and "disclaimer" in the forum showed me only advices like "Don't do this" and "Why would you want that?".

Offline gordonr

  • *
  • 646
  • +0/-0
    • http://www.smeserver.com.au/
Automatic footer - outgoing e-mails
« Reply #3 on: January 30, 2007, 11:06:06 AM »
Quote from: "stefan24"

So how can I achive this? The search for "signature" and "disclaimer" in the forum showed me only advices like "Don't do this" and "Why would you want that?".

As I mentioned above, someone could write a qpsmtpd plugin to do this, and someone may already have done so. Check the qpsmtpd Wiki. I know that people have done it with qmail-queue filters and even patches to qmail, but I think a qpsmtpd plugin is a better approach.
............

Offline stefan24

  • ****
  • 483
  • +0/-0
    • www.sme-server.de
Automatic footer - outgoing e-mails
« Reply #4 on: January 30, 2007, 01:35:10 PM »
I have already looked into the Wiki (and searched with Google), but there is nothing I (!) could adopt for this purpose.

Offline byte

  • *
  • 2,183
  • +2/-0
Automatic footer - outgoing e-mails
« Reply #5 on: January 30, 2007, 08:12:26 PM »
Quote from: "stefan24"
I have already looked into the Wiki (and searched with Google), but there is nothing I (!) could adopt for this purpose.


How about sponsoring maybe one of the Dev's to do this work?
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline stefan24

  • ****
  • 483
  • +0/-0
    • www.sme-server.de
Automatic footer - outgoing e-mails
« Reply #6 on: January 30, 2007, 10:52:29 PM »
Great!

I'm willing to pay 30 Dollars for this task (via Paypal).

Someone else?

Offline piran

  • ****
  • 502
  • +0/-0
Automatic footer - outgoing e-mails
« Reply #7 on: January 30, 2007, 11:34:06 PM »
Does this one get any where near the target zone for you?
http://www.hjp.at/projekte/qpsmtpd/address_notes/

Offline Kobus

  • ****
  • 153
  • +0/-0
    • http://www.fullnet.co.uk
Automatic footer - outgoing e-mails
« Reply #8 on: February 06, 2007, 03:55:53 PM »
Hi

In the European Union on January 1 2007 it became law that all company documents must include company details in the document. This includes electronic messaging such as email. You can find the document at http://www.opsi.gov.uk/si/si2006/20063429.htm (UK) and
http://eur-lex.europa.eu/LexUriServ/site/en/oj/2003/l_221/l_22120030904en00130016.pdf /
http://eur-lex.europa.eu/LexUriServ/LexUriServ.do?uri=CELEX:31968L0151:EN:HTML for the European Union in general.

So I would also be very interested in a solution to this.

Kobus
Kobus............

Offline Blackbox

  • **
  • 47
  • +0/-0
Automatic footer - outgoing e-mails
« Reply #9 on: April 11, 2007, 07:47:06 AM »
Hi Everyone,
By any chance, has anyone managed to insert an automatic disclaimer in SME 7?

It looks like our company has been forced by law to do it.

Any help is appreciated.

Thanks
Since I experienced an IRQ conflict, my brain never worked the same!

Offline byte

  • *
  • 2,183
  • +2/-0
Automatic footer - outgoing e-mails
« Reply #10 on: April 11, 2007, 12:28:29 PM »
All,

I raised a NFR over http://bugs.contribs.org/show_bug.cgi?id=2648 - I would love to see this happen but would want to know if anyone would be willing to do this ? I know in past we have talked about a bounty program, so if someone is willing then maybe we could have our first bounty case.

Thanks for listening.
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline Blackbox

  • **
  • 47
  • +0/-0
Re: Automatic footer - outgoing e-mails
« Reply #11 on: August 22, 2007, 08:42:51 AM »
Hi,
I noticed that Bug Report 2648 has been closed that it looks like there is a solution to company (domain) wide email disclaimers.  :-D :-D :-D

I read and re-read all the bug report but, somehow, I am very worried to implement in my production server without having a step by step installation and configuration note. Please excuse my lack of knowledge as I am still a beginner (but I am getting the feel bit by bit  :-))

Can please, someone, post a simple installation and configuration routine? A small point form note would do.

I really need to implement this email footer companywide as it is forced by my directors.

Any help is appreciated.

Thanks in advance
Since I experienced an IRQ conflict, my brain never worked the same!

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Automatic footer - outgoing e-mails
« Reply #12 on: August 22, 2007, 12:03:31 PM »
Blackbox

> I read and re-read all the bug report...

It's all in the last couple of posts to that bug report.
It's part of sme7.2 so make sure you have upgraded before trying this.

config setprop smtpd disclaimer enabled
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

To create domain specific disclaimers, delete the general disclaimer file and create the files
disclaimer_domain1.com.au
disclaimer_domain2.com
disclaimer_domain3.org

edit the files with appropriate text
Remember to do
signal-event email-update
after making any changes

Note also the criteria for when a disclaimer is attached (see http://bugs.contribs.org/show_bug.cgi?id=2648)
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).
...


Offline Blackbox

  • **
  • 47
  • +0/-0
Re: Automatic footer - outgoing e-mails
« Reply #14 on: August 24, 2007, 11:41:54 AM »
Hi Ray,
Thanks a lot for the info. You saved my life more than once!  8)

I just tried it out.

The disclaimer was attached to the external email. However, the text does not get inserted to the bottom of the mail message. It gets attached as an attachment.

Unfortunately, this is not what my director and lawyer demands. They need to see the disclaimer as part of the messages.

Do you know if this plugin can actually insert the text inside the email itself please?

Any help is appreciated.

Thanks in advance.
Since I experienced an IRQ conflict, my brain never worked the same!