Koozali.org: home of the SME Server

SME Server cannot receive email

Offline loejf

  • ****
  • 74
  • +0/-0
SME Server cannot receive email
« on: December 09, 2010, 05:20:04 PM »
Hi.
Could anyone please help.
Since yesterday my SME suddenly cannot receive emails, no problems with sending.
I have checked for any changes in DNS, Firewall etc. Everything is ok.
I have therefore today upgraded from version 7.4 to version 7.5.1, but it did not resolve the problem.
I cannot find any errormessages.
Best regards
Loejf
...

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: SME Server cannot receive email
« Reply #1 on: December 09, 2010, 07:29:32 PM »
Hi.
Could anyone please help.
Since yesterday my SME suddenly cannot receive emails, no problems with sending.
I have checked for any changes in DNS, Firewall etc. Everything is ok.
I have therefore today upgraded from version 7.4 to version 7.5.1, but it did not resolve the problem.
I cannot find any errormessages.
Best regards
Loejf
Do you have a fixed IP address? Did your provider perhaps start blocking port 25?

Did you already look at the relevant logfiles (see http://wiki.contribs.org/Log_Files#E-mail_logfiles )? Are you seeing incoming connections in there or not?
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline loejf

  • ****
  • 74
  • +0/-0
Re: SME Server cannot receive email
« Reply #2 on: December 10, 2010, 11:01:45 AM »
Hi.
25 is open through my isp, has been checked.
qpsmtpd log on startup:
2010-12-10 10:57:24.965313500 5417 trying to get config for plugins
2010-12-10 10:57:24.975961500 5417 Loading hosts_allow from /usr/share/qpsmtpd/plugins/hosts_allow
2010-12-10 10:57:24.976938500 5417 hosts_allow hooking pre-connection
2010-12-10 10:57:24.988385500 5417 Loading peers from /usr/share/qpsmtpd/plugins/peers
2010-12-10 10:57:24.989110500 5417 trying to get config for peers/0
2010-12-10 10:57:25.193857500 5417 peers plugin (init): Loading tls ssl/cert.pem ssl/cert.pem ssl/cert.pem from /usr/share/qpsmtpd/plugins/tls
2010-12-10 10:57:25.216472500 5417 peers plugin (init): Loading auth/auth_cvm_unix_local cvm_socket /var/lib/cvm/cvm-unix-local.socket enable_smtp no enable_ssmtp yes from /usr/share/qpsmtpd/plugins/auth/auth_cvm_unix_local
2010-12-10 10:57:25.228900500 5417 peers plugin (init): Loading check_earlytalker from /usr/share/qpsmtpd/plugins/check_earlytalker
2010-12-10 10:57:25.233933500 5417 peers plugin (init): Loading count_unrecognized_commands 4 from /usr/share/qpsmtpd/plugins/count_unrecognized_commands
2010-12-10 10:57:25.542089500 5417 peers plugin (init): Loading check_relay from /usr/share/qpsmtpd/plugins/check_relay
2010-12-10 10:57:25.546610500 5417 peers plugin (init): Loading check_norelay from /usr/share/qpsmtpd/plugins/check_norelay
2010-12-10 10:57:25.578486500 5417 peers plugin (init): Loading require_resolvable_fromhost from /usr/share/qpsmtpd/plugins/require_resolvable_fromhost
2010-12-10 10:57:25.649037500 5417 peers plugin (init): Loading check_basicheaders from /usr/share/qpsmtpd/plugins/check_basicheaders
2010-12-10 10:57:25.654467500 5417 peers plugin (init): Loading check_badmailfrom from /usr/share/qpsmtpd/plugins/check_badmailfrom
2010-12-10 10:57:25.659128500 5417 peers plugin (init): Loading check_badrcptto_patterns from /usr/share/qpsmtpd/plugins/check_badrcptto_patterns
2010-12-10 10:57:25.664127500 5417 peers plugin (init): Loading check_badrcptto from /usr/share/qpsmtpd/plugins/check_badrcptto
2010-12-10 10:57:25.668297500 5417 peers plugin (init): Loading check_spamhelo from /usr/share/qpsmtpd/plugins/check_spamhelo
2010-12-10 10:57:25.675718500 5417 peers plugin (init): Loading check_goodrcptto extn - from /usr/share/qpsmtpd/plugins/check_goodrcptto
2010-12-10 10:57:25.680832500 5417 peers plugin (init): Loading rcpt_ok from /usr/share/qpsmtpd/plugins/rcpt_ok
2010-12-10 10:57:26.342977500 5417 peers plugin (init): Loading tnef2mime from /usr/share/qpsmtpd/plugins/tnef2mime
2010-12-10 10:57:26.363644500 5417 peers plugin (init): Loading spamassassin munge_subject_threshold 3 from /usr/share/qpsmtpd/plugins/spamassassin
2010-12-10 10:57:26.378761500 5417 peers plugin (init): Loading virus/clamav clamscan_path=/usr/bin/clamdscan action=reject max_size=25000000 from /usr/share/qpsmtpd/plugins/virus/clamav
2010-12-10 10:57:26.388481500 5417 peers plugin (init): Loading queue/qmail-queue from /usr/share/qpsmtpd/plugins/queue/qmail-queue
2010-12-10 10:57:26.389521500 5417 peers hooking valid_auth
2010-12-10 10:57:26.390232500 5417 peers hooking set_hooks
2010-12-10 10:57:26.399055500 5417 trying to get config for tls_ciphers
2010-12-10 10:57:26.399962500 5417 tls plugin (init): ciphers: HIGH
2010-12-10 10:57:26.409384500 5417 tls hooking connect
2010-12-10 10:57:26.410063500 5417 tls hooking ehlo
2010-12-10 10:57:26.410672500 5417 tls hooking helo
2010-12-10 10:57:26.411456500 5417 tls hooking rcpt
2010-12-10 10:57:26.412158500 5417 tls hooking mail
2010-12-10 10:57:26.412802500 5417 tls hooking data
2010-12-10 10:57:26.413634500 5417 tls hooking post-connection
2010-12-10 10:57:26.414239500 5417 tls hooking unrecognized_command
2010-12-10 10:57:26.414999500 5417 Listening on 0.0.0.0:25
2010-12-10 10:57:26.416265500 5417 Running as user qpsmtpd, group qpsmtpd
2010-12-10 10:57:26.416685500 5417 Initializing spool_dir
2010-12-10 10:57:26.417152500 5417 trying to get config for spool_dir
2010-12-10 10:57:26.430089500 5417 trying to get config for spool_perms
2010-12-10 10:57:26.431019500 5417 Permissions on spool_dir /var/spool/qpsmtpd/ are not 0700
2010-12-10 10:57:26.431494500 5417 trying to get config for size_threshold
2010-12-10 10:57:26.432297500 5417 size_threshold set to 0

The only suspicious thing I can see is:
Permissions on spool_dir /var/spool/qpsmtpd/ are not 0700

So checking it:
drwxr-s---   2 qpsmtpd clamav 36864 Jun  3  2010 qpsmtpd

Is this OK ??

Best regards
Loejf
...

Offline loejf

  • ****
  • 74
  • +0/-0
Re: SME Server cannot receive email
« Reply #3 on: December 10, 2010, 12:47:48 PM »
Hmmm.
After comparing 2 SME, it seems more to be something about the qpsmtpd plugin peers, that is the problem:
Do anyone know if this howto is outdated on version 7.5.1, or is it worth trying ?
http://wiki.contribs.org/Qpsmtpd_connection_time
Loejf
...

Offline loejf

  • ****
  • 74
  • +0/-0
Re: SME Server cannot receive email
« Reply #4 on: December 13, 2010, 10:48:21 AM »
Hi.
Problem solved.
After much work, and finally made a port scanning, port 25 was still filtered from the ISP :-((
Loejf
...

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: SME Server cannot receive email
« Reply #5 on: December 13, 2010, 11:56:26 AM »
Hi.
Problem solved.
After much work, and finally made a port scanning, port 25 was still filtered from the ISP :-((
Loejf
LOL, so you learned to always check your provider when they state that they have checked. Good to hear you got things solved.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)