May 26

$ zmcontrol status
Host mail.test.com
antispam                Running
antivirus               Stopped
amavisd running pid: 16264
zmclamdctl is not running
imapproxy               Running
ldap                    Running
logger                  Running
mailbox                 Running
mta                     Running
snmp                    Running
spell                   Running
stats                   Running
# tail /opt/zimbra/log/clamd.log
LibClamAV Error: cli_hex2str(): Malformed hexstring: This ClamAV version has reached End of Life! Please upgrade to version 0.95 or later. For more information see  www.clamav.net/eol-clamav-094 and www.clamav.net/download (length: 169)
LibClamAV Error: Problem parsing database at line 741
LibClamAV Error: Can’t load daily.ndb: Malformed database
LibClamAV Error: cli_tgzload: Invalid size in header
LibClamAV Error: Can’t load /opt/zimbra/data/clamav/db/daily.cld: Malformed database
Wed May 26 12:28:31 2010 -> ERROR: Malformed database
ERROR: Malformed database

solution :
# cd /opt/zimbra
# wget http://files2.zimbra.com/downloads/clamav/ubuntu8/clamav-0.95.1.tgz
# tar xf clamav-0.95.1.tgz
# su zimbra
$ zmcontrol stop
$ exit
# rm clamav
# ln -s clamav-0.95.1 clamav
# ls -l clamav
lrwxrwxrwx  1 root root 16 Apr 9 12:39 clamav -> /opt/zimbra/clamav-0.95.1
# su zimbra
$ zmcontrol start
Host mail.test.com
Starting ldap…Done.
Starting logger…Done.
Starting mailbox…Done.
Starting imapproxy…Done.
Starting antispam…Done.
Starting antivirus…Done.
Starting snmp…Done.
Starting spell…Done.
Starting mta…Done.
Starting stats…Done.
$ zmcontrol status
Host mail.test.com
antispam                Running
antivirus               Running
imapproxy               Running
ldap                    Running
logger                  Running
mailbox                 Running
mta                     Running
snmp                    Running
spell                   Running
stats                   Running

$ /opt/zimbra/clamav/bin/clamscan -d /opt/zimbra/data/clamav/db/
LibClamAV Warning: ***********************************************************
LibClamAV Warning: ***  This version of the ClamAV engine is outdated.     ***
LibClamAV Warning: *** DON’T PANIC! Read http://www.clamav.net/support/faq ***
LibClamAV Warning: ***********************************************************
LibClamAV Warning: ***********************************************************
LibClamAV Warning: ***  This version of the ClamAV engine is outdated.     ***
LibClamAV Warning: *** DON’T PANIC! Read http://www.clamav.net/support/faq ***
LibClamAV Warning: ***********************************************************
/opt/zimbra/.bashrc: OK
/opt/zimbra/config.2172: OK
/opt/zimbra/.bash_history: OK
/opt/zimbra/.exrc: OK
/opt/zimbra/.install_history: OK
/opt/zimbra/.viminfo: Empty file
/opt/zimbra/clamav-0.95.1.tgz: OK
/opt/zimbra/.bash_profile: OK
/opt/zimbra/.ldaprc: OK

———– SCAN SUMMARY ———–
Known viruses: 787197
Engine version: 0.95.1-broken-compiler
Scanned directories: 1
Scanned files: 8
Infected files: 0
Data scanned: 72.13 MB
Data read: 22.15 MB (ratio 3.26:1)
Time: 36.798 sec (0 m 36 s)b

May 20

Here is some of my experience dealing with mailman. I am tying to set my mailman to be a newsletter /distribution list i add some user email to the member list and

– I want the user on member list not be able to replay the mail that was sent to mailing list.

– And i also did not want the user member list cannot directly email the mailing list.

– And i also don’t want any of non member be able to send email.

After install mailman and create the mailing list first of all you need to set mailing list on the picture below i set adittest, once mail send to the mailing list by authorize email address we need to get rid off of the Reply-To:  from the mail header  You need to go to General Options and set the first_strip_reply_to to yes

mailman1

(click the picture to enlarge it)

Then we set some Notifications for theailing member list, we don’t want the mailing list member to have password reminder , welcome notice etc

mailman2

mailman3

(click the picture to enlarge it)

We also want to add some email to our mailing list membership,  you need to go to Membership Management -> [Mass Subscription] .  We can set how to subscribe the email, Send welcome messages  and Send notifications of new subscriptions or not.

mailman4

(click the picture to enlarge it)

After you add the member list, you see that the moderation(mod) flag was automaticaly added by default the advantage of this flag if one of the member decide to mail the mailing list directly it will be moderate first like shown below

mailman5

(click the picture to enlarge it)

Now we will set the Privacy options , first we need to set the subscription rules you need to go to Privacy options -> [Subscription rules]. We need to set the subscribe_policy

mailman6

(click the picture to enlarge it)

Now we need to set Privacy options for sender we can set the action to take when a moderated member posts to the list(rejected,discard or hold) and how the rejected message shown.

mailman7

(click the picture to enlarge it)

on the privacy options for sender we can also set  non-member filters ,   we can set list of non-member addresses whose postings should be automatically accepted( on this option we can set email that allowed to be send to mailing list)

mailman8

(click the picture to enlarge it)

we can also set action to take for postings from non-members for which no explicit action is defined.

mailman9

(click the picture to enlarge it)

Now we need to set the member when trying to replay the mail that was sent by the mailing list, the replay will not go throught directly to the mailing list. You need to go to Privacy options -> Recipient filters -> max_num_recipients set it to 2 it will hold every member replay

mailman10

(click the picture to enlarge it)

You will see the hold email massage on Tend to pending moderator requests

mailman11

(click the picture to enlarge it)