Updated for amavisd-new 2.4.3

MrTalent's Debian config questions go here!

Moderators: Admins, Forum Moderator

Updated for amavisd-new 2.4.3

Postby freeblue » Tue Oct 03, 2006 6:39 am

Hi,
first i want to thanks a lot Mr88Talent for his excellent documents that helped me to find a so good solution to fight against spams.
I am a newbie in linux environement but i succeed to build the box.

I recently notice that in the changelog for the testing version, a new version of amavisd-new (2.4.3) is avalaible. i would like to install and use it but i am scare to crash my system that take me so long time to work.

How should i process to update amavisd-new with this last version without take the risk of make stop working this box and maybe keep my amavis configuration files?
I am sorry to ask such a stupid question but as i told i am not familiary with linux environement and even i succeed to build the box the question of update scare me as i am in a productive environment.

I have another question about dccifd, many times every day i have the following message :
Sep 25 15:50:03 sk dccifd[3566]: write(MTA socket,51): Broken pipe
i tried to change the time out from 8 to 10 in local.conf 's spamassassin config file but it didn't solve the problem.

nb : i use etch version of debian, spamassassin 3.1.4-1, postfix 2.2.10-2

I would appreciate any suggestion,

thanks a lot
freeblue
 
Posts: 16
Joined: Tue Oct 03, 2006 6:20 am

Postby mr88talent » Tue Oct 03, 2006 11:05 am

Assuming you are using 2.4.2, you can replace 2.4.2 with 2.4.3 without making any other changes to your system. Simply backup the old amavisd-new executable, replace it with the new one, and reload amavisd-new. This is exactly how I upgrade to a new version (that is not a major upgrade). Newer versions of amavisd-new will nearly always work just fine with older configuration files. Sometimes some minor changes are needed. It's a good idea to read the RELEASE_NOTES to see what may have changed, and to keep an eye on the mailing list archives for reports of problems.
http://marc.theaimsgroup.com/?l=amavis-user
http://www.ijs.si/software/amavisd/release-notes.txt

Code: Select all
cd /usr/local/src
wget http://www.ijs.si/software/amavisd/amavisd-new-2.4.3.tar.gz
tar xzvf amavisd-new-2.4.3.tar.gz
cd amavisd-new-2.4.3
cp /usr/sbin/amavisd-new /usr/sbin/amavisd-new-2.4.2
cp amavisd /usr/sbin/amavisd-new
amavisd-new reload
Monitor the system for a while:
Code: Select all
tail -f /var/log/mail.log

If you have problems, copy the old one back:
Code: Select all
cp /usr/sbin/amavisd-new-2.4.2 /usr/sbin/amavisd-new
amavisd-new reload

Optional:
Get a new amavisd.conf-sample
Code: Select all
cd /etc/amavis
mv amavisd.conf-sample amavisd.conf-sample-2.4.2
wget http://www200.pair.com/mecham/amavisd/2.4.3/amavisd.conf-sample

Optional:
Replace the template files with the 2.4.3 versions. Most people don't use external templates, but if you do, and you have edited (customized) any of them, you should either keep your old ones, or get these, then edit the new ones:
Code: Select all
cp -r /etc/amavis/en_US /etc/amavis/en_US-2.4.2
cd /etc/amavis/en_US
rm charset
rm template-dsn.txt
rm template-spam-admin.txt
rm template-spam-sender.txt
rm template-virus-admin.txt
rm template-virus-recipient.txt
rm template-virus-sender.txt
wget http://www200.pair.com/mecham/amavisd/2.4.3/en_US/charset
wget http://www200.pair.com/mecham/amavisd/2.4.3/en_US/template-dsn.txt
wget http://www200.pair.com/mecham/amavisd/2.4.3/en_US/template-spam-admin.txt
wget http://www200.pair.com/mecham/amavisd/2.4.3/en_US/template-spam-sender.txt
wget http://www200.pair.com/mecham/amavisd/2.4.3/en_US/template-virus-admin.txt
wget http://www200.pair.com/mecham/amavisd/2.4.3/en_US/template-virus-recipient.txt
wget http://www200.pair.com/mecham/amavisd/2.4.3/en_US/template-virus-sender.txt
User avatar
mr88talent
Moderator
 
Posts: 1676
Joined: Tue Mar 08, 2005 4:19 pm
Location: Salt Lake City

Postby mr88talent » Tue Oct 03, 2006 11:22 am

Code: Select all
Sep 25 15:50:03 sk dccifd[3566]: write(MTA socket,51): Broken pipe
i tried to change the time out from 8 to 10 in local.conf 's spamassassin config file but it didn't solve the problem.
There has been a problem with one of the DCC servers for a day or two. Does this happen on every single mail that is processed by spamassassin? If not, then you have already done what can be done and you might simply want to ignore the message. You can prevent logcheck from displaying this error by editing /etc/logcheck/ignore.d.server/dcc and adding:
Code: Select all
.*dccifd.*Broken pipe

If you get this on every message that is processed by spamassassin, then you may have some sort of firewall issue.
User avatar
mr88talent
Moderator
 
Posts: 1676
Joined: Tue Mar 08, 2005 4:19 pm
Location: Salt Lake City

Postby freeblue » Tue Oct 03, 2006 2:20 pm

Thanks so much again Mr88Talent for your answer (very fast). It was easy to update amavisd-new to the last version (2.4.3).
I take note of all advises for my next research.

About dccifd[3566]: write(MTA socket,51): Broken pipe, it doesn't appear on every single mail that is processed by spamassassin but a few percent of them.
So from now, i just will ignore that message in the futur.

Thanks you so much Mr88Talent for your help.
freeblue
 
Posts: 16
Joined: Tue Oct 03, 2006 6:20 am


Return to Debian

Who is online

Users browsing this forum: No registered users and 1 guest