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 08-22-2007, 02:42 PM
Member
 
Posts: 10
Default Webmail sends SMTP from external IP, not localhost

I am trying to implement an AlterMIME script into zimbra (so I can add a disclaimer to outgoing mail).

The postfix master.cf script looks like this:
Code:
192.168.0.1:smtp    inet  n       -       n       -       -       smtpd
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}
(where 192.168.0.1 is my external IP)

IWhen sending mail from an IMAP client, the script works fine, but not when sending from the web client. When I swap the IPs in the script, the opposite is true. How can I get the web client to send from localhost and not from the external IP?

I tried going into the Admin UI and changing "Web mail MTA Hostname:" to localhost, but that just prevented me from sending externally.
Reply With Quote
  #2 (permalink)  
Old 08-27-2007, 08:18 AM
Member
 
Posts: 10
Default

Any help out there?
Reply With Quote
  #3 (permalink)  
Old 08-27-2007, 09:30 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Quote:
Originally Posted by sbriscoe2 View Post
(where 192.168.0.1 is my external IP)
Actually, that isn't the external IP of your server it's a LAN IP. The details on the wiki page tell you to put the IP address of your server in that location, is that the IP of your Zimbra server?
__________________
Regards


Bill
Reply With Quote
  #4 (permalink)  
Old 08-27-2007, 10:07 AM
Member
 
Posts: 10
Default

Both. The external IP is the same as the internal IP. Our zimbra server is configured on a DMZ on our firewall for now.
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.