Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20

Thread: [SOLVED] No SPAM check when mail is "transported"

  1. #11
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    I believe $mydomain should be set to ''. And then the code should say it is local
    Code:
    my($is_local) = lookup2(0,$recip, ca('local_domains_maps'));
          $is_local ? $cnt_local++ : $cnt_remote++;

  2. #12
    Join Date
    Jun 2007
    Location
    Halmstad, Sweden
    Posts
    58
    Rep Power
    8

    Default

    Ops, i missed this forum entry (busy typing).

    The $mydomain is set to 'molud2.hh.se' and this is the hostname of the test-gateway-machine.
    I noticed that this entry is empty on the production machine...

  3. #13
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    Set that entry to blank in /opt/zimbra/conf/amavisd.conf.in and then restart.

  4. #14
    Join Date
    Jun 2007
    Location
    Halmstad, Sweden
    Posts
    58
    Rep Power
    8

    Default

    I just did this and *YES*, it works. Now the headers is added. Very good indeed!!!

    I do not remember (quite sure) that we have modified this in our production server...

    I noticed that this entry (in amavisd.conf.in) is set by @@av_notify_domain@@ and this can be found in zmlocalconfig, ie

    $ zmlocalconfig | grep av_notify_domain
    av_notify_domain = molud2.hh.se

    Can I set this in the admin-GUI someware ?
    or modify it with zmlocalconfig ?
    Can this give other side-effects?

    Any thoughts?

    I prefer to do this because then it is more likely that this survives future updates.

  5. #15
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    You can change it with
    Code:
    su - zimbra
    zmlocalconfig -e av_notify_domain=''
    or to remove it complete
    Code:
    su - zimbra
    zmlocalconfig -u av_notify_domain
    It would appear that on install it is set to the initial domain; and on a upgrade it pulls it from the current running config. Looking at another ZCS6 install it is not actually set which surprises me.

  6. #16
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    Has the test mail gateway that you upgraded ever been a mailstore as-well ?

  7. #17
    Join Date
    Jun 2007
    Location
    Halmstad, Sweden
    Posts
    58
    Rep Power
    8

    Default

    Yes, we have the mail-store rpm installed at this machine also. I think the reason was to get av/as graphs at this machine OR to get the spam.* and ham.* accounts created. I do not remember the exact reason.

    We also forwards spam/ham from users to the gateway machine to train SA.

  8. #18
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    The mail-store rpm is not required on a front-end gateway. As you are not running a true multi-server setup then you could look at moving the SA Bayes from file based to either MySQL or PostgresSQL. That way whether the server is Zimbra or ANother you can make use of the shared Bayes.

  9. #19
    Join Date
    Jun 2007
    Location
    Halmstad, Sweden
    Posts
    58
    Rep Power
    8

    Default

    That is another way to get the same behavior I suppose. I will look into that in future setup. Thank you for the suggestion.

    ... and thank you for your excellent help and suggestions. It was really helpful.


    Best regards

  10. #20
    Join Date
    Jun 2007
    Location
    Halmstad, Sweden
    Posts
    58
    Rep Power
    8

    Default

    FYI: We have now successfully updated our production server to 6.0.6 (from 5.0.9).

    Prior to the update the av_notify_domain was not defined.

    After the update it was set to the default domain (==fqdn of host) and we had to apply the fix above, ie: zmlocalconfig -e av_notify_domain=''

Similar Threads

  1. Problems with port 25
    By yogiman in forum Installation
    Replies: 57
    Last Post: 06-13-2011, 02:55 PM
  2. [SOLVED] Fed 11 zcs install with existing apache
    By Lantzvillian in forum Installation
    Replies: 2
    Last Post: 10-05-2009, 12:11 PM
  3. [SOLVED] Mailserver down when send file attach of 50Mb
    By ZMilton in forum Administrators
    Replies: 20
    Last Post: 04-10-2008, 12:44 PM
  4. [SOLVED] Upgraded to 5.0 OSS - Sendmail Problem
    By Chewie71 in forum Installation
    Replies: 11
    Last Post: 12-28-2007, 07:07 PM
  5. Seeming variety of problems on suse-9.1
    By Crexis in forum Installation
    Replies: 52
    Last Post: 03-04-2006, 12:19 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •