<div dir="ltr"><div>It seems like the issue with Perl modules. Something is causing to pass undef value to perl-Net-Server.<br></div><div>May be some Perl expert will figure out exactly what is happening.<br><br>What version of perl-Net-Server you are using?<br>
I am using following versions on CentOS 6 <br>perl-Net-Server-0.97-7.el6.noarch<br>amavisd-new-2.8.0-4.el6.noarch<br><br>Note that I have installed amavis from EPEL(<a href="http://dl.fedoraproject.org/pub/epel/6/i386/">http://dl.fedoraproject.org/pub/epel/6/i386/</a>) repository which includes all the dependencies for amavis. And everything is working fine.<br>
<br></div><div>Just cross check the Perl modules, when right version is not installed they tend to break the things.<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Nov 21, 2013 at 6:24 PM, via amavis-users <span dir="ltr"><<a href="mailto:amavis-users@amavis.org" target="_blank">amavis-users@amavis.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Thu, November 21, 2013 11:43 pm, tejas sarade wrote:<br>
> Well, if SELinux is disabled then there is no point in checking audit.log<br>
>  file. Could you provide the complete output of 'amavisd debug'. Also let<br>
> me know if you are running 'amavisd debug' as root user.<br>
<br>
</div>thanks<br>
yes, running debug as root<br>
<br>
btw, half an hour I've downloaded amavisd-new-2.8.1 (20130628), and,<br>
replaced the executable with the 2.8.1 version now,<br>
<br>
[also, entered some new changes in amavisd.conf such as enabling ports<br>
10586 and 10026 (as per my other server)]<br>
<br>
----------<br>
# amavisd debug<br>
Nov 21 23:49:53.133 <a href="http://emu.sbt.net.au" target="_blank">emu.sbt.net.au</a> /usr/sbin/amavisd[14377]: logging<br>
initialized, log level 0, syslog: amavis.mail<br>
Nov 21 23:49:53.133 <a href="http://emu.sbt.net.au" target="_blank">emu.sbt.net.au</a> /usr/sbin/amavisd[14377]: starting.<br>
/usr/sbin/amavisd at <a href="http://emu.sbt.net.au" target="_blank">emu.sbt.net.au</a> amavisd-new-2.8.1 (20130628), Unicode<br>
aware, LANG="en_US.UTF-8"<br>
Nov 21 23:49:53.133 <a href="http://emu.sbt.net.au" target="_blank">emu.sbt.net.au</a> /usr/sbin/amavisd[14377]:<br>
perl=5.010001, user=, EUID: 495 (495);  group=, EGID: 493 493 (493 493)<br>
Nov 21 23:49:53.176 <a href="http://emu.sbt.net.au" target="_blank">emu.sbt.net.au</a> /usr/sbin/amavisd[14377]: INFO: no<br>
optional modules: unicore::lib::Perl::Alnum.pl<br>
unicore::lib::Perl::SpacePer.pl unicore::lib::Perl::Word.pl<br>
unicore::lib::Alpha::Y.pl unicore::lib::Nt::De.pl Unix::Getrusage<br>
Nov 21 23:49:53.176 <a href="http://emu.sbt.net.au" target="_blank">emu.sbt.net.au</a> /usr/sbin/amavisd[14377]: SpamControl:<br>
attempting to load scanner SpamAssassin, module<br>
Amavis::SpamControl::SpamAssassin<br>
Nov 21 23:49:53.176 <a href="http://emu.sbt.net.au" target="_blank">emu.sbt.net.au</a> /usr/sbin/amavisd[14377]: SpamControl:<br>
scanner SpamAssassin, module Amavis::SpamControl::SpamAssassin<br>
Nov 21 23:49:53.406 <a href="http://emu.sbt.net.au" target="_blank">emu.sbt.net.au</a> /usr/sbin/amavisd[14377]: INFO: SA<br>
version: 3.3.1, 3.003001, no optional modules: Net::CIDR::Lite URI::_idna<br>
URI::_punycode Image::Info Image::Info::GIF Image::Info::JPEG<br>
Image::Info::PNG Image::Info::BMP Image::Info::TIFF<br>
auto::NetAddr::IP::InetBase::inet_any2n<br>
auto::NetAddr::IP::InetBase::inet_n2ad<br>
auto::NetAddr::IP::InetBase::inet_n2dx<br>
auto::NetAddr::IP::InetBase::inet_ntoa<br>
auto::NetAddr::IP::InetBase::ipv6_aton<br>
auto::NetAddr::IP::InetBase::ipv6_ntoa<br>
Nov 21 23:49:53.406 <a href="http://emu.sbt.net.au" target="_blank">emu.sbt.net.au</a> /usr/sbin/amavisd[14377]: SpamControl:<br>
init_pre_chroot on SpamAssassin done<br>
Nov 21 23:49:53.406 <a href="http://emu.sbt.net.au" target="_blank">emu.sbt.net.au</a> /usr/sbin/amavisd[14377]: socket module<br>
IO::Socket::INET6, protocol families available: INET, INET6<br>
Nov 21 23:49:53.407 <a href="http://emu.sbt.net.au" target="_blank">emu.sbt.net.au</a> /usr/sbin/amavisd[14377]: bind to<br>
/var/spool/amavisd/amavisd.sock|unix, <a href="http://127.0.0.1:10024/tcp" target="_blank">127.0.0.1:10024/tcp</a>,<br>
[::1]:10024/tcp, <a href="http://127.0.0.1:10026/tcp" target="_blank">127.0.0.1:10026/tcp</a>, [::1]:10026/tcp,<br>
<a href="http://127.0.0.1:10586/tcp" target="_blank">127.0.0.1:10586/tcp</a>, [::1]:10586/tcp, <a href="http://127.0.0.1:9998/tcp" target="_blank">127.0.0.1:9998/tcp</a>, [::1]:9998/tcp<br>
Nov 21 23:49:53.408 <a href="http://emu.sbt.net.au" target="_blank">emu.sbt.net.au</a> /usr/sbin/amavisd[14377]: Net::Server:<br>
2013/11/21-23:49:53 Amavis (type Net::Server::PreForkSimple) starting!<br>
pid(14377)<br>
Use of uninitialized value in subroutine entry at<br>
/usr/local/share/perl5/Net/Server/Proto.pm line 125.<br>
Use of uninitialized value in subroutine entry at<br>
/usr/local/share/perl5/Net/Server/Proto.pm line 125.<br>
Use of uninitialized value in subroutine entry at<br>
/usr/local/share/perl5/Net/Server/Proto.pm line 125.<br>
Use of uninitialized value in subroutine entry at<br>
/usr/local/share/perl5/Net/Server/Proto.pm line 125.<br>
Nov 21 23:49:53.412 <a href="http://emu.sbt.net.au" target="_blank">emu.sbt.net.au</a> /usr/sbin/amavisd[14377]: Net::Server:<br>
Binding to UNIX socket file "/var/spool/amavisd/amavisd.sock"<br>
Nov 21 23:49:53.412 <a href="http://emu.sbt.net.au" target="_blank">emu.sbt.net.au</a> /usr/sbin/amavisd[14377]: Net::Server:<br>
<div class="im">Binding to TCP port 10024 on host 127.0.0.1 with IPv4<br>
</div>Nov 21 23:49:53.413 <a href="http://emu.sbt.net.au" target="_blank">emu.sbt.net.au</a> /usr/sbin/amavisd[14377]:<br>
(!)Net::Server: 2013/11/21-23:49:53 Can't connect to TCP port 10024 on<br>
<div class="im">127.0.0.1 [Permission denied]\n  at line 68 in file<br>
/usr/local/share/perl5/Net/Server/Proto/TCP.pm<br>
</div>Nov 21 23:49:53.413 <a href="http://emu.sbt.net.au" target="_blank">emu.sbt.net.au</a> /usr/sbin/amavisd[14377]: Net::Server:<br>
2013/11/21-23:49:53 Server closing!<br>
<br>
----------<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
>> # grep 495 /etc/passwd<br>
>> dovenull:x:497:495:Dovecot's unauthorized<br>
>> user:/usr/libexec/dovecot:/sbin/nologin<br>
>> amavis:x:495:493:User for amavisd-new:/var/spool/amavisd:/sbin/nologin<br>
<br>
<br>
</div></div></blockquote></div><br></div>