Results 1 to 6 of 6

Thread: Adding a random signature(/mail-footer) with every outgoing message

  1. #1
    jasper is offline Member
    Join Date
    Apr 2008
    Location
    Bangalore, India
    Posts
    11
    Rep Power
    7

    Default Adding a random signature(/mail-footer) with every outgoing message

    Hello,

    Can we add a random signature/mail-footer to all outgoing messages. (i.e a different mail-footer message say random quote, or some such text)

    Is this possible?

    It appears that there is no easy way to add a even a constant disclaimer/signature(system-wide) to all outgoing messages as of today.

    Please advice.
    Thanks

  2. #2
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

  3. #3
    jasper is offline Member
    Join Date
    Apr 2008
    Location
    Bangalore, India
    Posts
    11
    Rep Power
    7

    Default Re:

    Hello,

    Thankyou, I have seen those links hence my comments - there is no easy way ;-). Both the links talk about messing around with PostFix or Alter-Mime etc, at unix level.

    For a just ordinary Zimbra Administrator (who only logs in through the UI to create accounts, manage domains and such); i thought this option should exist in Admin UI.

    Also, i think there is no hope for someone who wants to insert a random footer message in every outgoing message ! (the way yahoo mail does, by inserting a random advertisement link or a nice quote etc.)

    Will do the profile update:-)
    Thanks.

  4. #4
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    [QUOTE=jasper;87610]Also, i think there is no hope for someone who wants to insert a random footer message in every outgoing message ! (the way yahoo mail does, by inserting a random advertisement link or a nice quote etc.)[QUOTE]
    If disclaimer is being read from a text file then all you require is a job (cron) which generates the random text and updates that file. If you wanted to be clever you would write a perl script which would act as a filter and read the ad/quote from a database. You could even record stats on how many times each one had been added to emails. Many possibilities but do appreciate for a novice it is not so easy Great way to learn though is through a little project like this

  5. #5
    jasper is offline Member
    Join Date
    Apr 2008
    Location
    Bangalore, India
    Posts
    11
    Rep Power
    7

    Default Re:

    Thanks uxbod, appreciate your response.

    One issue seems to be that those extensions are not part of the zimbra code. It is always easier to convince your customers and management to allow adding such things to a deployment, if it is part of officially supported zimbra code (as against from a contributor.. even though it may be good).

    Also, does Zimbra provide any hooks for developers - so that they can parse the message text on the server side say for example to look for some key-words or examine message attachment for its type. I actually want to insert mail-footer/signature text based on that. Any hint at all in this direction...would be useful.

    Or do i have to start studying code :-( and figuring out how to modify, compile and deploy it!

  6. #6
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Quote Originally Posted by jasper View Post
    Also, does Zimbra provide any hooks for developers - so that they can parse the message text on the server side say for example to look for some key-words or examine message attachment for its type. I actually want to insert mail-footer/signature text based on that. Any hint at all in this direction...would be useful.
    Easiest way in my opinion would be to use Postfix content filters. This article is old but gives you a idea of how it could be achieved. Hook this with the disclaimer and you would be good to go

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 13
    Last Post: 07-20-2007, 03:21 AM
  2. Cannot determine services - exiting
    By tawas in forum Installation
    Replies: 7
    Last Post: 04-25-2006, 02:47 AM
  3. Is it started or not
    By kwelipatton in forum Installation
    Replies: 10
    Last Post: 03-28-2006, 11:11 PM
  4. Initializing ldap...FAILED (256)
    By CVD in forum Installation
    Replies: 17
    Last Post: 03-10-2006, 09:47 AM
  5. Yet another get.DirectContext issue
    By dccpark in forum Installation
    Replies: 5
    Last Post: 03-08-2006, 01:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •