We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on Vesta 2.0 and expect to release it by the end of 2024. Read more about it: https://vestacp.com/docs/vesta-2-development
What host and port to use for the SMTP server
Re: What host and port to use for the SMTP server
Yeah, I can VestaCP admin > Mail > open webmail > login then I can send and receive emails properly when tested against a gmail account.
I do receive a response email after sending an email to [email protected] :
...
==========================================================
Summary of Results
==========================================================
SPF check: pass
DomainKeys check: neutral
DKIM check: pass
Sender-ID check: pass
SpamAssassin check: ham
...
----------------------------------------------------------
DomainKeys check details:
----------------------------------------------------------
Result: neutral (message not signed)
ID(s) verified: header.From=[email protected]
DNS record(s):
...
SMTP configuration is using:
Port: 25
Hostname: mail.domain.tld
Protocol: sslv3 (swiftmailer gives error), tls (no error but doesn't work)
I do receive a response email after sending an email to [email protected] :
...
==========================================================
Summary of Results
==========================================================
SPF check: pass
DomainKeys check: neutral
DKIM check: pass
Sender-ID check: pass
SpamAssassin check: ham
...
----------------------------------------------------------
DomainKeys check details:
----------------------------------------------------------
Result: neutral (message not signed)
ID(s) verified: header.From=[email protected]
DNS record(s):
...
SMTP configuration is using:
Port: 25
Hostname: mail.domain.tld
Protocol: sslv3 (swiftmailer gives error), tls (no error but doesn't work)
-
- Posts: 11
- Joined: Fri Jul 18, 2014 7:56 am
Re: What host and port to use for the SMTP server
So only your mail client settings are not working. The server send and receives correctly, Gmail does not see the mail as SPAM.
Try setting:
Connection Security - none
Authentication method - Password, transmitted insecurely
User name - [email protected]
Try setting:
Connection Security - none
Authentication method - Password, transmitted insecurely
User name - [email protected]
Re: What host and port to use for the SMTP server
I'm not sure where the exim4 configuration files are.
/etc/exim4... and I'm lost. I assume changing the config for exim4 is what you meant?
Update: Interesting, I tried the swiftmailer on another application server and it seems to have worked. Email sent properly to the recipient address from the [email protected]
My deduction is that the SMTP on the domain.tld with the mail server is working correctly, and it's likely the application server with the swiftmailer that has some settings incorrectly set. Perhaps it's because the application server doesn't have a domain name or signed SSL?
In other words, I tried using 1 server with domain1.tld as just the mail server, then another server at domain2.tld (with signed SSL) for the application with swiftmailer SMTP, and it worked with TLS protocol at port 587. However, when I use the domain1.tld mail server with another no-domain application server (unsigned SSL), the emails do not get sent.
Could someone clarify whether the problem truly is just that swiftmailer+SMTP does not work on servers with no domain name or signed SSL or both? (even if it's calling a separate mail server that DOES work)
/etc/exim4... and I'm lost. I assume changing the config for exim4 is what you meant?
Update: Interesting, I tried the swiftmailer on another application server and it seems to have worked. Email sent properly to the recipient address from the [email protected]
My deduction is that the SMTP on the domain.tld with the mail server is working correctly, and it's likely the application server with the swiftmailer that has some settings incorrectly set. Perhaps it's because the application server doesn't have a domain name or signed SSL?
In other words, I tried using 1 server with domain1.tld as just the mail server, then another server at domain2.tld (with signed SSL) for the application with swiftmailer SMTP, and it worked with TLS protocol at port 587. However, when I use the domain1.tld mail server with another no-domain application server (unsigned SSL), the emails do not get sent.
Could someone clarify whether the problem truly is just that swiftmailer+SMTP does not work on servers with no domain name or signed SSL or both? (even if it's calling a separate mail server that DOES work)