Koozali.org: home of the SME Server
Contribs.org Forums => General Discussion => Topic started by: leonp on November 28, 2017, 06:55:15 PM
-
I am sorry to disturb by dumb question -sure it was asked. But I searched for hours and didn't find...
I installed the las SME server, configured everything and have problem with mail server sending mails outside the local network - everything is rejected with "relaying denied".
If I set:
mkdir -p /etc/e-smith/templates-custom/var/service/qpsmtpd/config/relayclients
echo "192.168.50." >\
/etc/e-smith/templates-custom/var/service/qpsmtpd/config/relayclients/80relayFromLocalNetwork
I now can send mail outside, but:
1. Why should I do this? It seems incorrect.
2. Incoming mails are not filtered with the message "skip, relay client".
Thanks a lot ahead.
-
Hello,
Welcome here.
Which version?
You do not have to do this. Just need to use your login and password to login during the smtp transaction.
I really suggest to Remove this template, this woulf allow an infected pc to send email eith more ease.
-
I also think that this is incorrect.
But when I remove this, I can't send a mail from local network to external addresses!
But i can send mails to external addresses via webmail!
My SMTP connection uses SSMTP authentication, but still...
My version is 9.2.
Many thanks for any help!
P.S.:
[root@extern2 e-smith]# db configuration show qpsmtpd relay
qpsmtpd=service
Authentication=enabled
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
-
I am truly sorry for disturbance - the cause of the situation was some bug in KDE kmail client.
The "autodetect" button in kmail automatically removes "authentication required" option independent of the detection result!
And I was sure that the authentication is active.
As a wish to developers I should say that diagnostics of the case can be better - why not to say something like "relaying denied, no authentication provided" ?