Page 3 of 3 FirstFirst 123
Results 21 to 27 of 27

Thread: Hooking in another process or content_filter?

  1. #21
    cutigersfan is offline Active Member
    Join Date
    Apr 2006
    Posts
    49
    Rep Power
    9

    Default

    I tried this on ZCS 3.1 and am only getting the disclaimer on incoming messages and would like just the opposite. Did I do a step incorrectly? How would I debug? I'm using the original steps posted by Dux T.

    It seems that mail does go thru, but add_disclaimer is only being run when mail is received, not sent....
    Last edited by cutigersfan; 05-12-2006 at 03:43 AM.

  2. #22
    cutigersfan is offline Active Member
    Join Date
    Apr 2006
    Posts
    49
    Rep Power
    9

    Default More investigation

    One more thing to add. I'm not sure if this makes a difference, but I do have "Relay MTA for external delivery" and "Web mail MTA Hostname" to my isp's smtp server. Does this cause add_disclaimer to not get called?

  3. #23
    simonellistonball is offline Intermediate Member
    Join Date
    Apr 2006
    Posts
    20
    Rep Power
    9

    Default

    Quote Originally Posted by cutigersfan
    I tried this on ZCS 3.1 and am only getting the disclaimer on incoming messages and would like just the opposite. Did I do a step incorrectly? How would I debug? I'm using the original steps posted by Dux T.

    It seems that mail does go thru, but add_disclaimer is only being run when mail is received, not sent....
    Did you replace the example.com in the regex for the middle grep with a list of domains that are internal (pipe seperated)

    You should be able to see from the postfix logs the path taken by the message.

    It could also be a problem with the content_filter line in your main.cf or master.cf confs.

  4. #24
    cutigersfan is offline Active Member
    Join Date
    Apr 2006
    Posts
    49
    Rep Power
    9

    Default

    No I used the original post, not the modified one with the regex expression. I was going to add that in later.

  5. #25
    cutigersfan is offline Active Member
    Join Date
    Apr 2006
    Posts
    49
    Rep Power
    9

    Default

    simonellistonball,
    I tried watching the logs to see the path mail was taking. To do this I used 'tail -f zimbra.log'. When mail comes in, I see the path and see the disclaimer pipe activated. However, when mail goes out, there is no activity in the log at all. I'm not sure if this is because I do have a relay host defined. Am I looking in the right place. Any other suggestions?

    Thanks!

  6. #26
    cutigersfan is offline Active Member
    Join Date
    Apr 2006
    Posts
    49
    Rep Power
    9

    Default

    Ok, I figured this out. I had a setting in the "Web mail MTA Hostname". I guess I don't need it set, so removing it caused everything else to come in line. It seems to work now.

    The one thing I do need to add is support for an additional domain. Can someone give me an example of how this might be done?

    Thanks,

  7. #27
    garyo is offline Active Member
    Join Date
    Sep 2008
    Location
    Cambridge, MA
    Posts
    41
    Rep Power
    6

    Default

    I know this is an old thread, but it is REALLY USEFUL to have that tar file as a working example of filtering emails! Thanks, Dux T!

    My only question is, why is "putmail.py" needed? What would be wrong with just using /opt/zimbra/bin/sendmail -i? Is it just that you need something to talk SMTP on a different port (10026)?

    We've found that zmlmtpinject doesn't work if you have aliases.

Page 3 of 3 FirstFirst 123

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Zimbra .pids / service monitoring
    By bin2hex in forum Administrators
    Replies: 24
    Last Post: 04-03-2010, 09:12 PM
  2. Admin login stuck on "Loading..."
    By danfluidmind in forum Installation
    Replies: 9
    Last Post: 07-12-2007, 09:04 AM
  3. 4.53: tomcat is not running
    By michaeln in forum Administrators
    Replies: 41
    Last Post: 06-13-2007, 06:42 PM
  4. tomcat not running / postfix/postqueue errors
    By seravitae in forum Installation
    Replies: 7
    Last Post: 03-10-2007, 08:18 PM
  5. Why is Tomcat shuting down ever nights?
    By trapanator in forum Administrators
    Replies: 2
    Last Post: 11-30-2006, 11:57 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
  •