• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

Smtp autentication can't be disabled

musictus

Basic Pleskian
Hello

I run Plesk Panel 11.0.9.

Discovered that email users can authenticate on server and send mail via smtp, while I have both "message submission" disabled and "Relaying" closed.

How to block this smtp authentication server wide, or on a single domain?

Thanks!
 
---------------------------------------------------------------
PRODUCT, VERSION, MICROUPDATE, OPERATING SYSTEM, ARCHITECTURE
Plesk Panel 11.0.9 Update #51, CentOS 5.9, GenuineIntel, Intel(R) Core(TM)2 Duo CPU E4500 @ 2.20GHz

PROBLEM DESCRIPTION
Email users can log into server and send email via smtp, while "Enable message submission" is disabled and "Relaying" closed.

STEPS TO REPRODUCE
Sending email via client from [email protected] to [email protected], using SMTP authentication

ACTUAL RESULT
May 22 11:49:55 server6 cmd5checkpw: SMTP connect from ip-244-225.sn1.eutelia.it [xxx.xxx.244.225]
May 22 11:49:55 server6 cmd5checkpw: SMTP user [email protected]: logged in from ip-244-225.sn1.eutelia.it [xxx.xxx.244.225]
May 22 11:49:55 server6 spamdyke[32720]: ALLOWED from: [email protected] to: [email protected] origin_ip: xxx.xxx.244.225 origin_rdns: ip-244-225.sn1.eutelia.it auth: [email protected] encryption: TLS
May 22 11:49:56 server6 qmail-queue-handlers[403]: Handlers Filter before-queue for qmail started ...
May 22 11:49:56 server6 qmail-queue-handlers[403]: [email protected]
May 22 11:49:56 server6 qmail-queue-handlers[403]: [email protected]
May 22 11:49:56 server6 qmail-queue-handlers[403]: handlers_stderr: SKIP
May 22 11:49:56 server6 qmail-queue-handlers[403]: SKIP during call 'check-quota' handler
May 22 11:49:56 server6 qmail: 1369216196.325540 info msg 3312388: bytes 456 from <[email protected]> qp 405 uid 2020
May 22 11:49:56 server6 qmail-queue-handlers[403]: starter: submitter[405] exited normally
May 22 11:49:56 server6 qmail: 1369216196.338452 starting delivery 49815: msg 3312388 to remote [email protected]
May 22 11:49:56 server6 qmail-remote-handlers[406]: [email protected]
May 22 11:49:56 server6 qmail-remote-handlers[406]: [email protected]
May 22 11:49:57 server6 qmail: 1369216197.625346 delivery 49815: success: 204.15.54.12_accepted_message./Remote_host_said:_250_2.0.0_Ok:_queued_as_3DE5412B0015/

EXPECTED RESULT
We expect that email users cannot login to server and are not permitted to send email via SMTP

ANY ADDITIONAL INFORMATION
--------------------------------------------------------------
 
Thank you. I have forwarded this to developers for investigation. I will update thread with results as soon as I receive them.
 
Sorry for dumb question, musictus, but why do you have email users in the first place? What purpose do they serve? Mail forwarding?
 
Bug has not been reproduced.

Send with auth required:

% msend 10.52.68.129 out auth
Creating connection to host (10.52.68.129:25)
[<-] 220 a10-52-68-129.qa.plesk.ru ESMTP
[->] EHLO test1.domain.com
[<-] 250-a10-52-68-129.qa.plesk.ru
[<-] 250-AUTH=LOGIN CRAM-MD5 PLAIN
[<-] 250-AUTH LOGIN XXXXXXXXXX
[<-] 250-STARTTLS
[<-] 250-PIPELINING
[<-] 250 8BITMIME
[->] XXXXXXXXXX
[<-] 334 UGFzc3dvcmQ6
[->] cmVwb3J0
[<-] 235 go ahead
Authentication succeded [[email protected]]
[->] MAIL FROM:<[email protected]>
[<-] 250 ok
[->] RCPT TO:<[email protected]>
[<-] 250 ok
Recipient accepted [[email protected]]
[->] DATA
[<-] 354 go ahead
[->] Received: by test1.domain.com (nbSMTP-1.00) for uid 1001
[<-] 250 ok 1370405560 qp 17221
[->] QUIT
[<-] 221 a10-52-68-129.qa.plesk.ru
Mail sent for [email protected]. Closing connection

Send with close relay:

% msend 10.52.68.129 out auth
Creating connection to host (10.52.68.129:25)
[<-] 220 a10-52-68-129.qa.plesk.ru ESMTP
[->] EHLO test1.domain.com
[<-] 250-a10-52-68-129.qa.plesk.ru
[<-] 250-AUTH=LOGIN CRAM-MD5 PLAIN
[<-] 250-AUTH LOGIN XXXXXXXXXX
[<-] 250-STARTTLS
[<-] 250-PIPELINING
[<-] 250 8BITMIME
[->] XXXXXXXXXX
[<-] 502 unimplemented (#5.5.1)
The server rejected the authentication method
Server said: 'unimplemented (#5.5.1)'
Error in send_mail
Mail NOT sent.

That port did you send a message from?
 
Back
Top