Re: Strange logs in opensmtpd
Hello, I removed everything in the queue directory# rm -fr /var/spool/smtpd/queue/*and restarted the daemon# /etc/rc.d/smtpd restartThe messages disapeared Strange that I couldn't see anything from the command# smtpctl show queue Le Dimanche 16 avril 2017 18h12, Mik J a écrit : Hello Edgar,Thank you but I don't understand why the server is trying to connect to that IP, the queue is empty.I try to understand where is this connection coming from, my mail server is only sending 10 mails per day.Regards Le Dimanche 16 avril 2017 3h08, Edgar Pettijohn a écrit : On 04/15/17 06:49, Mik J wrote: Hello, My logs constantly fill up with this kind of message Apr 15 13:42:08 mysmtpserv smtpd[10151]: smtp-out: Connecting to smtp+tls://y.z.x.z:25 (sub.domain.com) on session 078291f96b72c115... Apr 15 13:42:09 mysmtpserv smtpd[10151]: smtp-out: Error on session 078291f96b72c115: IO Error: Connection refused Apr 15 13:42:09 mysmtpserv smtpd[10151]: smtp-out: Disabling route [] <-> y.z.x.z (sub.domain.com) for 15s Apr 15 13:42:10 mysmtpserv smtpd[10151]: smtp-out: Connecting to smtp+tls://y.21.x.162:25 (y.21.x.162) on session 078291fa4b78a09e... Apr 15 13:42:10 mysmtpserv smtpd[10151]: smtp-out: Enabling route [] <-> y.21.x.z (y.21.x.z) Apr 15 13:42:10 mysmtpserv smtpd[10151]: smtp-out: Error on session 078291fa4b78a09e: IO Error: Connection refused Apr 15 13:42:10 mysmtpserv smtpd[10151]: smtp-out: Disabling route [] <-> y.21.x.162 (y.21.x.162) for 15s Apr 15 13:42:12 mysmtpserv smtpd[10151]: smtp-out: Enabling route [] <-> y.21.x.183 (y.21.x.183) Apr 15 13:42:12 mysmtpserv smtpd[10151]: smtp-out: Connecting to smtp+tls://y.21.x.z:25 (y.21.x.z) on session 078291fb858d1008... Apr 15 13:42:12 mysmtpserv smtpd[10151]: smtp-out: Error on session 078291fb858d1008: IO Error: Connection refused Apr 15 13:42:12 mysmtpserv smtpd[10151]: smtp-out: Disabling route [] <-> y.21.x.z (y.21.x.z) for 15s Apr 15 13:42:14 mysmtpserv smtpd[10151]: smtp-out: Enabling route [] <-> y.21.x.x (y.21.x.x) Even if my queue is empty # smtpctl show queue Does anyone know what can I do ? The ip address you are sending to is refusing the connection. Maybe make sure they have port 25 open and make sure there isn't a typo in the address. Thats my best guess.
Re: Strange logs in opensmtpd
On 04/15/17 06:49, Mik J wrote: Hello, My logs constantly fill up with this kind of message Apr 15 13:42:08 mysmtpserv smtpd[10151]: smtp-out: Connecting to smtp+tls://y.z.x.z:25 (sub.domain.com) on session 078291f96b72c115... Apr 15 13:42:09 mysmtpserv smtpd[10151]: smtp-out: Error on session 078291f96b72c115: IO Error: Connection refused Apr 15 13:42:09 mysmtpserv smtpd[10151]: smtp-out: Disabling route [] <-> y.z.x.z (sub.domain.com) for 15s Apr 15 13:42:10 mysmtpserv smtpd[10151]: smtp-out: Connecting to smtp+tls://y.21.x.162:25 (y.21.x.162) on session 078291fa4b78a09e... Apr 15 13:42:10 mysmtpserv smtpd[10151]: smtp-out: Enabling route [] <-> y.21.x.z (y.21.x.z) Apr 15 13:42:10 mysmtpserv smtpd[10151]: smtp-out: Error on session 078291fa4b78a09e: IO Error: Connection refused Apr 15 13:42:10 mysmtpserv smtpd[10151]: smtp-out: Disabling route [] <-> y.21.x.162 (y.21.x.162) for 15s Apr 15 13:42:12 mysmtpserv smtpd[10151]: smtp-out: Enabling route [] <-> y.21.x.183 (y.21.x.183) Apr 15 13:42:12 mysmtpserv smtpd[10151]: smtp-out: Connecting to smtp+tls://y.21.x.z:25 (y.21.x.z) on session 078291fb858d1008... Apr 15 13:42:12 mysmtpserv smtpd[10151]: smtp-out: Error on session 078291fb858d1008: IO Error: Connection refused Apr 15 13:42:12 mysmtpserv smtpd[10151]: smtp-out: Disabling route [] <-> y.21.x.z (y.21.x.z) for 15s Apr 15 13:42:14 mysmtpserv smtpd[10151]: smtp-out: Enabling route [] <-> y.21.x.x (y.21.x.x) Even if my queue is empty # smtpctl show queue Does anyone know what can I do ? The ip address you are sending to is refusing the connection. Maybe make sure they have port 25 open and make sure there isn't a typo in the address. Thats my best guess.
Strange logs in opensmtpd
Hello, My logs constantly fill up with this kind of messageApr 15 13:42:08 mysmtpserv smtpd[10151]: smtp-out: Connecting to smtp+tls://y.z.x.z:25 (sub.domain.com) on session 078291f96b72c115... Apr 15 13:42:09 mysmtpserv smtpd[10151]: smtp-out: Error on session 078291f96b72c115: IO Error: Connection refused Apr 15 13:42:09 mysmtpserv smtpd[10151]: smtp-out: Disabling route [] <-> y.z.x.z (sub.domain.com) for 15s Apr 15 13:42:10 mysmtpserv smtpd[10151]: smtp-out: Connecting to smtp+tls://y.21.x.162:25 (y.21.x.162) on session 078291fa4b78a09e... Apr 15 13:42:10 mysmtpserv smtpd[10151]: smtp-out: Enabling route [] <-> y.21.x.z (y.21.x.z) Apr 15 13:42:10 mysmtpserv smtpd[10151]: smtp-out: Error on session 078291fa4b78a09e: IO Error: Connection refused Apr 15 13:42:10 mysmtpserv smtpd[10151]: smtp-out: Disabling route [] <-> y.21.x.162 (y.21.x.162) for 15s Apr 15 13:42:12 mysmtpserv smtpd[10151]: smtp-out: Enabling route [] <-> y.21.x.183 (y.21.x.183) Apr 15 13:42:12 mysmtpserv smtpd[10151]: smtp-out: Connecting to smtp+tls://y.21.x.z:25 (y.21.x.z) on session 078291fb858d1008... Apr 15 13:42:12 mysmtpserv smtpd[10151]: smtp-out: Error on session 078291fb858d1008: IO Error: Connection refused Apr 15 13:42:12 mysmtpserv smtpd[10151]: smtp-out: Disabling route [] <-> y.21.x.z (y.21.x.z) for 15s Apr 15 13:42:14 mysmtpserv smtpd[10151]: smtp-out: Enabling route [] <-> y.21.x.x (y.21.x.x) Even if my queue is empty# smtpctl show queue Does anyone know what can I do ?