Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Mail Server
  • Search

What host and port to use for the SMTP server

Questions regarding the Mail Server
Dovecot, Exim, RoundCube
Post Reply
  • Print view
Advanced search
13 posts
  • Previous
  • 1
  • 2
openyk
Posts: 14
Joined: Tue Jul 15, 2014 8:52 pm

Re: What host and port to use for the SMTP server
  • Quote

Post by openyk » Mon Jul 21, 2014 8:12 pm

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)
Top

energytech
Posts: 11
Joined: Fri Jul 18, 2014 7:56 am

Re: What host and port to use for the SMTP server
  • Quote

Post by energytech » Mon Jul 21, 2014 10:09 pm

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]
Top

openyk
Posts: 14
Joined: Tue Jul 15, 2014 8:52 pm

Re: What host and port to use for the SMTP server
  • Quote

Post by openyk » Tue Jul 22, 2014 5:53 pm

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)
Top


Post Reply
  • Print view

13 posts
  • Previous
  • 1
  • 2

Return to “Mail Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password