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

Gmail rejects emails

Questions regarding the Mail Server
Dovecot, Exim, RoundCube
Post Reply
  • Print view
Advanced search
9 posts • Page 1 of 1
lekr32
Posts: 15
Joined: Sun Feb 09, 2014 1:52 pm

Gmail rejects emails
  • Quote

Post by lekr32 » Sun Feb 09, 2014 2:06 pm

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

heihachi88
Posts: 258
Joined: Fri Jan 10, 2014 7:34 pm

Re: Gmail rejects emails
  • Quote

Post by heihachi88 » Mon Feb 10, 2014 2:58 pm

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

lekr32
Posts: 15
Joined: Sun Feb 09, 2014 1:52 pm

Re: Gmail rejects emails
  • Quote

Post by lekr32 » Mon Feb 10, 2014 10:03 pm

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
Top

heihachi88
Posts: 258
Joined: Fri Jan 10, 2014 7:34 pm

Re: Gmail rejects emails
  • Quote

Post by heihachi88 » Tue Feb 11, 2014 4:40 am

Take a look on the image below
Image

Then choose your mail domain
Image

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:

Code: Select all

service named restart
And you're done!
Top

ahmiq
Posts: 43
Joined: Mon Jan 13, 2014 10:58 am
Contact:
Contact ahmiq
Website

Re: Gmail rejects emails
  • Quote

Post by ahmiq » Tue Feb 18, 2014 3:26 pm

same problem occured with me. the above steps and also make sure that you have rDNS set for your ip
Top

fremeni
Posts: 40
Joined: Sun Jun 15, 2014 11:14 pm

Re: Gmail rejects emails
  • Quote

Post by fremeni » Tue Feb 17, 2015 6:48 pm

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

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Gmail rejects emails
  • Quote

Post by skurudo » Tue Feb 17, 2015 7:23 pm

fremeni wrote:%user% what it mean? what kind of user should i insert?
It's exactly what it say - your user. Admin - user too.
Top

nss
Posts: 1
Joined: Fri Mar 13, 2015 10:36 pm

Re: Gmail rejects emails
  • Quote

Post by nss » Fri Mar 13, 2015 10:40 pm

Error: user %admin% is not valid
???
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Gmail rejects emails
  • Quote

Post by skurudo » Sat Mar 14, 2015 6:10 am

nss wrote:Error: user %admin% is not valid
???
Without % %
Top


Post Reply
  • Print view

9 posts • Page 1 of 1

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
 

 

cron

Login  •  Register

I forgot my password