Koozali.org: home of the SME Server

There was an error send message: unable to connect to smtp server localhost 25

Offline richard.nglb

  • *
  • 6
  • +0/-0
hi there

anyone knows any idea?

sme 7.0 pre1, server only mode

1st, the server behaves very slowly at console or via server-manager with any actions.. eg. add user or logging into the webmail or server manager screen.

when try to send any email will get that above message.

do a shutdown and startup with no network connection and after it got into the prompt mode do a network connection and test internet ok and try log in or send email all ok for a while maybe 30mins and later it will revert back to the problem again.

please advise.

thanks

richard

Offline Stefano

  • *
  • 10,894
  • +3/-0
sme 7.0 pre1, server only mode
.....
please advise.

7.0 pre1? the only suggestion I/we can give you is to read in the wiki the steps to upgrade ASAP to 7.4

Ciao
Stefano

Offline larieu

  • *****
  • 214
  • +0/-0
I had two experiences similar each one triggered by other reason

1. please check the memory

I had the same behaviour with low memory
when the swap is full the server become extremely slow
any mail which must be parsed by spamassasin and clamav require even 10 minutes

2. look for high mail traffic generated by spam/virus

also you can log to the logs of the email flows (IN and OUT)
(I recommend to look at all in the same time - several putty connections)

for incoming/outgoing
 
Code: [Select]
tail -f /var/log/qmail/current
here you must look at
status: local 0/10 remote 2/20

mine for example has no mail to send to local  an d 2 for remote recipients
do not mix this with queue (this are the actual jobs)

also one, some or all of this

Code: [Select]
tail -f /var/log/imap/current
Code: [Select]
tail -f /var/log/imaps/current
Code: [Select]
tail -f /var/log/pop3/current
Code: [Select]
tail -f /var/log/pop3s/current
this depend on your mail client  configuration (POP3, POP3s, IMAP, IMAPS)

you must look after this kind of info

tcpsvd: info: status 60/80 - number of session of that protocol from maximum allowed
tcpsvd: info: concurrency 16540 a.b.c.d 41/60 - number of session of that protocol from the same IP

from this you can see if your server has to many jobs to do, or it is "aggressed" by an computer which could be virused

to see if an local virus is not involved you must look also in the log of spamassasin and clamav

if everybody's life around you is better, probably yours will be better
just try to improve their life