Koozali.org: home of the SME Server

Error 550 when being sent mail

Offline hawksme

  • 5
  • +0/-0
Error 550 when being sent mail
« on: August 07, 2023, 04:54:42 PM »
Hello

My server seems to be blocking most incoming mail with error: The response from the remote server was:
550 (dnsbl) v=spf1 -all

I have an SME9.2 server and it has worked beautifully until now I cannot get this error to stop even when disabling the spam filters. I have my domain hosted with an ISP then records forward all mail to my server.


Any help would be appreciated.


Offline ReetP

  • *
  • 3,740
  • +5/-0
Re: Error 550 when being sent mail
« Reply #1 on: August 07, 2023, 06:25:22 PM »
Your error is likely to do with your mail server/DNS setup.

https://mxtoolbox.com/spf.aspx

However, you need to upgrade to Koozali SME v10 immediately.

We do not support old versions of Koozali SME no matter how stable they might be.

Once you have upgraded we can see if we can help you fix your issue.
...
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 hawksme

  • 5
  • +0/-0
Re: Error 550 when being sent mail
« Reply #2 on: August 08, 2023, 10:56:23 AM »
Hello

I have updated to SME10.1 and am still getting this error when being sent mail. The response from the remote server was:
550 (dnsbl) v=spf1 -all

Offline ReetP

  • *
  • 3,740
  • +5/-0
Re: Error 550 when being sent mail
« Reply #3 on: August 08, 2023, 11:48:08 AM »
Hello
I have updated to SME10.1

Good. Which method did you use?

Quote
and am still getting this error when being sent mail. The response from the remote server was:
550 (dnsbl) v=spf1 -all

Quote
I have my domain hosted with an ISP
 records forward all mail to my server

I'd guess this is more to do with the issue.

I suspect you may have DNSBL/SPF enabled and your Koozali SME server is not set as your real domain - which is hosted by your provider -  so it blocks mail from a source it doesn't trust. It probably looks to SME that your ISP is an unauthenticated mail relay. (This is part of the reason people use POP to collect mail rather than passively accept incoming mail)

https://wiki.koozali.org/Email#Inbound_DKIM_.2F_SPF_.2F_DMARC

You could whitelist your ISP mail server(s) but if it is a big ISP they may use round robins from a pool of servers and it will be hard to  pin them all down and the IPs may change.

To understand more and advise you better please give us some more info on your ISP, domains and Koozali SME settings

Code: [Select]
config show qpsmtpd
config show qmail
...
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 hawksme

  • 5
  • +0/-0
Re: Error 550 when being sent mail
« Reply #4 on: August 08, 2023, 12:15:28 PM »
Good. Which method did you use?
Hello I did a clean install of SME10 then loaded the cifs backup from the old server. My plugins dont seem to be working and if I try to run the install or update yum it just gives me errors.failure: repodata/repomd.xml from sogo: [Errno 256] No more mirrors to try.

http://inverse.ca/downloads/SOGo/RHEL6/x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 403 - Forbidden
[root@sme9server ~]# ^C
[root@sme9server ~]# yum-config-manager --save --setopt=sogo.skip_if_unavailable=true
-bash: yum-config-manager: command not found

http://inverse.ca/downloads/SOGo/RHEL6/x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 403 - Forbidden
Trying other mirror.
To address this issue please refer to the below wiki article.


Admin - edit to tidy the quoting
« Last Edit: August 08, 2023, 02:13:12 PM by ReetP »

Offline ReetP

  • *
  • 3,740
  • +5/-0
Re: Error 550 when being sent mail
« Reply #5 on: August 08, 2023, 02:14:06 PM »
Have you read the wiki?

https://wiki.koozali.org/Sogo


You need to remove the old v9/RHEL6 repos and follow the wiki page.
...
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 hawksme

  • 5
  • +0/-0
Re: Error 550 when being sent mail
« Reply #6 on: August 08, 2023, 06:39:34 PM »
Have you read the wiki?

https://wiki.koozali.org/Sogo


You need to remove the old v9/RHEL6 repos and follow the wiki page.


Hello I have tried following the Sogo Wiki but get the same error I dont see any mention about removing the v9/RHEL6 repos. Sorry if I have missed it.

Offline ReetP

  • *
  • 3,740
  • +5/-0
Re: Error 550 when being sent mail
« Reply #7 on: August 08, 2023, 07:09:48 PM »
I think your first issue is common with the rest.

You do not read enough which means you don't understand what you are doing  or how to fix it when it goes wrong.

https://wiki.koozali.org/SME_Server:Documentation:FAQ:Section01#Adding.2C_removing_or_disabling_repositories

https://wiki.koozali.org/SME_Server:Adding_Software#Yum_Repositories

...
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 hawksme

  • 5
  • +0/-0
Re: Error 550 when being sent mail
« Reply #8 on: August 08, 2023, 08:42:01 PM »
I think your first issue is common with the rest.

You do not read enough which means you don't understand what you are doing  or how to fix it when it goes wrong.

https://wiki.koozali.org/SME_Server:Documentation:FAQ:Section01#Adding.2C_removing_or_disabling_repositories

https://wiki.koozali.org/SME_Server:Adding_Software#Yum_Repositories

Hello

Thanks very much the error I started this post on is fixed on my old SME 9.2 server the error was related to my RBL's List used to adjust DNSBL and RHSBL which I had turned off but not done a reconfigure, after that it worked. Then the second issue with the upgraded SME 10 seems to be coming right thanks for your help I apologize for not reading more thoroughly but it can be difficult when you don't know what you looking at or for. This issue can be closed as resolved if I have any other issues I will create a new discussion related to them.

Offline ReetP

  • *
  • 3,740
  • +5/-0
Re: Error 550 when being sent mail
« Reply #9 on: August 08, 2023, 08:57:43 PM »
Hmm.

I did not give you advice to fix a v9 server.

Your v9 server should not be running, at all. Migrate and turn it off immediately.

It is unsupported and therefore insecure.

Use v10.

And next year we should have v11 and v10 will be EOL.

...
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