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

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 01-15-2009, 03:55 AM
Active Member
 
Posts: 35
Default A doubt about disclaimer configuration

Hi guys,

I've read the doc concerning to adding a disclaimer to ZCS using altermime. I have it working fine, but it is adding the disclaimer even in inbound e-mail and i want it attach it only to outbound mail.

Reading in the article, it says this:

* 7a) OPTION. To ensure disclaimer is added only to outbound mail:

192.168.0.1:smtp inet n - n - - smtpd
192.168.0.2:smtp inet n - n - - smtpd
-o content_filter=dfilt:
127.0.0.1:smtp inet n - n - - smtpd
-o content_filter=dfilt:
dfilt unix - n n - - pipe
flags=Rq user=filter argv=/opt/zimbra/postfix/conf/disclaimer -f ${sender} -- ${recipient}

The first IP (192.168.0.1) should be the Incoming IP of the Zimbra server.
The second IP (192.168.0.2) should be the Outgoing IP of the Zimbra server.


Anybody can explain to me, what should be the Incoming IP and the Outgoing IP?

I mean, i have something like this:

--- INTERNET------- ZCS----- LAN

For what i see to the world my Incoming and Outgoing IP are the same.
Reply With Quote
  #2 (permalink)  
Old 03-06-2009, 12:32 PM
Intermediate Member
 
Posts: 20
Default

I am intrigued by this one too... If anyone could explain what's the meaning of incoming and outgoing. My Zimbra server is behind a NAT.
Reply With Quote
  #3 (permalink)  
Old 03-18-2009, 08:18 AM
Intermediate Member
 
Posts: 22
Default

Yeah -
I was bangin my head for a while on that as well - BUT it's dead easy IF your running a Split DNS, which in most cases you are.

in the example:
OPTION. To ensure disclaimer is added only to outbound mail:

192.168.0.1:smtp inet n - n - - smtpd
192.168.0.2:smtp inet n - n - - smtpd
-o content_filter=dfilt:
127.0.0.1:smtp inet n - n - - smtpd
-o content_filter=dfilt:
dfilt unix - n n - - pipe
flags=Rq user=zimbra argv=/opt/zimbra/postfix/conf/disclaimer -f ${sender} -- ${recipient}


The first IP (192.168.0.1) should be the Incoming IP of the Zimbra server.
The second IP (192.168.0.2) should be the Outgoing IP of the Zimbra server.

for a SplitDNS - Incoming=outsideIP (WAN) Outgoing=inside IP (LAN)

also be aware there are 2 wiki articles and a few forum threads.

http://wiki.zimbra.com/index.php?title=Domain_Disclaimer_Extension_Admin_ UI#Zimbra_Postfix_Configuration

is the latest - but adds a lot for the UI/LDAP which for a single domain is extra work - and it may or may not work after an upgrade.

the original wiki:
Adding a disclaimer (altermime) or footer - Zimbra :: Wiki

is slightly dated and does not mention the master.cf.in bit that is new to 5.0.13+
so read both - check both directories/scripts and permissions

Hope this helps

bobm
__________________
==============================================
Robert Masterson

bobm@windward-dev.com
US Mobile:+1 954-647-7204
-----------------------------------------------------------
If you keep trying, 'you will occasionally do
something worthwhile' - Seymour Cray
==============================================
Reply With Quote
  #4 (permalink)  
Old 08-20-2009, 12:19 PM
Zimbra Employee
 
Posts: 37
Default

Beware of message duplication with forwarding. I've updated option 7a at Adding a disclaimer (altermime) or footer - Zimbra :: Wiki with

-o receive_override_options=no_address_mappings
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.