Koozali.org: home of the SME Server

random problem sending email

Offline ericcar

  • 19
  • +0/-0
random problem sending email
« on: May 11, 2021, 10:06:32 AM »
Hello

I am under sme 9.2 with virus detection disabled and no plugins.

regularly I have a timeout under thunderbird when I send an email (even without attachments)

below the log

2021-05-11 09:26:22.821243500 22478 Accepted connection 1/10 from 44.159.159.130 / 130.159.159.77.rev.sfr.net
2021-05-11 09:26:22.821411500 22478 Connection from 130.159.159.44.rev.sfr.net [44.159.159.130]
2021-05-11 09:26:23.736288500 22478 (connect) tls: pass, connect via SMTPS
2021-05-11 09:26:24.737843500 22478 (connect) earlytalker: pass, not spontaneous
2021-05-11 09:26:24.738763500 22478 (connect) relay: skip, no match
2021-05-11 09:26:24.739284500 22478 220 serveur.mondomaine.com ESMTP
2021-05-11 09:26:24.873194500 22478 dispatching EHLO [192.168.1.79]
2021-05-11 09:26:24.873884500 22478 (ehlo) helo: pass
2021-05-11 09:26:24.874586500 22478 250-mondomaine.com Hi 130.159.159.44.rev.sfr.net 44.159.159.130]
2021-05-11 09:26:24.874630500 22478 250-PIPELINING
2021-05-11 09:26:24.874666500 22478 250-8BITMIME
2021-05-11 09:26:24.874704500 22478 250-SIZE 15000000
2021-05-11 09:26:24.874740500 22478 250 AUTH PLAIN LOGIN
2021-05-11 09:26:25.303588500 22478 dispatching AUTH PLAIN <hidden credentials>
2021-05-11 09:26:25.304849500 22478 (auth-plain) auth::auth_cvm_unix_local: pass: authentication for: exp
2021-05-11 09:26:25.305016500 22478 235 PLAIN authentication successful for florent.brochard - auth success for exp
2021-05-11 09:26:25.363244500 22478 dispatching MAIL FROM:<exp@mondomaine.com> BODY=8BITMIME SIZE=53570
2021-05-11 09:26:25.364375500 22478 (mail) naughty: pass
2021-05-11 09:26:25.364547500 22478 (mail) badmailfrom: skip, relay client
2021-05-11 09:26:25.364787500 22478 250 <exp@mondomaine.com>, sender OK - how exciting to get mail from you!
2021-05-11 09:26:25.460957500 22478 dispatching RCPT TO:<dest@mondomaine.fr>
2021-05-11 09:26:25.461414500 22478 (rcpt) badrcptto: skip, relay client
2021-05-11 09:26:25.461562500 22478 (rcpt) rcpt_ok: skip, relay client
2021-05-11 09:26:25.461718500 22478 250 <dest@mondomaine.fr>, recipient ok
2021-05-11 09:26:25.599622500 22478 dispatching DATA
2021-05-11 09:26:25.599984500 22478 354 go ahead

2021-05-11 09:28:25.606072500 22478 Connection Timed Out
2021-05-11 09:28:25.653346500 1949 cleaning up after 22478

the line "spooling message to disk" does not appear? then timeout.
An idea

Thank you for your advice

Offline TerryF

  • grumpy old man
  • *
  • 1,821
  • +6/-0
Re: random problem sending email
« Reply #1 on: May 12, 2021, 01:55:11 PM »
Stab in the dark, what is your storage space like?
--
qui scribit bis legit

Offline ericcar

  • 19
  • +0/-0
Re: random problem sending email
« Reply #2 on: May 12, 2021, 02:15:25 PM »
Thank you for your help

I still have space on the disk

Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/main-root
                       95G   84G  5,8G  94% /
tmpfs                 936M     0  936M   0% /dev/shm
/dev/md0              239M   77M  149M  35% /boot

Usually the sending of mail works, but sometimes it does not pass "timeout", if I send it back generally it passes.

Thank you for your advice

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: random problem sending email
« Reply #3 on: May 12, 2021, 03:18:01 PM »
Quote
Connection Timed Out

Check your connections at each end. It's timing out after 120 seconds/2 mins?

Big attachments?

Maximum number of connections setting?

Wifi? :roll:

I'm struggling with a Lenovo laptop & systemd that has a mind of its own and suddenly decides to randomly disconnect for no good reason whatsoever :-(

Try running a ping at the same time as the connect.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline mmccarn

  • *
  • 2,626
  • +10/-0
Re: random problem sending email
« Reply #4 on: May 13, 2021, 01:32:49 PM »
There's a note in the wiki about smtp connections timing out -
https://wiki.koozali.org/Email#qpsmtpd_.22Connection_Timed_Out.22_errors