Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2019-07-16, 00:55:13

Author Topic: [Email SMTP] sending from simple php script sent, from vbulletin not sent  (Read 619 times)

0 Members and 1 Guest are viewing this topic.

Offline democration

  • Junior Member
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
- I tried sending Email SMTP from this simple php script, the email is sent https://www.rumahweb.com/journal/script-php-kirim-email-dengan-authentifikasi-smtp/
i am an Indonesian btw, but maybe its better i post in this category


- Email SMTP from microsoft outlook, sent too


- but Email SMTP from vbulletin script still not sent, already tried combination of these settings many times, for days
Host : localhost or mydomain.com or https://mydomain.com
Port : 587 or 465
SMTP Secure Connection : Yes
the result still not sent to any email address, no bounce back email too. in the vbulletin there is only this message
Quote
Pertinent SMTP Settings
SMTP:    tls://localhost:587
SMTP Username:    myemail@mydomain.com
The mailing function returned an error while trying to send the mail.
where to check the detailed error in kloxo mr? in cpanel is like this: tail -f /var/log/exim_mainlog

also tried this
Host : localhost or mydomain.com or https://mydomain.com
Port : 25
SMTP Secure Connection : No
the result sent to myemail@mydomain.com
but still not sent to myemail@anotherdomain.com, get bounced with error message: Unable to run qmail-remote





Nb
- i already enabled SPF, DKIM, DMARC, Domainkey
and disabled Spamdyke  too
but still same


- i using lets encrypt for ssl, but if the problem is lets encrypt, Email SMTP from above simple php script and from microsoft outlook, should not sent too.
so the problem looks like not lets encrypt


- please help what could be the SMTP settings i can try again, or the culprit in the vbulletin script, i can edit the vbulletin script a bit if needed, to fit with kloxo mr
« Last Edit: 2019-03-24, 21:08:23 by democration »

Offline azzureal

  • Master
  • **
  • Posts: 370
  • Karma: +1/-0
    • View Profile
try

qmailctl stop
yum reinstall *-toaster -y
sh /script/fixmail-all
qmailctl stop
qmailctl start

Offline democration

  • Junior Member
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
try

qmailctl stop
yum reinstall *-toaster -y
sh /script/fixmail-all
qmailctl stop
qmailctl start

so its for uninstall & reinstall qmail?

the commands runned,
but the result still same, from Email SMTP above simple php script and from microsoft outlook, is still sent, but from vbulletin script still not sent

is there other i can try?





another info if helping, Email PHP, from simple php script is sent, but from vbulletin not sent

so the problem looks like in the vbulletin script, i can edit it a bit if needed, to fit with kloxo mr
let me know if you have clue

in the vbulletin there is this message
Quote
    Pertinent SMTP Settings
    SMTP:    tls://localhost:587 or tls://mydomain.com:587 or tls://https://mydomain.com:587
    SMTP Username:    myemail@mydomain.com
    The mailing function returned an error while trying to send the mail.

where to check the detailed error in kloxo mr? if in cpanel is like this: tail -f /var/log/exim_mainlog
« Last Edit: 2019-03-26, 01:30:37 by democration »

Offline azzureal

  • Master
  • **
  • Posts: 370
  • Karma: +1/-0
    • View Profile
/var/log/maillog

Offline democration

  • Junior Member
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
tried, there is no /var/log/maillog
Quote
[root@server ~]# tail -f /var/log/maillog
tail: cannot open `/var/log/maillog' for reading: No such file or directory
tail: no files remaining





then i try find if there is similar file, there is about 4 files
Quote
[root@server ~]# find / -name maillog*
/var/log/maillog-2
/var/log/maillog-20190325
/var/log/maillog-3
/home/kloxo/httpd/awstats/tools/maillogconvert.pl








i tried send 3 emails now, then run tail for each of those 4 file below, is there clue?
Code: [Select]
[root@server ~]# tail -f /var/log/maillog-2
Mar 24 00:13:20 server smtp: 13032 > 250 flushed?
Mar 24 00:13:20 server smtp: 14122 < RSET?
Mar 24 00:13:20 server smtp: 14122 > 250 flushed?
Mar 24 00:13:20 server smtp: 13032 < AUTH LOGIN?
Mar 24 00:13:20 server smtp: 13032 > 334 VXNlcm5hbWU6?
Mar 24 00:13:21 server smtp: 13032 < YWNjb3VudHNAaW5kb25lc2lhaW5kb25lc2lhLmNvbQ                                                                             ==?
Mar 24 00:13:21 server smtp: 13032 > 334 UGFzc3dvcmQ6?
Mar 24 00:13:21 server smtp: 13032 < MjIyMjIy?
Mar 24 00:13:21 server vpopmail[14131]: vchkpw-smtp: vpopmail user not found ac                                                                             counts@mydomain.com:185.228.80.66
Mar 24 00:13:21 server smtp: 14098 > 535 authentication failed (#5.7.1)?
^C

[root@server ~]# tail -f /var/log/maillog-3
Mar 26 00:37:00 server smtp: 21364 < aW5mb0BpbmRvbmVzaWFpbmRvbmVzaWEuY29t?
Mar 26 00:37:00 server smtp: 21364 > 334 UGFzc3dvcmQ6?
Mar 26 00:37:01 server smtp: 21368 < AUTH LOGIN?
Mar 26 00:37:01 server smtp: 21368 > 334 VXNlcm5hbWU6?
Mar 26 00:37:01 server smtp: 21364 < aW5mbzEy?
Mar 26 00:37:01 server vpopmail[21395]: vchkpw-smtp: vpopmail user not found in                                                                             fo@mydomain.com:37.49.225.202
Mar 26 00:37:01 server smtp: 21368 < aW5mb0BpbmRvbmVzaWFpbmRvbmVzaWEuY29t?
Mar 26 00:37:01 server smtp: 21368 > 334 UGFzc3dvcmQ6?
Mar 26 00:37:01 server smtp: 21368 < aW5mbzEy?
Mar 26 00:37:01 server vpopmail[21397]: vchkpw-smtp: vpopmail user not found in                                                                             fo@mydomain.com:37.49.225.202
^C

[root@server ~]# tail -f /var/log/maillog-20190325
Mar 25 03:21:05 server smtp: 23877 > 250-SIZE 20971520?
Mar 25 03:21:05 server smtp: 23877 > 250 AUTH LOGIN PLAIN?
Mar 25 03:21:05 server smtp: 23906 < AUTH LOGIN?
Mar 25 03:21:05 server smtp: 23906 > 334 VXNlcm5hbWU6?
Mar 25 03:21:07 server smtp: 23906 < YmlzcG9AaW5kb25lc2lhaW5kb25lc2lhLmNvbQ==?
Mar 25 03:21:07 server smtp: 23906 > 334 UGFzc3dvcmQ6?
Mar 25 03:21:07 server smtp: tcpserver: status: 4/100
Mar 25 03:21:07 server smtp: tcpserver: pid 24266 from 66.220.155.137
Mar 25 03:21:07 server smtp: tcpserver: ok 24266 server.mydomain.com                                                                             :::ffff:192.158.234.125:25 :::ffff:66.220.155.137::44233
Mar 25 03:21:07 server smtp: 24266 > 220 mydomain.com - Welcome to Qm                                                                             ail ESMTP?
^C
« Last Edit: 2019-03-29, 20:51:46 by democration »

Offline democration

  • Junior Member
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
up, is it really /var/log/maillog ?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,581
  • Karma: +116/-10
  • Gender: Male
    • View Profile
    • MRatWork Forum
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix
Click Here

Page created in 0.078 seconds with 22 queries.

web stats analysis