Koozali.org: home of the SME Server

[Solved] 450 No plugin decided if relaying is allowed

Offline ericcar

  • 19
  • +0/-0
[Solved] 450 No plugin decided if relaying is allowed
« on: April 27, 2017, 04:48:59 PM »
Hi

The reception of mail does not work, here is the error in qsmtpd.log

"450 No plugin decided if relaying is allowed"

It's new install SME Server 9.2rc2 and contrib : SOGo 3 &  lets'encript

Do you have an idea of ​​the problem

Log when i test with mxtoolbox.com :

220 xxxxxx.bzh ESMTP [1735 ms]
EHLO PWS3.mxtoolbox.com
250-xxxxxx.bzh Hi pws3.mxtoolbox.com [64.20.227.134]
250-PIPELINING
250-8BITMIME
250-SIZE 15000000
250 STARTTLS [750 ms]
MAIL FROM:<supertool@mxtoolbox.com>
250 <supertool@mxtoolbox.com>, sender OK - how exciting to get mail from you! [750 ms]
RCPT TO:<test@example.com>
450 No plugin decided if relaying is allowed [750 ms]


Thank you for your advice
« Last Edit: April 27, 2017, 09:34:00 PM by ericcar »

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: 450 No plugin decided if relaying is allowed
« Reply #1 on: April 27, 2017, 04:59:39 PM »
hi there, welcome here..

did you install your server from SME9.2 RC2 iso or is it a previous release with some updates?

can you post the result of
Code: [Select]
/sbin/e-smith/audittools/templates

and of
Code: [Select]
/sbin/e-smith/audittools/newrpms
?
Thank you

Offline ericcar

  • 19
  • +0/-0
Re: 450 No plugin decided if relaying is allowed
« Reply #2 on: April 27, 2017, 05:45:18 PM »
Below the result of the orders

[root@mairie ~]# /sbin/e-smith/audittools/templates
empty

[root@mairie ~]# /sbin/e-smith/audittools/newrpms
Modules complémentaires chargés : fastestmirror, smeserver
Loading mirror speeds from cached hostfile
 * base: mirrors.ircam.fr
 * smeaddons: mirror.pialasse.com
 * smeos: mirror.pialasse.com
 * smeupdates: mirror.pialasse.com
 * updates: ftp.pasteur.fr
Paquets supplémentaires
GeoIP.x86_64                       1.6.5-1.el6               @anaconda-base-2017                    04100012.x86_64/9.2.
GeoIP-GeoLite-data.noarch          2017.01-1.el6             @anaconda-base-2017                    04100012.x86_64/9.2.
GeoIP-GeoLite-data-extra.noarch    2017.01-1.el6             @anaconda-base-2017                    04100012.x86_64/9.2.
dehydrated.noarch                  0.4.0.170206.git1163864-1 @reetp
dl.noarch                          0.17.1-2.el6.fws          @fws
e-smith-base.noarch                5.6.0-30.el6.sme          @anaconda-base-2017                    04100012.x86_64/9.2.
e-smith-devtools.noarch            2.4.0-5.el6.sme           @anaconda-base-2017                    04100012.x86_64/9.2.
e-smith-grub.noarch                2.4.0-4.el6.sme           @anaconda-base-2017                    04100012.x86_64/9.2.
e-smith-ldap.noarch                5.4.0-21.el6.sme          @anaconda-base-2017                    04100012.x86_64/9.2.
e-smith-manager.noarch             2.6.0-18.el6.sme          @anaconda-base-2017                    04100012.x86_64/9.2.
e-smith-proxy.noarch               5.4.0-5.el6.sme           @anaconda-base-2017                    04100012.x86_64/9.2.
e-smith-qmail.noarch               2.4.0-7.el6.sme           @anaconda-base-2017                    04100012.x86_64/9.2.
e-smith-samba.noarch               2.4.0-24.el6.sme          @anaconda-base-2017                    04100012.x86_64/9.2.
geoipupdate.x86_64                 2.2.1-2.el6               @anaconda-base-2017                    04100012.x86_64/9.2.
gnustep-base.x86_64                1.23.0-1                  @sogo
gnustep-filesystem.x86_64          2.6.8-1.el6               @epel
gnustep-make.x86_64                2.6.8-1.el6               @epel
initscripts.x86_64                 9.03.58-1.el6.sme.1       @anaconda-base-2017                    04100012.x86_64/9.2.
libmemcached.x86_64                1.0.18-1                  @sogo
libwbxml.x86_64                    0.11.5-5.centos6          @sogo
mbuffer.x86_64                     20160228-1.el6            @anaconda-base-2017                    04100012.x86_64/9.2.
perl-ClamAV-Client.noarch          0.11-1.el6.sme            @anaconda-base-2017                    04100012.x86_64/9.2.
perl-Data-Validate-Domain.noarch   0.12-1.el6.sme            @anaconda-base-2017                    04100012.x86_64/9.2.
perl-Email-Address.noarch          1.905-1.el6               @anaconda-base-2017                    04100012.x86_64/9.2.
perl-Email-MIME.noarch             1.906-2.el6               @anaconda-base-2017                    04100012.x86_64/9.2.
perl-Email-MIME-ContentType.noarch 1.015-2.el6               @anaconda-base-2017                    04100012.x86_64/9.2.
perl-Email-MIME-Encodings.noarch   1.313-2.el6               @anaconda-base-2017                    04100012.x86_64/9.2.
perl-Email-MessageID.noarch        1.401-4.el6               @anaconda-base-2017                    04100012.x86_64/9.2.
perl-File-ShareDir.noarch          1.00-4.el6                @anaconda-base-2017                    04100012.x86_64/9.2.
perl-IO-Socket-SSL.noarch          2.022-1.el6.sme           @anaconda-base-2017                    04100012.x86_64/9.2.
perl-Mail-DMARC.noarch             1.20141206-1.el6.sme      @anaconda-base-2017                    04100012.x86_64/9.2.
perl-Net-Domain-TLD.noarch         1.68-2.el6                @anaconda-base-2017                    04100012.x86_64/9.2.
perl-Net-IMAP-Simple.noarch        1.1916-3.el6              @anaconda-base-2017                    04100012.x86_64/9.2.
perl-Net-SMTPS.noarch              0.04-1.el6                @anaconda-base-2017                    04100012.x86_64/9.2.
perl-Net-SSLeay.x86_64             1.72-1.el6.sme            @anaconda-base-2017                    04100012.x86_64/9.2.
perl-Regexp-Common.noarch          2016020301-1.el6.sme      @anaconda-base-2017                    04100012.x86_64/9.2.
proftpd.x86_64                     1.3.3g-10.el6             @anaconda-base-2017                    04100012.x86_64/9.2.
qmail.x86_64                       1.03-18.el6.sme           @anaconda-base-2017                    04100012.x86_64/9.2.
qpsmtpd.noarch                     0.96-10.el6.sme           @anaconda-base-2017                    04100012.x86_64/9.2.
qpsmtpd-plugins.noarch             0.0.1-5.el6.sme           @anaconda-base-2017                    04100012.x86_64/9.2.
smeserver-dl.noarch                9:0.1.4-1.el6.fws         @fws
smeserver-dovecot.noarch           1.4.0-21.el6.sme          @anaconda-base-2017                    04100012.x86_64/9.2.
smeserver-dovecot-extras.noarch    0.1.1-1.el6.sme           @stephdl
smeserver-fetchmail.noarch         1.6-9.el6.sme             @smecontribs
smeserver-letsencrypt.noarch       0.4-1                     @reetp
smeserver-locale-bg.noarch         2.4.0-26.el6.sme          @anaconda-base-2017                    04100012.x86_64/9.2.
smeserver-locale-da.noarch         2.4.0-26.el6.sme          @anaconda-base-2017                    04100012.x86_64/9.2.
smeserver-locale-de.noarch         2.4.0-26.el6.sme          @anaconda-base-2017                    04100012.x86_64/9.2.
smeserver-locale-el.noarch         2.4.0-26.el6.sme          @anaconda-base-2017                    04100012.x86_64/9.2.
smeserver-locale-es.noarch         2.4.0-26.el6.sme          @anaconda-base-2017                    04100012.x86_64/9.2.
smeserver-locale-et.noarch         2.4.0-26.el6.sme          @anaconda-base-2017                    04100012.x86_64/9.2.
smeserver-locale-fr.noarch         2.4.0-26.el6.sme          @anaconda-base-2017                    04100012.x86_64/9.2.
smeserver-locale-he.noarch         2.4.0-26.el6.sme          @anaconda-base-2017                    04100012.x86_64/9.2.
smeserver-locale-hu.noarch         2.4.0-26.el6.sme          @anaconda-base-2017                    04100012.x86_64/9.2.
smeserver-locale-id.noarch         2.4.0-26.el6.sme          @anaconda-base-2017                    04100012.x86_64/9.2.
smeserver-locale-it.noarch         2.4.0-26.el6.sme          @anaconda-base-2017                    04100012.x86_64/9.2.
smeserver-locale-ja.noarch         2.4.0-26.el6.sme          @anaconda-base-2017                    04100012.x86_64/9.2.
smeserver-locale-nb.noarch         2.4.0-26.el6.sme          @anaconda-base-2017                    04100012.x86_64/9.2.
smeserver-locale-nl.noarch         2.4.0-26.el6.sme          @anaconda-base-2017                    04100012.x86_64/9.2.
smeserver-locale-pl.noarch         2.4.0-26.el6.sme          @anaconda-base-2017                    04100012.x86_64/9.2.
smeserver-locale-pt.noarch         2.4.0-26.el6.sme          @anaconda-base-2017                    04100012.x86_64/9.2.
smeserver-locale-pt_BR.noarch      2.4.0-26.el6.sme          @anaconda-base-2017                    04100012.x86_64/9.2.
smeserver-locale-ro.noarch         2.4.0-26.el6.sme          @anaconda-base-2017                    04100012.x86_64/9.2.
smeserver-locale-ru.noarch         2.4.0-26.el6.sme          @anaconda-base-2017                    04100012.x86_64/9.2.
smeserver-locale-sl.noarch         2.4.0-26.el6.sme          @anaconda-base-2017                    04100012.x86_64/9.2.
smeserver-locale-sv.noarch         2.4.0-26.el6.sme          @anaconda-base-2017                    04100012.x86_64/9.2.
smeserver-locale-th.noarch         2.4.0-26.el6.sme          @anaconda-base-2017                    04100012.x86_64/9.2.
smeserver-locale-tr.noarch         2.4.0-26.el6.sme          @anaconda-base-2017                    04100012.x86_64/9.2.
smeserver-locale-zh_CN.noarch      2.4.0-26.el6.sme          @anaconda-base-2017                    04100012.x86_64/9.2.
smeserver-locale-zh_TW.noarch      2.4.0-26.el6.sme          @anaconda-base-2017                    04100012.x86_64/9.2.
smeserver-minilist.noarch          9:0.1.4-1.el6.fws         @fws
smeserver-qpsmtpd.noarch           2.4.0-34.el6.sme          @anaconda-base-2017                    04100012.x86_64/9.2.
smeserver-release.noarch           26:9.2-0.rc2.el6.sme      @anaconda-base-2017                    04100012.x86_64/9.2.
smeserver-sogo.noarch              9:1.4-2.el6.sme           @stephdl
smeserver-spamassassin.noarch      2.4.0-8.el6.sme           @anaconda-base-2017                    04100012.x86_64/9.2.
smeserver-support.noarch           2.6.0-10.el6.sme          @anaconda-base-2017                    04100012.x86_64/9.2.
smeserver-wbl.noarch               0.3.0-12.el6.sme          @smecontribs
smeserver-webapps-common.noarch    0.2.23-1.el6.fws          @fws
smeserver-yum.noarch               2.4.0-15.el6.sme          @anaconda-base-2017                    04100012.x86_64/9.2.
sogo.x86_64                        3.2.8.20170422-1.centos6  @sogo3
sogo-activesync.x86_64             3.2.8.20170422-1.centos6  @sogo3
sogo-ealarms-notify.x86_64         3.2.8.20170422-1.centos6  @sogo3
sogo-tool.x86_64                   3.2.8.20170422-1.centos6  @sogo3
sope49-appserver.x86_64            4.9-20170324_1664.el6.1   @sogo3
sope49-cards.x86_64                3.2.8.20170422-1.centos6  @sogo3
sope49-core.x86_64                 4.9-20170324_1664.el6.1   @sogo3
sope49-gdl1.x86_64                 4.9-20170324_1664.el6.1   @sogo3
sope49-gdl1-contentstore.x86_64    3.2.8.20170422-1.centos6  @sogo3
sope49-gdl1-mysql.x86_64           4.9-20170324_1664.el6.1   @sogo3
sope49-ldap.x86_64                 4.9-20170324_1664.el6.1   @sogo3
sope49-mime.x86_64                 4.9-20170324_1664.el6.1   @sogo3
sope49-sbjson.x86_64               2.3.1-20170324_1664.el6.1 @sogo3
sope49-xml.x86_64                  4.9-20170324_1664.el6.1   @sogo3
tnef.x86_64                        1.4.14-1.el6              @anaconda-base-2017                    04100012.x86_64/9.2.

Thank you for your advice

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: 450 No plugin decided if relaying is allowed
« Reply #3 on: April 27, 2017, 06:02:14 PM »
smeserver-wbl.noarch               0.3.0-12.el6.sme          @smecontribs

this is probably your issue..
you have to install smeserver-wbl from smetest repo
Code: [Select]
yum --enablerepo=smetest update smeserver-wbl


Offline janet

  • ****
  • 4,812
  • +0/-0
Re: 450 No plugin decided if relaying is allowed
« Reply #4 on: April 27, 2017, 09:13:59 PM »
Stefano
Quote
you have to install smeserver-wbl from smetest repo

If the package is broken enough to stop mail working correctly, it should urgently be replaced or removed from the contribs repo. Can someone with the necessary power/permission do this please.
« Last Edit: April 27, 2017, 09:27:30 PM by Stefano »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: 450 No plugin decided if relaying is allowed
« Reply #5 on: April 27, 2017, 09:31:00 PM »
Janet, I edited your post to fix formatting..

BTW.. in SME9.2 there's a new release of qpsmtpd which has different plugins..

we can't release the new smeserver-wbl (which is in smetest) because it won't work with SME9.1's qpsmtpd..

if you search BZ and/or in the devinfo ML archive you'll find more info.. once SME9.2 will be released, all contribs will be moved to the right repo and users will do an upgrade

hope I cleared my previous post

Offline ericcar

  • 19
  • +0/-0
Re: [Solved] 450 No plugin decided if relaying is allowed
« Reply #6 on: April 27, 2017, 09:37:46 PM »
Solved

The update with smetest repo has solved the problem

yum --enablerepo=smetest update smeserver-wbl
signal-event post-upgrade; signal-event reboot

thank you very much

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: [Solved] 450 No plugin decided if relaying is allowed
« Reply #7 on: April 27, 2017, 09:42:35 PM »
you're welcome :-)

Offline piran

  • ****
  • 502
  • +0/-0
Re: [Solved] 450 No plugin decided if relaying is allowed
« Reply #8 on: May 02, 2017, 10:29:22 PM »
>Stefano
Got the same error line... but I think it may be a typo.
The old check_earlytalker routine seems to have got itself
morphed into just earlytalker. This stopped all my i/c emails
until I thought to rename it back to the old name. Just in
case somebody else drops in and is still puzzled. Bug filed.
robert

Edit: an old custom template needs to be
renamed to cope with the modern ways...

Further bug, filed, now SOLVED:
https://bugs.contribs.org/show_bug.cgi?id=10262
« Last Edit: May 02, 2017, 11:17:41 PM by piran »

Offline bosco555

  • ****
  • 152
  • +0/-0
Re: [Solved] 450 No plugin decided if relaying is allowed
« Reply #9 on: May 03, 2017, 12:59:58 AM »
Not really solved for me:

/sbin/e-smith/audittools/templates

/etc/e-smith/templates-custom/var/qmail/control/badmailfromto/template-begin: MA                                                NUALLY_ADDED, ADDITION
/etc/e-smith/templates-custom/var/service/qpsmtpd/config/peers/0/10check_earlyta                                                lker: MANUALLY_ADDED, ADDITION
/etc/e-smith/templates-custom/var/service/qpsmtpd/config/peers/0/30spf: MANUALLY                                                _ADDED, ADDITION
/etc/e-smith/templates-custom/var/service/qpsmtpd/config/peers/0/31check_badmail                                                fromto: MANUALLY_ADDED, ADDITION
/etc/e-smith/templates-custom/var/service/qpsmtpd/config/peers/0/20localscores:                                                 MANUALLY_ADDED, ADDITION
/etc/e-smith/templates-custom/var/service/qpsmtpd/config/peers/local/31check_bad                                                mailfromto: MANUALLY_ADDED, ADDITION
/etc/e-smith/templates-custom/var/service/qpsmtpd/config/plugins/31check_badmail                                                fromto: MANUALLY_ADDED, ADDITION
/etc/e-smith/templates-custom/home/httpd/html/horde/config/prefs.php/350lastlogi                                                n: MANUALLY_ADDED, OVERRIDE
/etc/e-smith/templates-custom/etc/mail/spamassassin/local.cf/20localscores: MANU                                                ALLY_ADDED, ADDITION
/etc/e-smith/templates-custom/etc/crontab/91_Update_GeoIP_db: MANUALLY_ADDED, AD                                                DITION
/etc/e-smith/templates/var/service/qpsmtpd/config/peers/0/01smeoptimizer: MANUAL                                                LY_ADDED
/etc/e-smith/templates/home/httpd/html/horde/config/prefs.php/350lastlogin: MODI                                                FIED e-smith-horde-4.4.0-8.el6.sme
/etc/e-smith/templates/etc/crontab/smeoptimizer.cron.template: MANUALLY_ADDED
/etc/e-smith/templates/etc/motd/motd: MANUALLY_ADDED

and

 /sbin/e-smith/audittools/newrpms

Loaded plugins: fastestmirror, smeserver
Loading mirror speeds from cached hostfile
 * base: mirror.colocity.com
 * smeaddons: mirror.canada.pialasse.com
 * smeos: mirror.canada.pialasse.com
 * smeupdates: mirror.canada.pialasse.com
 * updates: mirror.colocity.com
Extra Packages
clamav-unofficial-sigs.noarch               3.7.1-7.el6             @epel
kernel.x86_64                               2.6.32-642.15.1.el6     @updates
perl-Digest-MD5-File.noarch                 0.08-1.el6              @epel
smeserver-clamav-unofficial-sigs.noarch     0.1.0-1.el6.fws         @fws
smeserver-geoip.noarch                      1.1.2-5.el6.sme         @smecontribs




Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: [Solved] 450 No plugin decided if relaying is allowed
« Reply #10 on: May 03, 2017, 01:05:56 AM »
Remove all qpsmtpd related fragments and add one at time

Offline piran

  • ****
  • 502
  • +0/-0
Re: [Solved] 450 No plugin decided if relaying is allowed
« Reply #11 on: May 03, 2017, 01:16:02 AM »
What Stefano said above... and do some vetting too. Probably cut out a few. The 10check_earlytalker needs to be renamed to 10earlytalker for a start. SPF? Should be done at the domain control panel? 9.2 brings in DKIM so why SPF as well? That badmailfromto is long in the tooth, are you sure you need or even use it. GeoIP is a very broad brush filter... Yes, I used in the past, but not any more. Never heard of smeoptimizer... shudder to think what THAT is or does! Simplify;-)

Offline Jean-Philippe Pialasse

  • *
  • 2,762
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: [Solved] 450 No plugin decided if relaying is allowed
« Reply #12 on: May 03, 2017, 01:46:45 AM »
What Stefano said above... and do some vetting too. Probably cut out a few. The 10check_earlytalker needs to be renamed to 10earlytalker for a start.

And above all its content too need to be modified !

Offline bosco555

  • ****
  • 152
  • +0/-0
Re: [Solved] 450 No plugin decided if relaying is allowed
« Reply #13 on: May 03, 2017, 05:53:23 AM »
Let's see how we go..
« Last Edit: May 03, 2017, 07:56:57 AM by bosco555 »

Offline lepounet

  • 17
  • +0/-0
Re: [Solved] 450 No plugin decided if relaying is allowed
« Reply #14 on: May 16, 2017, 12:15:40 PM »
Hi all.
After an upgrade from 9.1 to 9.2 I had the same problem : all external emails rejected with message :
    Deferred: 450 No plugin decided if relaying is allowed

I removed Email Whitelist-Blacklist Control :
#yum remove smeserver-wbl
#signal-event post-upgrade; signal-event reboot

Now it works again.
I'll try to reinstall Whitelist-Blacklist Control later but the emergency for me was to be able to receive emails promply.

Alain