Koozali.org: home of the SME Server
Obsolete Releases => SME 9.x Contribs => Topic started by: hawk on May 24, 2017, 12:41:13 PM
-
good day you smart people, i am helping a new guy out with his server, 9.1 fully updated . He loaded the WBL contrib, then got the following error when trying to send and email
An error occurred while sending mail. The mail server responded:
No plugin decided if relaying is allowed.
Please check the message recipient "john@domain.co.za" and try again.
he has uninstalled the wbl contrib, but now the error still continues
thanks
john
-
please, be sure:
- you're running SME9.2
- you've an update release of smeserver-wbl
- you've not any qpsmtpd related fragments in /etc/e-smith/templates-custom
please post here the output of:
cat /etc/e-smith-release
/sbin/e-smith/audittools/templates
-
This post describes the same problem ("No plugin decided if relaying is allowed") on a SME 9.2 server, where the solution was to update smeserver-wbl from the smecontribs repo:
https://forums.contribs.org/index.php?topic=53097.0
If the new version of smeserver-wbl solves this problem on 9.2, it seems possible that it might cause the problem on 9.1.
-
Hello Thank you for you help to Hawk
I ran the updates and the message is now gone I am now able to send emails but receiving is taking a long time.
I can send and receive on my work email but sending from my gmail to the server(work email) is taking a long time nearly an hour now
Thank you for your help
-
welcome here
when you send a message from an external server, you're not using SME and you've got no control over, for example, outgoing mail queue
BTW, open a shell on your server and give
tailf /var/log/qpsmtpd/current
and send a message to your account from an external provider (Gmail, hotmail, $whatever).
take a look at the log scrolling: if you see your message arriving, everything is working.. if it takes some time to see your message, the issue is outside your control
-
In SME 9.2, there's a new feature which could explain some delay if your server has a high load. To protect against overloading, if the current CPU load is above 7 (default config), email will be deferred.
-
Hello Thank you for you response I ran the tailf /var/log/qpsmtpd/current and its just listing all the errors like mail undelivered and An error occurred while sending mail. The mail server responded:
No plugin decided if relaying is allowed. So still just waiting for an email to come into one of my accounts, myself and all my clients can email each others email accounts that are hosted on the server but not to gmail, outlook or hotmail ,etc
-
I don't understand. You still have the "No plugin decided if relaying is allowed" message ? Then I don't get how users can send emails (be it local or remote). In anycase, if you still have this, it means that you have an incorrect version of smeserver-wbl installed, or that you have custom templates in /etc/e-smith/templates-custom/var/service/qpsmtpd. Please remove any custom templates from this directory, and either update smeserver-wbl or uninstall it
-
Thanks no the An error occurred while sending mail. The mail server responded:
No plugin decided if relaying is allowed. has gone I was just saying I could see alot of it in the list. I have un installed WBL, not sure if i am running custom templates
-
Please re read here
https://forums.contribs.org/index.php/topic,53104.msg274712.html#msg274712
And provide the requested output
-
Hello thanks for your help, here are the results
[root@sme9server ~]# cat /etc/e-smith-release
SME Server release 9.2
[root@sme9server ~]# /sbin/e-smith/audittools/templates
/etc/e-smith/templates-custom/var/service/qpsmtpd/config/peers/0/05whitelist_sof t: MANUALLY_ADDED, ADDITION
/etc/e-smith/templates-custom/var/service/qpsmtpd/config/peers/0/10greylisting: MANUALLY_ADDED, ADDITION
/etc/e-smith/templates-custom/var/service/qpsmtpd/config/whitelisthosts/10whitel isthosts: MANUALLY_ADDED, ADDITION
-
Remove the custom fragments and
signal-event email-update
-
Hello Thanks for the reply
Ok im going to assume the server is damaged I have still not received mail from my gmail account etc, what possible reason could be left that I cant get emails form external accounts
-
AS Stefano said, remove the 3 custom templates, run a signal-event email-update. And if it's still not working after that, report a bug on https://bugs.contribs.org (you'll have to give as much details as possible, including logs found in /var/log/qpsmtpd/current)
-
Hello again
I started a system restore and I assume it failed as it is still sme 9.2 and the previous backup is 9.1, I am still not reciving any mail form external accounts such as gmail. but can receive mail from any person with an account on the server from all over the country
-
please, don't mess your server and start helping us to help you
did you follow my advices?
after deleting the custom fragments and invoking email-update event, if the things aren't working as expected try
signal-event post-upgrade; signal-event reboot
and check again..
if the issue is still present, please open a bug as Daniel told you