We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Gmail rejects emails
Gmail rejects emails
Hello, i installed vestacp on vserver, with static ip.
My problem is; emails are rejected by gmail
error:
1.I know, vestacp in default use 512 dkim key, but i dont know how to upgrade it to 1024? and where?
2. Next is, i want add my cert (eg. comodo) but i want new key will work with all services, mail, control panel, ftp, and others? how to make it, i know i must generate csv and get crt, but what about services like mails? and it will work with dkim?
My problem is; emails are rejected by gmail
error:
Code: Select all
dkim=neutral (bad format) or dkim=neutral (weak key)
2. Next is, i want add my cert (eg. comodo) but i want new key will work with all services, mail, control panel, ftp, and others? how to make it, i know i must generate csv and get crt, but what about services like mails? and it will work with dkim?
-
- Posts: 258
- Joined: Fri Jan 10, 2014 7:34 pm
Re: Gmail rejects emails
Unfortunately, i can answer only on your 1st question:lekr32 wrote:Hello, i installed vestacp on vserver, with static ip.
My problem is; emails are rejected by gmail
error:1.I know, vestacp in default use 512 dkim key, but i dont know how to upgrade it to 1024? and where?Code: Select all
dkim=neutral (bad format) or dkim=neutral (weak key)
2. Next is, i want add my cert (eg. comodo) but i want new key will work with all services, mail, control panel, ftp, and others? how to make it, i know i must generate csv and get crt, but what about services like mails? and it will work with dkim?
Go to Mail directory in Vesta, choose your domain then uncheck DKIM.
Then in SSH type:
Code: Select all
v-add-mail-domain-dkim %user% %domain% %key-length%
Re: Gmail rejects emails
what do you mean "Go to Mail directory in Vesta, choose your domain then uncheck DKIM."
what directory? /usr/local/vesta ??
where you says to uncheck DKIM.?
i want 1024 key for every domain created by vesta, to made it automatically
what directory? /usr/local/vesta ??
where you says to uncheck DKIM.?
i want 1024 key for every domain created by vesta, to made it automatically
-
- Posts: 258
- Joined: Fri Jan 10, 2014 7:34 pm
Re: Gmail rejects emails
Take a look on the image below
Then choose your mail domain
After that type in SSH:
Don't forget to replace it with your domain name, user name etc.
You can't do 1024 bit keys automatically, you have to do it manually for every domain. In next Vesta release it would be 1024 bit keys for every domain by default.
Then reload your named service:
And you're done!
Then choose your mail domain
After that type in SSH:
Code: Select all
v-add-mail-domain-dkim %user% %domain% %key-length%
You can't do 1024 bit keys automatically, you have to do it manually for every domain. In next Vesta release it would be 1024 bit keys for every domain by default.
Then reload your named service:
Code: Select all
service named restart
Re: Gmail rejects emails
same problem occured with me. the above steps and also make sure that you have rDNS set for your ip
Re: Gmail rejects emails
Hi,
"v-add-mail-domain-dkim %user% %domain% %key-length%"
i'm trying to regenerate it but
%user% what it mean? what kind of user should i insert?
"v-add-mail-domain-dkim %user% %domain% %key-length%"
i'm trying to regenerate it but
%user% what it mean? what kind of user should i insert?
Re: Gmail rejects emails
It's exactly what it say - your user. Admin - user too.fremeni wrote:%user% what it mean? what kind of user should i insert?
Re: Gmail rejects emails
Error: user %admin% is not valid
???
???
Re: Gmail rejects emails
Without % %nss wrote:Error: user %admin% is not valid
???