Amavisd fail to listen on multi ports 20024 30024 ..

Patrick Ben Koetter p at sys4.de
Tue Jul 2 08:22:03 CEST 2019


* Pro Va <provaitsolutions at gmail.com>:
> Hello All ,
> 
> I have configured amavisd as mailfilter interface for a postfix MTA , when
> I try to start amavisd after the initial configuration it fails ( systemctl
> start amavisd ) it reports that it cannot connect to one of the TCP ports ,
> its does this to all ( any ) posrt specified other than 10024 .

Do you start it as user root?
On which OS do you try this? Does the OS enforce SELinux or apparmor or
anything alike?


> I have mentioned 10024 , 20024 and 30024 as inet_socket_port
> 
> The error I get is :
> 
> 
> 
> (!)Net::Server: 2019/07/02-00:49:44 Can't connect to TCP port 20024 on
> 127.0.0.1 [Permission denied]\n  at line 68 in file
> /usr/share/perl5/vendor_perl/Net/Server/Proto/TCP.pm

Strange. Can you try the more modern notation:

@listen_sockets = (
    # Release
    '127.0.0.1:10024',
    '127.0.0.1:20024',
    '127.0.0.1:30024',
    "$MYHOME/amavisd.sock"
    );

p at rick


-- 
[*] sys4 AG
 
https://sys4.de, +49 (89) 30 90 46 64
Schleißheimer Straße 26/MG,80333 München
 
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Marc Schiffbauer, Wolfgang Stief
Aufsichtsratsvorsitzender: Florian Kirstein
 


More information about the amavis-users mailing list