If using OSSN:
OSSN version: 8.1 premium
Website URL (optional): justbsocial.eu
If facing any bug:
PHP Version : 8.1
Error Log if any: none
Browser: all
OS (Window/Linux/Android/iOS/Mac):
Hello,
I’m running OSSN on a VPS with a configured mailserver.
Sending email directly from the VPS/webmail to a user works fine.
SMTP component in OSSN is enabled and reports as “working.”
External testers (mail-tester.com, etc.) give my domain a perfect score (10/10, 100%).
Emails from the site do reach other addresses/domains, but never Gmail.
Even with MFA component enabled and manual validation done, Gmail does not deliver the messages (not in Inbox, not in Spam).
So it seems the mailserver and DNS (SPF/DKIM/DMARC) are correct, but Gmail rejects or drops OSSN-sent emails.
What am I missing?
Is there an extra configuration step inside OSSN?
Do I need to adjust headers/tags in the SMTP component?
Or is this specifically a Gmail deliverability issue?
Any advice would be greatly appreciated.
Thanks in advance!
even this works from the vps terminal
root@mail:~# cat >/tmp/mailtest.php <<'PHP'
<?php
$to = '[email protected]';
$sub = 'OSSN reset test via PHP mail()';
$body = "Test vanaf PHP mail() op ".date('c')."\n";
$hdrs = "From: [email protected]\r\n";
var_dump( mail($to, $sub, $body, $hdrs, '-f [email protected]') );
PHP
sudo -u www php /tmp/mailtest.php || sudo -u www-data php /tmp/mailtest.php
But pasword reset from site nothing
Hi there, mail is core so i was busy fixing this.
Thank you for responding and thinking.
What i got now. when mail send from mailserver(roundcube) sends the mail to users and they recieve this(some in spam, but they get it)
in gmail when going to show original it is all ok.
been testing settings and now from terminal vps i use this smtp test and that works.
swaks --to [email protected] \
--from [email protected] \
--server mail.justbsocial.eu --port 465 --tls-on-connect \
--auth LOGIN --auth-user [email protected] --auth-password '####### \
--h-Subject "OSSN SMTP test (465)" --body "Hallo (465)"
swaks --to [email protected] \
--from [email protected] \
--server mail.justbsocial.eu --port 587 --tls \
--auth LOGIN --auth-user [email protected] --auth-password '#######' \
--h-Subject "OSSN SMTP test (587)" --body "Hallo (587)"
and i get two mail now.
password reset etc does not do anything.
10/10 can be found here
https://www.mail-tester.com/test-xg3spnqcj
componement smtp
SMTP Connection successfully established
for port 465
smtp off does not have any succes. password reset does not got send
when i do password reset with [email protected] i get the mail. @gmail does nothing

Eric you have not answerd any of our questions.
As i told you yestarday i tested and justbsocial.eu have errors i don't how mail-tester shows its 10/10 ?
Today i signup to your website again and it didn't loggedin me autoamtically even i see message logggin you now.
Also after restting password i get error message
Cannot reset password! Please try again later.
That means now your SMTP/mail failing to send message.
I’m running Postfix as my mail system (installed through the aaPanel Mail Server plugin).
The OSSN SMTP component is enabled, and it doesn’t show any errors.
The problem:
Mails sent through OSSN (for example using the Invite Friends function) don’t arrive in the recipient’s mailbox.
No error is shown in OSSN, so it looks like the component thinks everything is fine.
On the server side, I don’t see a copy in the “Sent” folder or a clear log entry that the mail was accepted/delivered.
So at the moment I’m stuck: OSSN says the SMTP send was successful, but nothing shows up at the destination mailbox.
root 3968328 0.0 0.0 42856 4760 ? Ss Sep02 0:11 /usr/lib/postfix/sbin/master -w
postfix 3968337 0.0 0.1 49760 13440 ? S Sep02 0:01 tlsmgr -l -t unix -u
postfix 4047690 0.0 0.0 43304 7936 ? S Sep03 0:05 anvil -l -t unix -u
postfix 4101773 0.0 0.0 43492 8064 ? S 03:36 0:00 qmgr -l -t unix -u
postfix 4112934 0.0 0.1 52100 16256 ? S 07:39 0:00 smtpd -n smtp -t inet -u -o stress= -s 2
postfix 4113057 0.0 0.1 52100 16256 ? S 07:42 0:00 smtpd -n smtp -t inet -u -o stress= -s 2
postfix 4113059 0.0 0.1 52100 16128 ? S 07:42 0:00 smtpd -n smtp -t inet -u -o stress= -s 2
postfix 4113190 0.0 0.0 43308 7936 ? S 07:45 0:00 pickup -l -t unix -u
postfix 4113492 0.0 0.2 52100 16384 ? S 07:51 0:00 smtpd -n smtp -t inet -u -o stress= -s 2
postfix 4113495 0.0 0.0 43308 7936 ? S 07:51 0:00 proxymap -t unix -u
postfix 4113497 0.0 0.1 52100 16256 ? S 07:51 0:00 smtpd -n smtp -t inet -u -o stress= -s 2
postfix 4113518 0.0 0.1 52100 16256 ? S 07:51 0:00 smtpd -n smtp -t inet -u -o stress= -s 2
root 4113678 0.0 0.0 6680 2304 pts/0 S+ 07:52 0:00 grep --color=auto -E postfix|exim|sendmail
use many test sites like https://dnschecker.org/mx-lookup.php?utm_source=chatgpt.com&query=justbsocial.eu&dns=google
All results are good.
use dmarc return mail and all are pass and good
Not sure if I got it right: You're trying to send mails via your VPS/SMTP-mailserver?
If so, use a mail client like Thunderbird configured to connect to your mailserver and try sending a mail from
Thunderbird ---> your VPS/SMTP-mailserver ----> [email protected]
Does this work?
If so, configure the OSSN-SMTP client component the same way like Thunderbird and use the Invite Friends function for testing like
Invite Friends ---> Ossn SMTP client component ---> your VPS/SMTP-mailserver ----> [email protected]
what about when you send to any other email using ossn? does it appear in sent folder?
idk your settings on server, as per my knowledge any email sent using smtp should appear in sent folder. Which software you use on server ? exim/postfix?
when i use the webmail
https://webmail.justbsocial.eu/ to send to any @gmail account it will deliver this directly
we have dutch test site https://internet.nl/site/justbsocial.eu/3413084/
with the smpt i dont see mail in sent folder
I received in spam and also your email have issues, if you see headers in gmail and i am surpised how mail-tester shows 10/10 ?

Other question is does the email sent using direclty using webmail receives in gmail?
Due to the many requests in the past for additonal features and components we have decided to develope a premium version. Features like Hashtags, Videos, Polls, Events, Stories, Link Preview, etc included in it.
$199 (Life Time)