Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-16-2007, 05:07 PM
Intermediate Member
 
Posts: 20
Default Enable globally a read receipt [PARTIALLY SOLVED]

Hello!
I know this has been asked a thousand times, but here goes:
I'm trying to setup Zimbra for a customer that wants ALL of its Zimbra users to have read receipts on every single mail sent. Since I know that this is still in the works for Zimbra, is there any way I can enable this feature globally, through postfix configuration or specially crafted hmtl mail?
Mind I'm not asking (for the time being) to create a new feature in Zimbra, just if there is a workaround to enable this read receipt globally through a workaround of some sort.

Any thoughts or ideas?
Ciao
tommy

Last edited by tommy; 05-17-2007 at 06:43 PM.. Reason: Change title to partially solved
Reply With Quote
  #2 (permalink)  
Old 05-16-2007, 06:14 PM
Intermediate Member
 
Posts: 20
Default

Ok, I found out that I need a "Disposition-Notification-To" header inserted in the outgoing messages.
Since our client needs this permanently for all Zimbra users, is there a way to insert it as default inside Zimbra (postfix I guess)?
Thanks again!
Reply With Quote
  #3 (permalink)  
Old 05-17-2007, 10:37 AM
Intermediate Member
 
Posts: 20
Default

I have done some search and posted to the potfix-users mailing list; from postfix it has been said that the "Disposition-Notification-To" header is not applied through MTA (postfix), but through MUA (zimbra, I guess).
So where should I look to permanently add the aforementioned header to every single outgoing mail?
Thanks again!
Reply With Quote
  #4 (permalink)  
Old 05-17-2007, 06:42 PM
Intermediate Member
 
Posts: 20
Default Partially Solved

Found a workaround! Even if forced and dirty, from the postfix-users mailing list, I received the following:

On Friday 18 May 2007 00:27:07, Noel Jones wrote:
> Use a check_sender_access table. Do this in smtpd_data_restrictions
> so it only gets added once.
>
> # main.cf
> smtpd_data_restrictions =
> check_sender_access regexp:/etc/postfix/add_goofy_header
>
> # add_goofy_header
> /(.*@mydomain\.tld)$/ PREPEND Disposition-Notification-To: $1

So what I did was:

1. edit the /opt/zimbra/conf/localconfig.xml file and add the following (in bold):
Code:
<key name="postfix_smtpd_data_restrictions">
    <value>reject_unauth_pipelining, check_sender_access regexp:/opt/zimbra/conf/add_goofy_header</value>
</key>
2. create the /opt/zimbra/conf/add_goofy_header file:
Code:
/(.*@mydomain\.tld)$/    PREPEND Disposition-Notification-To: $1
where mydomain is the domain name and tld the extension.

3. restart zimbra (maybe only mta restart needed)

Tadaa! Read receipt requested for everyone in the specified domain.

This will keep our customer happy for a while.

P.S. This is VEERY dirty indeed, and I have been said REPEATEDLY in postfix-users that it is preferable NOT to use it, because the MUA (zimbra) must handle it. So pleaaaase, devels, 77 votes 'til now!
Reply With Quote
  #5 (permalink)  
Old 05-18-2007, 02:37 AM
Partner (VAR/HSP)
 
Posts: 123
Default

Very cool indeed. Some of my customers also asking for this read receipt feature. Still figuring how to deploy one.. until I found this post Will give it a try to my test box soon..
Reply With Quote
  #6 (permalink)  
Old 05-18-2007, 02:46 AM
Loyal Member
 
Posts: 78
Default

This is indeed a step forward, but as I see it, zimbra users won't get any question whether to emit a read receipt or no.
Any idea about that ?

Regards,
__________________
Artturi
Reply With Quote
  #7 (permalink)  
Old 05-18-2007, 06:14 AM
Intermediate Member
 
Posts: 20
Default

Artturi,
no, I don't think this is possible currently; as mentioned, this hack works on the MTA (Mail Transport Agent), which in zimbra's case is postfix.
The MUA (Mail User Agent), zimbra in this case, should be the sole responsible for implementing it natively and correctly, since it is the one that handles the graphic interface connecting to the user (and should ask the user whether to send a notification -outgoing- or popup the delivery notification -incoming).
In this case, postfix inserts (in a dirty way) the header responsible for popping up the notification on the receiving MUA (outlook, thunderbird, kmail, others), but postfix doesn't know how to handle it; it just inserts the header and sends it.

At the same time, if zimbra receives a "Disposition-Notification-To" header, at the current state, it gets ignored.

So, as I see it, you can only enable it - without final user intervention - for the whole domain or for certain persons in the domain, but it will be enabled for each and every mail going out WITHOUT ANY interaction with the sender, at least until an admin removes the instruction manually from localconfig.xml and delete the add_goofy_header file.
And this may work or not, or may present other problems which I'm not aware of yet. I only know it has been strongly discouraged (and I'll go on saying that) from postfix-users, due to being an MUA option, not an MTA option, since the MTA should not insert headers that should be user-decided.

Last edited by tommy; 05-18-2007 at 06:16 AM.. Reason: underline the lack of interaction
Reply With Quote
  #8 (permalink)  
Old 05-18-2007, 10:31 AM
Loyal Member
 
Posts: 78
Default

Thanks for the clarification.
Maybe we can hope someone comes with a hack giving a "accept/decline" functionality as for calendar invitations...

Regards,
__________________
Artturi
Reply With Quote
  #9 (permalink)  
Old 06-26-2007, 09:29 AM
Advanced Member
 
Posts: 193
Default

is there any way to implement this for only one domain? I host about 10 domains right now, one of which is a lawyer who NEEDS to use read receipts for legal purposes. I know ZCS is going to support it in v5, unfortunately i cannot wait until then, but i can't have read receipts for everyone on the server. know a way to implement it only on one domain/account?
thanks for the informative post tommy
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.