MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: democration on 2019-03-24, 19:57:43

Title: [Email SMTP] sending from simple php script sent, from vbulletin not sent
Post by: democration on 2019-03-24, 19:57:43
- 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
Title: Re: [Email SMTP] sending from simple php script sent, from vbulletin not sent
Post by: azzureal on 2019-03-25, 05:19:58
try

qmailctl stop
yum reinstall *-toaster -y
sh /script/fixmail-all
qmailctl stop
qmailctl start
Title: Re: [Email SMTP] sending from simple php script sent, from vbulletin not sent
Post by: democration on 2019-03-26, 00:26:02
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
Title: Re: [Email SMTP] sending from simple php script sent, from vbulletin not sent
Post by: azzureal on 2019-03-26, 04:26:52
/var/log/maillog
Title: Re: [Email SMTP] sending from simple php script sent, from vbulletin not sent
Post by: democration on 2019-03-28, 20:19:03
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
Title: Re: [Email SMTP] sending from simple php script sent, from vbulletin not sent
Post by: democration on 2019-04-04, 04:26:41
up, is it really /var/log/maillog ?
Title: Re: [Email SMTP] sending from simple php script sent, from vbulletin not sent
Post by: MRatWork on 2019-04-25, 10:35:21
Yes.