Koozali.org formerly Contribs.org

please help 550 error

Offline LSF

please help 550 error
« on: June 26, 2020, 06:04:51 PM »
Hi everyone,
I am a stupid sysadmin.
I was using SME server for more then an year without having any trouble. Today I desided to update it. It looked fire, I can still send e-mail. When people are trying to send e-mail to my server, they get errorlike this:

550 Mail from HELO mail-ot1-f43.google.com rejected because it 127.0.0.1 -> Query Refused. See http://uribl.com/refused.shtml for more information [Your DNS IP: 172.253.14.4]

This is the example for sedin e-mail from gmail.com, but similar errors were reported to me from diffirent srevers.
I am using SME Server 9.2. What information should I provide you, so that you can find a solution?
Thank you a lot for your upcoming help :)

Offline LSF

Re: please help 550 error
« Reply #1 on: June 26, 2020, 06:20:47 PM »
Our company don`t have own dns servers.
Our ISP have DNS records for our web site and our mail server. Thay also have a "reverse DNS record" (I may butcher this term, sorry) for the mail server. This was done ober an year ago and was working fine up to today.

Offline ReetP

  • *
  • 2,486
Re: please help 550 error
« Reply #2 on: June 27, 2020, 12:24:12 AM »
Have you updated regularly? You should.

Can you show

Code: [Select]
config show qpsmtpd
Code: [Select]
config show qmail
You can also get a debug report from your server manager.

Look down the left for 'Report a Bug' and then create a configuration report.

...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions
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 LSF

Re: please help 550 error
« Reply #3 on: June 27, 2020, 07:11:12 AM »
Hi, thank you for your answer.
This is the first time I updated the server in an year, I fuc**d this up.

config show qpsmtpd:

qpsmtpd=service
    Bcc=disabled
    BccMode=cc
    BccUser=maillog
    DNSBL=disabled
    LogLevel=6
    MaxScannerSize=25000000
    RBLList=bl.spamcop.net,dnsbl-1.uceprotect.net,dnsbl-2.uceprotect.net,psbl.surriel.com,zen.spamhaus.org
    RHSBL=disabled
    RelayRequiresAuth=enabled
    SBLList=multi.surbl.org,black.uribl.com,rhsbl.sorbs.net
    TlsBeforeAuth=1
    UBLList=multi.surbl.org:8-16-64-128,black.uribl.com,rhsbl.sorbs.net
    URIBL=disabled
    access=public
    qplogsumm=disabled
    status=enabled

config show qmail

qmail=service
    MaxMessageSize=35000000
    status=enabled

Am I realy stupid, I don`t see Report a Bug in the SME manager. This is an ugly copy paste from my brouser. Should I install a plugin for bug reports? Or do I looked at the wrong place?

Collaboration
Users
Groups
Quotas
Pseudonyms
Information bays
User vacations
Administration
Backup or restore
View log files
Mail log file analysis
Reboot or shutdown
Security
Remote access
Local networks
Port forwarding
Proxy settings
Configuration
Software installer
Date and time
Workgroup
Directory
Printers
Hostnames and addresses
Domains
E-mail
E-mail WBL
Antivirus (ClamAV)
Review configuration
Miscellaneous
Support and licensing
Create starter web site

Thank you a lot for your time :)

Offline LSF

Re: please help 550 error
« Reply #4 on: June 27, 2020, 07:23:20 AM »
just to note, I disabled the DNSBL and RHSBL after the update and the problem was noticed. I hoped they are the reason for my trouble and wanted to test the mail server without them. I plan to enable them again when this problem is resolved.

Offline ReetP

  • *
  • 2,486
Re: please help 550 error
« Reply #5 on: June 27, 2020, 11:24:37 AM »
Hmmm. Not everything quite makes sense here..

Never, ever, ever, leave updates that long. A lot of them are security bug fixes. By all means wait a few days and check none of them will break things. But you need to install them for your own security.

Ok. Bug report should  be the very last entry after Create Starter Web site?

That is strange in itself.

Next your error.

You said you updated, rebooted, saw the mail error, then you disabled DNSBL/RHSBL?

I would expect the error to stop after that as I believe it is to do with the URIBL check on incoming mail.

So if they are properly disabled I would expect the error to stop.

I believe that one of the uribl lists can have issues if you external dns for queries.

See URIBL here (some of us got caught by this when we added PiHoles to filter stuff - search the forums for uribl)

Read here too.

https://wiki.contribs.org/Qpsmtpd

Somewhere on the wiki it tells you some conservative defaults.

...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions
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 LSF

Re: please help 550 error
« Reply #6 on: June 27, 2020, 12:17:56 PM »
Something you said triggered my lazy brain: "if they are properly disabled"
I disabled them fron the web manager, should this count as properly disabled? I studied the https://wiki.contribs.org/Qpsmtpd as you suggested and tryied just in case those commands in the console:

config setprop qpsmtpd URIBL disabled
signal-event email-update

IT WORKED. You saved my job! Now after the adrenalin rush was over, I went back in the web manager, deleted the black.uribl.com from the RHSBL list, enabled DNSBL and RHSBL again and it is still working.

THANK YOU a lot for your tips. I will buy an external HDD for beckups and update the server every friday after workday.
If you know how can I add the report bug in the manager, I would do so, just in case.

Have a great weekend, ReetP :)