Page 1 of 1

Mail scripts not sending or receiving

Posted: Sat Oct 03, 2020 8:33 pm
by BartMan__X
I am using mailinabox on another server for email I installed rainloop on users domain.com/mail configured it to connect to the mailinabox instance and it would not work set it up on a hestiacp server with the subdomain mail.domain.com it worked.
He has a contact us script that can use php mail or smtp tried both didn't work .. tried smtp to the mailinabox instance didn't work so I tried google smtp still nothing..... any ideas?

Re: Mail scripts not sending or receiving

Posted: Mon Oct 05, 2020 11:39 pm
by myVesta
Maybe you have domain.com in MAIL section.
If emails of that domains are not hosted by your myVesta server, simply go to your myVesta account, in header section click on "MAIL" section, and delete that domain.

Re: Mail scripts not sending or receiving

Posted: Tue Oct 06, 2020 9:34 pm
by BartMan__X
dpeca wrote: Mon Oct 05, 2020 11:39 pm Maybe you have domain.com in MAIL section.
If emails of that domains are not hosted by your myVesta server, simply go to your myVesta account, in header section click on "MAIL" section, and delete that domain.
Image

Nope no mail account ...

Re: Mail scripts not sending or receiving

Posted: Tue Oct 06, 2020 11:01 pm
by myVesta
Then something other is problem.
Do you see anythinng in error log for that domain?

Re: Mail scripts not sending or receiving

Posted: Wed Oct 07, 2020 1:49 am
by BartMan__X
dpeca wrote: Tue Oct 06, 2020 11:01 pm Then something other is problem.
Do you see anythinng in error log for that domain?
IN THE LOGS I REPLACECED ORIGINAL DOMAIN WITH "DOMAIN.COM" AND ORIGINAL USERNAME WITH "USER" SO I COULD POST HERE AND PROTECT THE PRVACY OF MY CLIENT

Code: Select all

[Sun Oct 04 01:33:46.901651 2020] [proxy_fcgi:error] [pid 25916:tid 139794466203392] [client 195.181.167.36:0] AH01071: Got error 'Primary script unknown'
2020/10/04 02:53:01 [error] 556#556: *5400 openat() "/home/user/web/domain.com/public_html/robots.txt" failed (2: No such file or directory), client: 66.249.65.45, server: domain.com, request: "GET /robots.txt HTTP/1.1", host: "domain.com"
[Sun Oct 04 14:25:39.748219 2020] [proxy_fcgi:error] [pid 25916:tid 139794407454464] [client 34.95.212.150:0] AH01071: Got error 'Primary script unknown'
[Mon Oct 05 13:07:00.463855 2020] [proxy_fcgi:error] [pid 25916:tid 139794399061760] [client 91.185.190.207:0] AH01071: Got error 'Primary script unknown'
[Tue Oct 06 05:05:45.252906 2020] [proxy_fcgi:error] [pid 25916:tid 139794602653440] [client 217.194.215.143:0] AH01071: Got error 'Primary script unknown'
[Tue Oct 06 05:05:45.526654 2020] [proxy_fcgi:error] [pid 25916:tid 139794585868032] [client 51.210.101.93:0] AH01071: Got error 'Primary script unknown'
2020/10/06 08:41:08 [error] 556#556: *11507 openat() "/home/user/web/domain.com/public_html/robots.txt" failed (2: No such file or directory), client: 192.71.3.26, server: domain.com, request: "GET /robots.txt HTTP/1.1", host: "domain.com"
2020/10/06 08:41:08 [error] 556#556: *11508 openat() "/home/user/web/domain.com/public_html/humans.txt" failed (2: No such file or directory), client: 192.36.70.176, server: domain.com, request: "GET /humans.txt HTTP/1.1", host: "domain.com"
2020/10/06 08:41:08 [error] 556#556: *11509 openat() "/home/user/web/domain.com/public_html/ads.txt" failed (2: No such file or directory), client: 192.71.30.89, server: domain.com, request: "GET /ads.txt HTTP/1.1", host: "domain.com"
2020/10/06 10:55:27 [error] 556#556: *11557 openat() "/home/user/web/domain.com/public_html/robots.txt" failed (2: No such file or directory), client: 66.249.64.43, server: domain.com, request: "GET /robots.txt HTTP/1.1", host: "domain.com"

Re: Mail scripts not sending or receiving

Posted: Wed Oct 07, 2020 12:34 pm
by myVesta
Check file /var/log/php-mail.log
Maybe you can see sent mails there.
If you see them there, confirm me, so we can continue.

Re: Mail scripts not sending or receiving

Posted: Sat Oct 10, 2020 4:17 pm
by BartMan__X
[01-Oct-2020 21:50:39 UTC] mail() on [/home/user/web/domain.com/public_html/contact_me.php:58]: To: [email protected] -- Headers: From: [email protected] Reply-To: [email protected] X-Mailer: PHP/7.3.19-1~deb10u1 -- Subject: Message from domain.com domain.com
[02-Oct-2020 17:45:47 UTC] mail() on [/home/user/web/domain.com/public_html/contact_me.php:58]: To: [email protected] -- Headers: From: [email protected] Reply-To: [email protected] X-Mailer: PHP/7.3.19-1~deb10u1 -- Subject: Message from domain.com domain.com

Re: Mail scripts not sending or receiving

Posted: Mon Oct 12, 2020 1:17 am
by myVesta
Are those emails those that you tried to send?

by the way, you should not use gmail.com in From: field.