jeffbaygents
New member
- Joined
- Sep 25, 2025
- Messages
- 7
I created an unmanaged VPS using AlmaLinux 10, OpenLiteSpeed, & DirectAdmin, using a domain of "srvsystem.com". For years, I use my long checklist to ensure consistency each time I create a new VPS, and I update it for any changes each time. I try to stay with default settings along the way for everything, which reduces problems for getting a solid, reliable base install.
With that said, I'm near the end of the checklist and was testing sending and receiving emails from the default "admin" mailbox. I discovered it can readily receive emails but it can't send emails. These are the things I've done:
I've already seen a similar issue mentioned elsewhere this year (2025). It was mentioned to fix it by running a CLI of
$config[‘smtp_server’] = ‘tls://%t’;
Why I don't run that "Fix/Workaround" & am looking for a confirmed solution:
I'm stuck and halted further setup of this VPS so, any guidance on this is greatly appreciated. Also, I rebuilt this VPS a second time and am assured it's a repeated issue. Thanks.
With that said, I'm near the end of the checklist and was testing sending and receiving emails from the default "admin" mailbox. I discovered it can readily receive emails but it can't send emails. These are the things I've done:
- I had already requested some SMTP ports to be opened from my host provider, as I've done before in the past.
- In RoundCube (Settings | Identities), using its default admin mailbox, I changed its default "...local" email address to a regular "...srvsystem.com" email address.
- I tested receiving emails from a Gmail account; it worked fine. I tested sending to the same Gmail account and it fails with "SMTP error 535... Authentication failed".
- I created a new mailbox and tested its sending & receiving. Works fine.
I've already seen a similar issue mentioned elsewhere this year (2025). It was mentioned to fix it by running a CLI of
$config[‘smtp_server’] = ‘tls://%t’;
Why I don't run that "Fix/Workaround" & am looking for a confirmed solution:
- I haven't run that script because I don't know what it does & I don't know how to reverse it, if there are issues.
- I don't know how to read my current config with what the current setting is.
- Also, I haven't run it because all mailboxes but this default one work fine.
- Also, no one using this "workaround/fix" mentions that this issue only fails with the default mailbox and other mailboxes are fine (they might not be aware of this).
- I'm concerned about the impact as, maybe this aspect of the default admin mailbox not sending out emails is by design for security reasons.
- DirectAdmin (sometimes) prefers various settings to be set using inside DirectAdmin and not via CLI. Also, this might just be a RoundCube thing, and nothing to do with DirectAdmin.
I'm stuck and halted further setup of this VPS so, any guidance on this is greatly appreciated. Also, I rebuilt this VPS a second time and am assured it's a repeated issue. Thanks.
Last edited: