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 10-08-2010, 04:42 AM
Intermediate Member
 
Posts: 19
Default [SOLVED] How to customize the reject message of a RBL rule?

Hi, I set up a RBL that is working fine using instructions from the documentation.
"zmprov mcf zimbraMtaRestriction "reject_rbl_client <rbl list name>"

I want to modify the default message to indicate a contact name or even a contact html form to the sender.

Do you know how?
Reply With Quote
  #2 (permalink)  
Old 10-08-2010, 04:45 AM
Zimbra Consultant & Moderator
 
Posts: 20,313
Default

Quote:
Originally Posted by raragon View Post
Do you know how?
A web search will tell you: postfix reject message config - Google Search
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 10-13-2010, 01:41 AM
Intermediate Member
 
Posts: 19
Default

Solution:

Modify the main.cf file including the line

rbl_reply_maps = hash:/opt/zimbra/postfix-2.6.5.2z/conf/rbl_reply_maps

Now create this file with the message to show, in my case the message isn "550 blocked by DNSBL.REDIRIS.ES"

$ more rbl_reply_maps
strong.dnsbl.rediris.es 550 blocked by DNSBL.REDIRIS.ES

Now you have to create the db file (rbl_reply_maps.db)

#postmap rbl_reply_maps

Just stop and start your mta
#zmmtactl stop
#zmmtactl start
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.