LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 04-05-2018, 09:08 AM   #1
jitesh.panchal
LQ Newbie
 
Registered: Apr 2018
Posts: 1

Rep: Reputation: 0
Postfix not sending mail using PHP Mailer


Hello,

From last 4 days I am trying to configure SMTP Server using Postfix. When I tried to send email from "telnet localhost 25", it sends email local as well as other ISP to. But When I try to connect this using my PHP Mailer Script, it gives me error something like this
"
SMTP -> ERROR: STARTTLS not accepted from server: 502 5.5.1 Error: command not implemented
Language string failed to load: tls
"
My firewall is disabled so this is not any port problem, Please help me out.

When Using Telnet it works:
[root@systemupdatorpro ~]# telnet localhost 25
Trying ::1...
Connected to localhost.
Escape character is '^]'.
220 systemupdatorpro.com ESMTP Postfix
ehlo test
250-systemupdatorpro.com
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
AUTH PLAIN AGppdGVzaABqaXRlc2gxMjM0
235 2.7.0 Authentication successful
MAIL FROM: <jitesh@systemupdatorpro.com>
250 2.1.0 Ok
RCPT TO: <jitesh.panchal@pcvark.com>
250 2.1.5 Ok
DATA
354 End data with <CR><LF>.<CR><LF>
From: <jitesh@systemupdatorpro.com>
To: <jitesh.panchal@pcvark.com>
Subject: testing from telnet
This is a test mail.
.
250 2.0.0 Ok: queued as 373E1C24C8B

Thanks In Advance.
 
Old 04-05-2018, 09:41 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,632

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by jitesh.panchal View Post
Hello,
From last 4 days I am trying to configure SMTP Server using Postfix. When I tried to send email from "telnet localhost 25", it sends email local as well as other ISP to. But When I try to connect this using my PHP Mailer Script, it gives me error something like this

Code:
SMTP -> ERROR: STARTTLS not accepted from server: 502 5.5.1 Error: command not implemented 
Language string failed to load: tls
My firewall is disabled so this is not any port problem, Please help me out. When Using Telnet it works:
Code:
[root@systemupdatorpro ~]# telnet localhost 25
Trying ::1...
Connected to localhost.
Escape character is '^]'.
220 systemupdatorpro.com ESMTP Postfix
ehlo test
250-systemupdatorpro.com
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
AUTH PLAIN AGppdGVzaABqaXRlc2gxMjM0
235 2.7.0 Authentication successful
MAIL FROM: <jitesh@systemupdatorpro.com>
250 2.1.0 Ok
RCPT TO: <jitesh.panchal@pcvark.com>
250 2.1.5 Ok
DATA
354 End data with <CR><LF>.<CR><LF>
From: <jitesh@systemupdatorpro.com>
To: <jitesh.panchal@pcvark.com>
Subject: testing from telnet
This is a test mail.
.
250 2.0.0 Ok: queued as 373E1C24C8B
The error indicates you haven't configured/are using TLS. Also, running things as root is a VERY bad idea, but more suspiciously is the "systemupdatorpro" and "pcvark.com" domains you're dealing with.

BOTH sound very much like spam/scam sites that 'fix' your computer problems...typically by installing malware or syskeys. Not really inclined to help you out because of that. Thread reported.

::EDIT:: Wow, really???
https://blog.malwarebytes.com/threat...k-plays-dirty/
https://www.macobserver.com/news/psa...s-savvy-users/

And since the 'systemupdatorpro' (not only misspelled, but VERY close to a genuine product, and close enough to fool folks), site isn't configured yet, I'd wager that your 'pcvark' malware is getting ready to find a new home, and you want help to spam/scam folks.

Last edited by TB0ne; 04-05-2018 at 09:45 AM.
 
  


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Sending mail with php mailer call_krushna Linux - Software 6 06-07-2012 05:56 AM
How to set up mail in zabbix with PHP mailer call_krushna Linux - Server 1 05-01-2012 05:29 AM
Sending mail with mail() and postfix when using namecheap's DNS and Email Hosting iLinx Linux - Server 2 07-19-2010 05:53 PM
stop mail::mailer from sending me mail if (blah) ElectroLinux Programming 2 10-15-2009 11:31 PM
Postfix mail transfer agent not sending mail locally or to other servers sketelsen Linux - Software 3 02-09-2006 11:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration