Mail scripts not sending or receiving

Post Reply
BartMan__X
Posts: 5
Joined: Sun Aug 16, 2020 10:56 pm

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?
User avatar
myVesta
Site Admin
Posts: 928
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 8 times
Been thanked: 6 times

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.
BartMan__X
Posts: 5
Joined: Sun Aug 16, 2020 10:56 pm

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 ...
User avatar
myVesta
Site Admin
Posts: 928
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 8 times
Been thanked: 6 times

Then something other is problem.
Do you see anythinng in error log for that domain?
BartMan__X
Posts: 5
Joined: Sun Aug 16, 2020 10:56 pm

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"
User avatar
myVesta
Site Admin
Posts: 928
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 8 times
Been thanked: 6 times

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.
BartMan__X
Posts: 5
Joined: Sun Aug 16, 2020 10:56 pm

[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
User avatar
myVesta
Site Admin
Posts: 928
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 8 times
Been thanked: 6 times

Are those emails those that you tried to send?

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