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 03-31-2011, 12:58 AM
Beginner Member
 
Posts: 1
Default My main.cf config for antispam

Hello all,

i'm using drweb for antispam. Daemon of drweb binding to localhost:8025.
Configuration of drweb within postfix:
main.cf
content_filter = scan:127.0.0.1:8025
receive_override_options = no_address_mappings
master.cf
scan unix - - n - - smtp
-o smtp_send_xforward_command=yes
127.0.0.1:8026 inet n - n - - smtpd
-o content_filter=
-o receive_override_options=no_unknown_recipient_chec ks,no_header_body_checks
-o smtpd_helo_restrictions=
-o smtpd_client_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,rej ect
-o mynetworks=127.0.0.0/8
-o smtpd_authorized_xforward_hosts=127.0.0.0/8

What i do:
1. Change master.cf.in
2. Disable standart antispam and antivirus from admin console
3. Add these strings to conf/zmmta.cf to section "SECTION mta":
POSTCONF content_filter LOCAL postfix_content_filter
POSTCONF receive_override_options LOCAL postfix_receive_override_options
than apply these settings by
zmlocalconfig -e postfix_content_filter=scan:127.0.0.1:8025 and
zmlocalconfig -e postfix_receive_override_options=no_address_mappin gs

These configs applies successfully and my zimbra worked with drweb antispam.

!!!BUT!!!
Several times a week, mostly at night, at different times
value of parameter content_filter from postfix/conf/main.cf becomes empty.
ie:
#cat /opt/zimbra/postfix/conf/main.cf | grep content
content_filter =
#
but must be:
#cat /opt/zimbra/postfix/conf/main.cf | grep content
content_filter = scan:127.0.0.1:8025

After that i reconfigure
zmlocalconfig -e postfix_content_filter=scan:127.0.0.1:8025
and restatrt mta
$zmmtactl restart
and antispam worked again.

Tell me, how to diagnose this problem?
Thank you!
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.