kolab 2.3.4 openpkg - amavisd not functioning

Dirk Werner dwerner at curiousbits.de
Fri May 25 15:46:59 CEST 2012


Hi,
since I'm not sure which lang this forum prefers - Does it prefer one
specific? - I'll send this message one more time in English.

I'm running a Kolab Openpkg Version 2.3.4 Server on debian 6 stable. I'm
able to send emails to it using Thunderbird via imap, the mails end up
on the server but are not being further transported to the addressee.

In the file postfix.log, right after sending a mail, the following is shown:

May 25 12:42:18 mail-airwerk <info> postfix/smtp[3003]: 510121658F4:
to=<dwerner at curiousbits.de>, relay=none, delay=176327,
delays=176327/0.18/0/0, dsn=4.4.1, status=deferred (connect to
127.0.0.1[127.0.0.1]:10024: Connection refused)

So I tested if amavisd is running - ps aux | grep amavis shows nothing!
I started amavisd manually using /kolab/bin/openpkg rc amavisd start -
ps aux | grep amavis still shows nothing, there's also nothing about
amavisd in syslog. The log level of kolab is set to 4, debug is 1, also
the log level of amavisd is set to 5.

A telnet 127.0.0.1 10024 shows:

Trying 127.0.0.1...
telnet: unable to connect to remote host: Connection refused.

netstat -n -l -p shows:

Proto Recv-Q Send-Q Local Address           Foreign Address        
State       PID/Program name
tcp        0      0 127.0.0.1:10025         0.0.0.0:*              
LISTEN      2891/master    
tcp        0      0 127.0.0.1:10026         0.0.0.0:*              
LISTEN      2891/master    
tcp        0      0 0.0.0.0:587             0.0.0.0:*              
LISTEN      2891/master    
tcp        0      0 0.0.0.0:143             0.0.0.0:*              
LISTEN      2636/cyrmaster 
tcp        0      0 0.0.0.0:2000            0.0.0.0:*              
LISTEN      2636/cyrmaster 
tcp        0      0 0.0.0.0:465             0.0.0.0:*              
LISTEN      2891/master    
tcp        0      0 127.0.0.1:2003          0.0.0.0:*              
LISTEN      2636/cyrmaster 
tcp        0      0 0.0.0.0:22              0.0.0.0:*              
LISTEN      942/sshd       
tcp        0      0 0.0.0.0:25              0.0.0.0:*              
LISTEN      2891/master    
tcp        0      0 0.0.0.0:636             0.0.0.0:*              
LISTEN      1206/slapd     
tcp        0      0 0.0.0.0:993             0.0.0.0:*              
LISTEN      2636/cyrmaster 
tcp        0      0 0.0.0.0:995             0.0.0.0:*              
LISTEN      2636/cyrmaster 
tcp        0      0 0.0.0.0:389             0.0.0.0:*              
LISTEN      1206/slapd     
tcp6       0      0 :::80                   :::*                   
LISTEN      2317/apache    
tcp6       0      0 :::22                   :::*                   
LISTEN      942/sshd       
tcp6       0      0 :::443                  :::*                   
LISTEN      2317/apache


Last lines of postfix.log :

May 25 12:37:18 mail-airwerk <info> postfix/postfix-script[2848]:
starting the Postfix mail system
May 25 12:37:18 mail-airwerk <info> postfix/master[2849]: daemon started
-- version 2.8.3, configuration /kolab/etc/postfix
May 25 12:37:18 mail-airwerk <info> postfix/qmgr[2863]: 17D0D165910:
from=<dirk at airwerk.com>, size=803, nrcpt=1 (queue active)
May 25 12:37:18 mail-airwerk <info> postfix/qmgr[2863]: 5DDBF165903:
from=<dirk at airwerk.com>, size=743, nrcpt=1 (queue active)
May 25 12:37:18 mail-airwerk <info> postfix/smtp[2866]: connect to
127.0.0.1[127.0.0.1]:10024: Connection refused
May 25 12:37:18 mail-airwerk <info> postfix/smtp[2873]: connect to
127.0.0.1[127.0.0.1]:10024: Connection refused
May 25 12:37:19 mail-airwerk <info> postfix/smtp[2866]: 17D0D165910:
to=<dwerner at curiousbits.de>, relay=none, delay=68717,
delays=68717/0.01/0/0, dsn=4.4.1, status=deferred (connect to
127.0.0.1[127.0.0.1]:10024: Connection refused)

There are also some warnings in postfix.log

May 25 12:36:59 mail-airwerk <warning> postfix/postfix-script[4800]:
warning: not owned by root: /kolab/var/postfix/pid
May 25 12:36:59 mail-airwerk <warning> postfix/postfix-script[4805]:
warning: not owned by root: /kolab/etc/postfix/ldapdistlist.cf
May 25 12:36:59 mail-airwerk <warning> postfix/postfix-script[4806]:
warning: not owned by root: /kolab/etc/postfix/ldaptransport.cf
May 25 12:36:59 mail-airwerk <warning> postfix/postfix-script[4807]:
warning: not owned by root: /kolab/etc/postfix/ldapvirtual.cf
May 25 12:36:59 mail-airwerk <warning> postfix/postfix-script[4808]:
warning: not owned by root: /kolab/etc/postfix/main.cf
May 25 12:36:59 mail-airwerk <warning> postfix/postfix-script[4809]:
warning: not owned by root: /kolab/etc/postfix/master.cf

I know this is not looking nice, could this be connected to my problem?
I don't want to just change various file rights and owner settings
before someone has'nt recommended this. Do the files below
/kolab/etc/postfix/ have to belong to root? Also the dir pid below
/kolab/var/postfix?

File amavisd.log shows despite log_level = 5 only the following :

May 25 12:10:12 mail-airwerk /kolab/sbin/amavisd[14031]: starting. 
/kolab/sbin/amavisd at mail-airwerk amavisd-new-2.5.3 (20071212),
Unicode aware, LANG="en_US.UTF-8"
May 25 12:10:12 mail-airwerk /kolab/sbin/amavisd[14031]: Perl
version               5.010000

I just restarted the machine, right after it has come up, ps aux | grep
amavisd shows:*
*
kolab     2939  0.0  0.0   4972  1412 ?        S    12:46   0:00 smtp -n
smtp-amavis -t unix -u -o smtp_data_done_timeout=1200 -o
smtp_send_xforward_command=yes -o disable_dns_lookups=yes

A minute later, without any user action ps aux | grep amavis shows nothing.

I'm stuck and appreciate any kind of hint very much.

Best regards and a nice Whitsun weekend!

Dirk Werner
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kolab.org/pipermail/users/attachments/20120525/eda449ca/attachment.html>


More information about the users mailing list