Author Topic: can receive and send mail using roundcube, but not using phpmailer  (Read 461 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
hi, i have problem with my mail, when using roundcube, i can sent and receive mail, but when using phpmailer, it not work.
anyone having the same issue here?

Offline
****
Re: can receive and send mail using roundcube, but not using phpmailer
« Reply #1 on: July 27, 2018, 06:04:25 PM »
Code: [Select]
nano /usr/local/php/php.ini
Find

Code: [Select]
;sendmail_path =
Replace with

Code: [Select]
sendmail_path = "/usr/sbin/sendmail -t -i"
Save it and restart apache

Code: [Select]
service httpd restart
Check if its working now.


Offline
*
Re: can receive and send mail using roundcube, but not using phpmailer
« Reply #2 on: July 27, 2018, 06:44:24 PM »
Code: [Select]
nano /usr/local/php/php.ini
Find

Code: [Select]
;sendmail_path =
Replace with

Code: [Select]
sendmail_path = "/usr/sbin/sendmail -t -i"
Save it and restart apache

Code: [Select]
service httpd restart
Check if its working now.



still not working, hmmm

Offline
****
Re: can receive and send mail using roundcube, but not using phpmailer
« Reply #3 on: July 27, 2018, 06:47:21 PM »
what is output of

Code: [Select]
tail -f /var/log/maillog

Offline
*
Re: can receive and send mail using roundcube, but not using phpmailer
« Reply #4 on: July 28, 2018, 03:06:53 AM »
what is output of

Code: [Select]
tail -f /var/log/maillog

here the output

Quote
Jul 28 02:18:31 vps postfix/smtpd[23303]: SSL_accept error from vps.site.com[127.0.0.1]: -1
Jul 28 02:18:31 vps postfix/smtpd[23303]: warning: TLS library problem: 23303:error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol:s23_srvr.c:647:
Jul 28 02:18:31 vps postfix/smtpd[23303]: lost connection after CONNECT from vps.site.com[127.0.0.1]
Jul 28 02:18:31 vps postfix/smtpd[23303]: disconnect from vps.site.com[127.0.0.1]
Jul 28 02:18:31 vps postfix/smtpd[23303]: connect from vps.site.com[127.0.0.1]
Jul 28 02:18:31 vps postfix/smtpd[23303]: setting up TLS connection from vps.site.com[127.0.0.1]
Jul 28 02:18:49 vps postfix/anvil[23316]: statistics: max connection rate 1/60s for (smtp:145.249.104.245) at Jul 28 02:15:26
Jul 28 02:18:49 vps postfix/anvil[23316]: statistics: max connection count 1 for (smtp:145.249.104.245) at Jul 28 02:15:26
Jul 28 02:18:49 vps postfix/anvil[23316]: statistics: max cache size 1 at Jul 28 02:15:26

Offline
****
Re: can receive and send mail using roundcube, but not using phpmailer
« Reply #5 on: July 29, 2018, 11:40:34 PM »
More logs are needed . While sending email capture logs.

Offline
*
Re: can receive and send mail using roundcube, but not using phpmailer
« Reply #6 on: July 30, 2018, 01:23:35 PM »
you can try to rebuild your mail server from cwp.admin mailserver manager (postfix manager) this should give you a clean config then you can setup tail on the maillog file and try to send an email

before sending email run this from the console (not from webgui)
Code: [Select]
tail -f /var/log/maillog
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.