Re: [exim] Need more informations about remote_smtp defer ex…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Simon
Date:  
À: exim-users
Sujet: Re: [exim] Need more informations about remote_smtp defer exim4 log
What do you mean by very restricted range for ephemeral port? How can I
know that, because it's not me who done the server/configuration
installation.

Here is output for uname -a

Linux 3.10.23-xxxx-std-ipv6-64 #1 SMP Tue Mar 18 14:48:24 CET 2014
x86_64 GNU/Linux

And here is netstat -pant, output is amazing !!!


Connexions Internet actives (serveurs et établies)
Proto Recv-Q Send-Q Adresse locale          Adresse distante       
Etat        PID/Program name
tcp        0      0 127.0.0.1:783 0.0.0.0:*               LISTEN     
1327/spamd child
tcp        0      0 0.0.0.0:143 0.0.0.0:*               LISTEN      1/init
tcp        0      0 0.0.0.0:111 0.0.0.0:*               LISTEN     
4496/rpcbind
tcp        0      0 176.31.234.153:465 0.0.0.0:*              
LISTEN      25015/exim4
tcp        0      0 127.0.0.1:53 0.0.0.0:*               LISTEN     
31475/named
tcp        0      0 176.31.234.153:4949 0.0.0.0:*              
LISTEN      23723/perl
tcp        0      0 0.0.0.0:22 0.0.0.0:*               LISTEN     
27537/sshd
tcp        0      0 127.0.0.1:25 0.0.0.0:*               LISTEN     
25015/exim4
tcp        0      0 176.31.234.153:25 0.0.0.0:*              
LISTEN      25015/exim4
tcp        0      0 127.0.0.1:953 0.0.0.0:*               LISTEN     
31475/named
tcp        0      0 0.0.0.0:4190 0.0.0.0:*               LISTEN     
23354/dovecot
tcp        0      0 0.0.0.0:993 0.0.0.0:*               LISTEN      1/init
tcp        0      0 127.0.0.1:10024 0.0.0.0:*               LISTEN     
5706/amavisd-new (m
tcp        0      0 127.0.0.1:10025 0.0.0.0:*               LISTEN     
25015/exim4
tcp        0      0 0.0.0.0:3306 0.0.0.0:*               LISTEN     
22696/mysqld
tcp        0      0 127.0.0.1:10026 0.0.0.0:*               LISTEN     
5270/perl
tcp        0      0 176.31.234.153:587 0.0.0.0:*              
LISTEN      25015/exim4
tcp        0      0 127.0.0.1:10028 0.0.0.0:*               LISTEN     
5288/perl
tcp        0      0 176.31.234.153:56947 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:47225 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:46949 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:60357 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:33023 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:55981 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:39292 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:52523 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:53944 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:39764 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:44355 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:60683 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:42479 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:43909 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:52001 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:59347 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:52934 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:58318 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:37072 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:59808 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:45440 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:52302 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:55509 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:39606 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:42176 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:58536 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:39012 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:34615 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:45383 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:59129 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:40227 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:35386 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:42800 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:48375 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:34533 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:3306 109.190.128.177:38364  
TIME_WAIT   -
tcp        0      0 176.31.234.153:39307 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:54227 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:39840 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:42142 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:60842 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:40563 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:43172 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:33117 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:51507 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:36488 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:57089 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:60800 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:50443 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:45284 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:59523 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:60284 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:56499 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:45977 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:53045 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:47498 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:38472 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:49769 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:53636 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:57940 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:51090 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:143 109.190.128.177:52982  
ESTABLISHED 1273/imap-login
tcp        0      0 176.31.234.153:34881 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:33908 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:58282 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:55682 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:59792 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:45427 85.233.202.178:80      
TIME_WAIT   -
tcp        0      0 176.31.234.153:40023 85.233.202.178:80      
TIME_WAIT   -



lot of line between 25621 !!!!!


tcp6       0      0 :::110 :::*                    LISTEN     
4607/couriertcpd
tcp6       0      0 ::1:783 :::*                    LISTEN     
1327/spamd child
tcp6       0      0 :::143 :::*                    LISTEN      1/init
tcp6       0      0 :::111 :::*                    LISTEN      4496/rpcbind
tcp6       0      0 :::80 :::*                    LISTEN      9551/apache2
tcp6       0      0 2001:41d0:2:fb99:::465 :::*                   
LISTEN      25015/exim4
tcp6       0      0 ::1:53 :::*                    LISTEN      31475/named
tcp6       0      0 :::22 :::*                    LISTEN      27537/sshd
tcp6       0      0 2001:41d0:2:fb99:::25 :::*                   
LISTEN      25015/exim4
tcp6       0      0 ::1:953 :::*                    LISTEN      31475/named
tcp6       0      0 :::443 :::*                    LISTEN      9551/apache2
tcp6       0      0 :::4190 :::*                    LISTEN     
23354/dovecot
tcp6       0      0 :::993 :::*                    LISTEN      1/init
tcp6       0      0 :::995 :::*                    LISTEN     
4605/couriertcpd
tcp6       0      0 ::1:10024 :::*                    LISTEN     
5706/amavisd-new (m
tcp6       0      0 2001:41d0:2:fb99:::587 :::*                   
LISTEN      25015/exim4
tcp6       0      0 176.31.234.153:80 109.190.128.177:45558   TIME_WAIT   -
tcp6       0      0 176.31.234.153:80 77.153.35.92:50836     
ESTABLISHED 8902/apache2
tcp6       0      0 176.31.234.153:80 109.190.128.177:45614   TIME_WAIT   -
tcp6       0      0 2001:41d0:2:fb99:::993 2a01:cb11:229:7f0:44497
ESTABLISHED 27739/imap-login
tcp6       0      0 ::1:34713 ::1:783                 TIME_WAIT   -
tcp6       0      0 ::1:53868 ::1:783                 TIME_WAIT   -
tcp6       0      0 2001:41d0:2:fb99::45299 2a00:1450:4007:80f:::80
TIME_WAIT   -
tcp6       0      0 176.31.234.153:80 77.153.35.92:50835     
ESTABLISHED 8901/apache2
tcp6       0      0 ::1:37773 ::1:783                 TIME_WAIT   -
tcp6       0      0 ::1:34712 ::1:783                 TIME_WAIT   -
tcp6       0      0 2001:41d0:2:fb99:::993 2a01:cb11:229:7f0:44500
ESTABLISHED 31263/imap-login
tcp6       0      0 ::1:53866 ::1:783                 TIME_WAIT   -
tcp6       0      0 ::1:37698 ::1:783                 TIME_WAIT   -
tcp6       0      0 176.31.234.153:80 109.190.128.177:39420   TIME_WAIT   -
tcp6       0      0 ::1:38284 ::1:783                 TIME_WAIT   -



> On 08/01/2019 09:55, Simon via Exim-users wrote:
>> Connecting to smtp-in.orange.fr [80.12.242.9]:25 from 176.31.234.153 ...
>> unable to bind outgoing SMTP call to 176.31.234.153: Address already in
>> use
> We're trying to bind the local address, before making the connection.
> This is done in order to force use of a specified interface, because
> of the transpotr configuration. The bind syscall uses an IP address
> and port zero (which should mean "any port", and have the kernel assign
> an ephemeral port). There's no good reason for that to fail, that I can
> think of, beyond being totally out of ports.
>
> Is the system configured with a very restricted range for ephemeral
> ports? Is it very busy, as shown by "netstat -pant"? What OS, distro
> and version?
>
>> And here is output with strace
>> [pid 16479] socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 8
>> [pid 16479] setsockopt(8, SOL_TCP, TCP_NODELAY, [1], 4) = 0
>> [pid 16479] bind(8, {sa_family=AF_INET, sin_port=htons(0),
>> sin_addr=inet_addr("176.31.234.153")}, 16) = -1 EADDRINUSE (Address
>> already in use)
> Matches the above.