Page 1 of 1
Gmail rejects emails
Posted: Sun Feb 09, 2014 2:06 pm
by lekr32
Hello, i installed vestacp on vserver, with static ip.
My problem is; emails are rejected by gmail
error:
Code: Select all
dkim=neutral (bad format) or dkim=neutral (weak key)
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?
Re: Gmail rejects emails
Posted: Mon Feb 10, 2014 2:58 pm
by heihachi88
lekr32 wrote:Hello, i installed vestacp on vserver, with static ip.
My problem is; emails are rejected by gmail
error:
Code: Select all
dkim=neutral (bad format) or dkim=neutral (weak key)
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?
Unfortunately, i can answer only on your 1st question:
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
Posted: Mon Feb 10, 2014 10:03 pm
by lekr32
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
Re: Gmail rejects emails
Posted: Tue Feb 11, 2014 4:40 am
by heihachi88
Take a look on the image below
Then choose your mail domain
After that type in SSH:
Code: Select all
v-add-mail-domain-dkim %user% %domain% %key-length%
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!
Re: Gmail rejects emails
Posted: Tue Feb 18, 2014 3:26 pm
by ahmiq
same problem occured with me. the above steps and also make sure that you have rDNS set for your ip
Re: Gmail rejects emails
Posted: Tue Feb 17, 2015 6:48 pm
by fremeni
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?
Re: Gmail rejects emails
Posted: Tue Feb 17, 2015 7:23 pm
by skurudo
fremeni wrote:%user% what it mean? what kind of user should i insert?
It's exactly what it say - your user. Admin - user too.
Re: Gmail rejects emails
Posted: Fri Mar 13, 2015 10:40 pm
by nss
Error: user %admin% is not valid
???
Re: Gmail rejects emails
Posted: Sat Mar 14, 2015 6:10 am
by skurudo
nss wrote:Error: user %admin% is not valid
???
Without % %