Hello there.
I have cyberpanel installed on my vps and I created an email named [email protected] and my wordpress contact form was sending emails to [email protected] and it was working just fine.
But once I moved my [email protected] to g suite emails being sent by my wordpress does not show up in g suite gmail, while other emails being sent to [email protected] shows in g suite.
So if anyone send an email to [email protected] I would get that email in g suite but if I send the email from the server which is hosting my domain it does not show in g suite. (rainloop was receiving those emails cause they were internal) + ( g suite is setup correctly as email provider for [email protected])
My guess is: when i try to send email using code from my server who hosts my domain it will try to search for the email internally in my own server and since there is no email named [email protected] defined in my server then it gives this error:
Jan 24 23:06:54 cyberpanel-ubuntu-s postfix/pickup[13985]: 7DB64FEE97: uid=1004 from=
Jan 24 23:06:54 cyberpanel-ubuntu-s postfix/cleanup[15800]: 7DB64FEE97: message-id=[email protected]
Jan 24 23:06:54 cyberpanel-ubuntu-s postfix/qmgr[343]: 7DB64FEE97: from=[email protected], size=679, nrcpt=1 (queue active)
Jan 24 23:06:54 cyberpanel-ubuntu-s postfix/pipe[15803]: 7DB64FEE97: to=[email protected], relay=dovecot, delay=0.08, delays=0.03/0.01/0/0.04, dsn=5.1.1, status=bounced (user unknown. Command output: lda([email protected]): Error: net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission denied )
Jan 24 23:06:54 cyberpanel-ubuntu-s postfix/cleanup[15800]: 8E7F1FEE98: message-id=[email protected]
Jan 24 23:06:54 cyberpanel-ubuntu-s postfix/bounce[15807]: 7DB64FEE97: sender non-delivery notification: 8E7F1FEE98
Jan 24 23:06:54 cyberpanel-ubuntu-s postfix/qmgr[343]: 8E7F1FEE98: from=<>, size=2620, nrcpt=1 (queue active)
Jan 24 23:06:54 cyberpanel-ubuntu-s postfix/qmgr[343]: 7DB64FEE97: removed
Jan 24 23:06:54 cyberpanel-ubuntu-s postfix/pipe[15803]: 8E7F1FEE98: to=[email protected], relay=dovecot, delay=0.02, delays=0/0/0/0.02, dsn=5.1.1, status=bounced (user unknown. Command output: lda([email protected]): Error: net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission denied )
Jan 24 23:06:54 cyberpanel-ubuntu-spostfix/qmgr[343]: 8E7F1FEE98: removed
how can i solve this? I should make it so that my server would not look for [email protected] and look externally
Any Help is appreciated