Fix for Too many concurrent SMTP connections

Post Reply
arktex54
Posts: 14
Joined: Wed Jul 15, 2020 11:10 pm

Any way to exclude two IPs?

# log_selector = +smtp_connection
smtp_accept_max = 50
smtp_accept_max_per_host = 4


BTW, you are awesome. I hope your friends and company realize that. Slip me a donate button.
User avatar
myVesta
Site Admin
Posts: 972
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 10 times
Been thanked: 6 times

exclude in the meaning of block some ip to access your smtp ?
arktex54
Posts: 14
Joined: Wed Jul 15, 2020 11:10 pm

dpeca wrote: Thu Jul 16, 2020 12:14 am exclude in the meaning of block some ip to access your smtp ?
Allowlist that allows unlimited connections. Or connections=30 for allowlist
User avatar
myVesta
Site Admin
Posts: 972
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 10 times
Been thanked: 6 times

ahhhhhhh, really not sure how to do that :D
i'm afraid you must google for it...

i just found how to globally set these limits :/

if you find solution for that, please tell us here.
Ominae
Posts: 22
Joined: Fri Jul 10, 2020 4:30 am

just a question, I didn't want to create a new topic...

The SMTP of the main domain connects to STARTTLS port 587 without problems, but the sub domain does not connect SMTP by STARTTLS port 587 and gives problems if added to a free GMail or to programs like Thunderbird. I can't find more information... :|

For example GMail delivers this error when trying to configure:
"TLS Negotiation failed, the certificate doesn't match the host., code: 0"

Setting 1:
correctdomain.com in DNS external (Linode)
SPF, DMARC and DKIM = OK!
Set it correctly in GMail free or Thunderbird desktop:

Code: Select all

Server SMTP: correctdomain.com
User: [email protected]
Port: 587 TLS
SSL for IMAP/POP = OK!
STARTSSL port 587 for SMTP = OK!

Setting 2:
problemdomain.com in DNS external (record type A = WIX)
mail.problemdomain.com in DNS external (record type A = IP PUBLIC of VESTA)
SPF, DMARC and DKIM = OK!

In Vesta I only add in WEB = mail.problemdomain.com
and SSL let's encrypt is created without errors.
Then I add in MAIL = problemdomain.com
and failed to create configuration in GMail free or Thunderbird desktop.

Code: Select all

Server SMTP: mail.problemdomain.com or IP PUBLIC of VESTA
User: [email protected]
Port: 587 TLS
SSL for IMAP/POP = OK!
STARTSSL port 587 for SMTP = GMail "TLS Negotiation failed, the certificate doesn't match the host., code: 0"

If I replace the port with 25, if you connect and add the account :(

I even tried adding this: VESTA \ MAIL \ mail.problemdomain.com
And although the user was like this: [email protected]
This configuration did not work either:

Code: Select all

Server SMTP: mail.problemdomain.com or IP PUBLIC of VESTA
User: [email protected]
Port: 587 TLS
Has something similar happened to them? :|
User avatar
myVesta
Site Admin
Posts: 972
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 10 times
Been thanked: 6 times

Post Reply