(02-23-2009 04:35 AM)BeNe Wrote: Quote:Postfix will not send or receive email with it enabled.
I purged my system of amavisd-new and amavis and now when I install amavisd-new it fails to start after installation.
It says it cannot locate a port to run on.
Maia comes with an own AMaVis daemon! The original AMaVis daemon doesn´t work if you only installed or reinstall the AMaVis. You need to copy the Maia files over again.
Greez BeNe
Do you think I would be better off removing maia completly than using the install script found on this site instead?
Lannie
PS Thanks, for moving my post to here.
appreciated.
I went through the howto again and it is still failing at the step where I install amavisd-new.
Code:
webhost:~# apt-get install amavisd-new spamassassin clamav clamav-daemon
Reading package lists... Done
Building dependency tree
Reading state information... Done
spamassassin is already the newest version.
clamav is already the newest version.
clamav-daemon is already the newest version.
Suggested packages:
lha arj unrar zoo nomarch lzop cabextract apt-listchanges libnet-ldap-perl
libauthen-sasl-perl dspam libmail-dkim-perl
The following NEW packages will be installed:
amavisd-new
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/830kB of archives.
After this operation, 2257kB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously deselected package amavisd-new.
(Reading database ... 95966 files and directories currently installed.)
Unpacking amavisd-new (from .../amavisd-new_1%3a2.6.1.dfsg-1_all.deb) ...
Processing triggers for man-db ...
Setting up amavisd-new (1:2.6.1.dfsg-1) ...
Creating/updating amavis user account...
Broken amavis system user found. To insure data-safety,
it is up to you the local administrator to remove the broken
amavis user, or repair it so that it is sane
dpkg: error processing amavisd-new (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
amavisd-new
E: Sub-process /usr/bin/dpkg returned an error code (1)
Lannie
It appears I had manually deleted the amavis home directory. I deleted the account and ran the install again and now it installed and started the service. I will continue on from here and see how it goes.
Sometimes it helps to step away for a while.
hehe
Lannie
Mail log after restarting postfix:
Code:
Feb 22 23:54:19 webhost amavis[16475]: No decoder for .zoo tried: zoo
Feb 22 23:54:19 webhost amavis[16475]: No decoder for .lha
Feb 22 23:54:19 webhost amavis[16475]: No decoder for .doc tried: ripole
Feb 22 23:54:19 webhost amavis[16475]: No decoder for .cab tried: cabextract
Feb 22 23:54:19 webhost amavis[16475]: No decoder for .tnef
Feb 22 23:54:19 webhost amavis[16475]: Internal decoder for .tnef
Feb 22 23:54:19 webhost amavis[16475]: No decoder for .exe tried: arj, unarj
[b]amavis script test results: Do I need to fix any of these?[/b]
webhost:/var/lib/amavis/maia/scripts# ./configtest.pl
MAIA MAILGUARD CONFIGURATION TEST
Application/Module Version Status
========================================================================
Perl : 5.10.0 : OK
file(1) : N/A : NOT INSTALLED (required by Maia Mailguard)
Archive::Tar : 1.38 : OK
Archive::Zip : 1.18 : OK
BerkeleyDB : 0.34 : OK
Compress::Zlib : 2.012 : OK
Convert::TNEF : 0.17 : OK
Convert::UUlib : 1.11 : OK
Crypt::Blowfish : 2.10 : OK
Crypt::CBC : 2.29 : OK
Crypt::OpenSSL::RSA : N/A : NOT INSTALLED (SpamAssassin's optional DomainKeys plugin requires this)
Data::UUID : 1.0501 : OK
DB_File : 1.816_1 : OK
DBD::mysql : 4.007 : OK
DBD::Pg : 2.8.7 : OK
DBI : 1.605 : OK
Digest::MD5 : 2.36_01 : OK
Digest::SHA1 : 2.11 : OK
File::Spec : 3.2501 : OK
HTML::Parser : 3.56 : OK
HTTP::Date : 5.810 : OK
IO::Stringy : 2.110 : OK
IO::Zlib : 1.09 : OK
IP::Country : N/A : NOT INSTALLED (SpamAssassin's optional RelayCountry plugin requires this)
LWP::UserAgent : 5.813 : OK
Mail::Address : 2.03 : OK
Mail::DomainKeys : N/A : NOT INSTALLED (SpamAssassin's optional DomainKeys plugin requires this)
Mail::Internet : 2.03 : OK
Mail::SpamAssassin : 3.2.5 : OK
Mail::SPF::Query : N/A : NOT INSTALLED (SpamAssassin's optional SPF plugin requires this)
MIME::Base64 : 3.07_01 : OK
MIME::Parser : 5.427 : OK
MIME::QuotedPrint : 3.07 : OK
Net::CIDR::Lite : N/A : NOT INSTALLED (SpamAssassin's optional SPF plugin requires this)
Net::DNS : 0.63 : OK
Net::Server : 0.97 : OK
Net::SMTP : 2.31 : OK
Pod::Usage : 1.35 : OK
Template : N/A : NOT INSTALLED (required by Maia Mailguard)
Time::HiRes : 1.9711 : OK
Unix::Syslog : 1.1 : OK
URI : 1.35 : OK