Welcome Guest. Please Login or Register  


You are here: Index > Webuzo > General Support > Topic : Guide - How to setup DKIM and SPF with Exim

1


Threaded Mode | Print  

 Guide - How to setup DKIM and SPF with Exim (34 Replies, Read 47844 times)
myleene
Group: Member
Post Group: Newbie
Posts: 4
Status:
Applies to:
- Webuzo 2.3.4
- Centos 6.5 64bit
- Exim 4.72
- A dedicated server having its own IP
(*) It should work for different setups with minor adjustments.


Detail: I couldn't find a guide detailing steps to do it and had to spend 2-3 hours on how to do it. I didn't even know what "DKIM" or "SPF" meant before my email started being rejected by GMail and I stopped receiving emails from my WordPress without me changing anything.

Please note that I'm a novice in linux and that there may surely be an easier method to do this. I'm sharing as I really like Webuzo and I believe it may help others.


Steps:

1) Start an ssh session and go to /etc/exim/
(*) It's not required, but it'll help in the next few steps.

2) Generate a private and public key to sign your messages with openssl:
#openssl genrsa -out dkim.private.key 1024
(*) It works well if you get "Returned error code 0" and you see a file named "dkim.private.key" in that directory.

3) Extract the public key from the private key
#openssl rsa -in dkim.private.key -out dkim.public.key -pubout -outform PEM
(*) A new file named "dkim.private.key" will be created in this directory.

4) Open exim.conf to modify it:
Replace:
remote_smtp:
    driver = smtp
With:
remote_smtp:
    driver = smtp
    dkim_domain = ${lc:${domain:$h_from:}}
    dkim_selector = x
    dkim_private_key = /etc/exim/dkim.private.key
    dkim_canon = relaxed
(*) It allows all domains linked to this server to use DKIM and use the private key you just created. if you opt to change "dkim_selector" it'll need to be adjusted in later steps.

5) Restart Exim
(*) I go to "services" in Webuzo, but there are other options.

6) Adjust your DNS settings

6.1) If you don't have a mx record, create one:
Priority: 1
Host: @
Points to: @

6.2) Create a TXT setting specifying your SPF settings:
Host: @
txt value: v=spf1 a mx ip4:999.999.9.99 ip6:9999:9999:99:3a32:: ~all
(*) Adjust to your IPs. It's the only thing required for SPF to work.

6.3) Create a TXT setting specifying your DKIM:
Host: x._domainkey
txt value: v=DKIM1; p=<your public key>
(*) If you changed "dkim_selector" under "Host", "x" will need to be adjusted accordingly.


How to test:
- https://www.dnswatch.info/dkim/create-dns-record
- https://www.mail-tester.com/spf-dkim-check

Then: send an email from this address to an external email and check if both SPF and DKIM are specified correctly in the header. You should see "spf=pass" and "dkim=pass" as well as other configurations depending on which email provider you send to. Hotmail and GMail are both good to confirm these settings.
IP: --   

Guide - How to setup DKIM and SPF with Exim
myleene
Group: Member
Post Group: Newbie
Posts: 4
Status:
I forgot step 7:
7) In Webuzo, go to "Advance DNS Setting" and for the domain you wish to send email from add a txt record exactly as you did in step 6.3.
IP: --   

Guide - How to setup DKIM and SPF with Exim
peopleinside
Group: Member
Post Group: Super Member
Posts: 1298
Status:
@myleene thanks for this post.

Some question:
When you told to put the public key in point 6.3 to do that i have to download the public key file, open it and copy and paste in DNS the code between
-----BEGIN PUBLIC KEY-----
and
-----END PUBLIC KEY-----
or i should decode base 64 and than paste into DNS record?

And in DNS record should pasted into <> or without <>?

Also if I'M not using Webuzo for DNS record will work if i use CloudFlare? The point 6.3 i can do in Cloudflare where my DNS is used and the step 7 i should do in webuzo also if I'M not using DNS of Webuzo?

Thanks.


-----------------------
PeopleInside  :angel:
Passionate Webuzo User
IP: --   

Guide - How to setup DKIM and SPF with Exim
peopleinside
Group: Member
Post Group: Super Member
Posts: 1298
Status:
All solved, all works fine.
Yes the public key should be copied as is in the file between..

and should not edited or encoded, decoded. Pasted as is.
Step 7 is better not skip
And no issue with Cloudflare.

Solved.
Works THANKS


-----------------------
PeopleInside  :angel:
Passionate Webuzo User
IP: --   

Guide - How to setup DKIM and SPF with Exim
awan89
Group: Member
Post Group: Newbie
Posts: 11
Status:
Quote From : myleene April 26, 2015, 8:12 pm
Applies to:
- Webuzo 2.3.4
- Centos 6.5 64bit
- Exim 4.72
- A dedicated server having its own IP
(*) It should work for different setups with minor adjustments.


Detail: I couldn't find a guide detailing steps to do it and had to spend 2-3 hours on how to do it. I didn't even know what "DKIM" or "SPF" meant before my email started being rejected by GMail and I stopped receiving emails from my WordPress without me changing anything.

Please note that I'm a novice in linux and that there may surely be an easier method to do this. I'm sharing as I really like Webuzo and I believe it may help others.


Steps:

1) Start an ssh session and go to /etc/exim/
(*) It's not required, but it'll help in the next few steps.

2) Generate a private and public key to sign your messages with openssl:
#openssl genrsa -out dkim.private.key 1024
(*) It works well if you get "Returned error code 0" and you see a file named "dkim.private.key" in that directory.

3) Extract the public key from the private key
#openssl rsa -in dkim.private.key -out dkim.public.key -pubout -outform PEM
(*) A new file named "dkim.private.key" will be created in this directory.

4) Open exim.conf to modify it:
Replace:
remote_smtp:
    driver = smtp
With:
remote_smtp:
    driver = smtp
    dkim_domain = ${lc:${domain:$h_from:}}
    dkim_selector = x
    dkim_private_key = /etc/exim/dkim.private.key
    dkim_canon = relaxed
(*) It allows all domains linked to this server to use DKIM and use the private key you just created. if you opt to change "dkim_selector" it'll need to be adjusted in later steps.

5) Restart Exim
(*) I go to "services" in Webuzo, but there are other options.

6) Adjust your DNS settings

6.1) If you don't have a mx record, create one:
Priority: 1
Host: @
Points to: @

6.2) Create a TXT setting specifying your SPF settings:
Host: @
txt value: v=spf1 a mx ip4:999.999.9.99 ip6:9999:9999:99:3a32:: ~all
(*) Adjust to your IPs. It's the only thing required for SPF to work.

6.3) Create a TXT setting specifying your DKIM:
Host: x._domainkey
txt value: v=DKIM1; p=<your public key>
(*) If you changed "dkim_selector" under "Host", "x" will need to be adjusted accordingly.


How to test:
- https://www.dnswatch.info/dkim/create-dns-record
- https://www.mail-tester.com/spf-dkim-check

Then: send an email from this address to an external email and check if both SPF and DKIM are specified correctly in the header. You should see "spf=pass" and "dkim=pass" as well as other configurations depending on which email provider you send to. Hotmail and GMail are both good to confirm these settings.


---------------------------

Hai myleene,

what do you mean "Host: @ " on the step 6.1 & 6.2?
it's that just a symbol?? or it's a simbolic for a domain??

And for step 7 that you forget, can you more specify the steps? what is the format of the domain on input name in webuzo??

example: domain.com or info@domain.com?

I Has been attach my webuzo setting at the moment, it's that correct?? hope some one can review & help.

Thank you hope also someone else can help, i'm very frustating with DKIM & SPF settings on my webuzo account.  :cry:  :P

many thanks


IP: --   

Guide - How to setup DKIM and SPF with Exim
peopleinside
Group: Member
Post Group: Super Member
Posts: 1298
Status:
Hi awan89,
in the DNS you need to have an MX records for use email.
Do you use email?

Well so you have to decide if use mail.yourserver.ext for example.
So you need to create an MX record called mail.yourdomain.ext mail handeled by if you manage the email in the same server where point your domain you can put yourserver.ext TTL maybe 10 is good.

This on reply how to do point 6.1
For 6.2 suggest to use a wizard for create SPF record.
This one:
http://www.spfwizard.net/
or
google winzard spf.

For check after some minutes if is ok use this website:
http://www.kitterman.com/spf/validate.html

also this website https://www.mail-tester.com/spf-dkim-check also for test DKIM

/ is same of 6.3 so don't worry about point 7 skip it if you have already done
Quote
I forgot step 7:

7) In Webuzo, go to "Advance DNS Setting" and for the domain you
wish to send email from add a txt record exactly as you did in step 6.3.


I can imagine your frustration, is very hard in Webuzo set DKIM and SPF as they are not supported by the panel.

Once you finished all test your settings here:
https://www.mail-tester.com/

No need I look into your screen for tell if is correct or not, you have to test.
Remember, are your domain using DNS on your server?

If your nameserver points to the VPS where is installed webuzo is ok if not maybe you have to set up DNS where you have the domain name registered.

From a first check i can't find records in your DNS of SPF on ballavata.com



-----------------------
PeopleInside  :angel:
Passionate Webuzo User
IP: --   

Guide - How to setup DKIM and SPF with Exim
awan89
Group: Member
Post Group: Newbie
Posts: 11
Status:
Hi People Inside,

Thank you very much for your suggestion & tutorial. I will try is this one not work.

I tell my case : My email from my wordpress site that instaled by webuzo always going to the spam at my gmail. I looking on the net and found if SPF & DKIM can resolve this problem.

Answer your question :

1. Yes I use email, i has been set the mx record on my DNS setting in Digital Ocean. Also in the webuzo DNS setting panel i set MX record to. My question is which one place i have to set MX record? in DNS manage Digital ocean or DNS setting webuzo panel?? or Both (like i do now).


2. I set SPF record on VPS ( record txt section ) like this : "v=spf1 include:baliavata.com ~all".  is it need to be set in VPS & webuzo dns setting to?

3. I Set DKIM recond also both on VPS dns setting & webuzo panel setting. its that corect setting in two of them?

The point is, do i have to set in webuzo DNS setting, or just in VPS record setting section?? :??:  :P 

my site is baliavata.com not ballavata.com

I have learn about vps & installing them etc a weeks ago, start day by day with very very hard frustating mode. Blood presure is low, no stamina,  is hard. :cry:

Looking forwards to your response

Best regards
Awan

IP: --   

Guide - How to setup DKIM and SPF with Exim
peopleinside
Group: Member
Post Group: Super Member
Posts: 1298
Status:
Hi awan89,
yes your emails goes into SPAM for SPF and DKIM also please use this link to test:
https://www.mail-tester.com/

IT'S easy and safe, just send an email from your domain email address to the temp address generated in this page than press the button in the webpage and check issues.

From your domain record I can see you are using DigitalOcean so your DNS record will be not readed in Webuzo.

You have to work in DNS on the DigitalOcean.
I tried to to the test at this page:

https://www.mail-tester.com/spf-dkim-check

by putting your domain baliavata.com and seems to be good.
Let me check now here:
http://www.kitterman.com/spf/validate.html

Your SPF pass is OK so please do the test here:
https://www.mail-tester.com/

I cannot do this for you and let me know your point if is 5/6 or 10/10
you will see all errors and what to fix.

Emails go also into Gmail antispam if you have only redirection but not account email created in Webuzo, maybe.

Let me know :)



-----------------------
PeopleInside  :angel:
Passionate Webuzo User
IP: --   

Guide - How to setup DKIM and SPF with Exim
awan89
Group: Member
Post Group: Newbie
Posts: 11
Status:
Hi Master - PeopleInside

The result is on the attachment , total score 8.1/10 & got -1,9 from spam assasins. its that ok?

Anyway how about DNS settings on webuzo panel? should i delete it??

Thank you for your help
Awan
IP: --   

Guide - How to setup DKIM and SPF with Exim
awan89
Group: Member
Post Group: Newbie
Posts: 11
Status:
Sory attachment not allowed by the forum.


IP: --   

Guide - How to setup DKIM and SPF with Exim
awan89
Group: Member
Post Group: Newbie
Posts: 11
Status:
The result

-0.001            BODY_SINGLE_WORD            BODY_SINGLE_WORD                -0.1            DKIM_SIGNED            Message has a DKIM or DK signature, not necessarily valid
This negative score will become positive if the signature is validated. See immediately below.                0.1            DKIM_VALID            Message has at least one valid DKIM or DK signature
Great! Your signature is valid                0.1                DKIM_VALID_AU            Message has a valid DKIM or DK signature from author's domain
Great! Your signature is valid and it's coming from your domain name                -1.985            PYZOR_CHECK            Listed in Pyzor (http://pyzor.sf.net/)                0.001            SPF_HELO_PASS            SPF: HELO matches SPF record                0.001            SPF_PASS            SPF: sender matches SPF record
Great! Your SPF is valid                0.01                T_RP_MATCHES_RCVD            Envelope sender domain matches handover relay domain
IP: --   

Guide - How to setup DKIM and SPF with Exim
peopleinside
Group: Member
Post Group: Super Member
Posts: 1298
Status:
Sorry awan89 this not help me to understand.
Please consider to post a screenshot or better if you can open a ticket with screenshot and link in that test page at the bottom. You will find the link to share results.
You can write privately to me at https://supporto.peopleinside.it
or you can try to find me in chat.

The test page give you a genaral vote, what vote you get? on the top?


-----------------------
PeopleInside  :angel:
Passionate Webuzo User
IP: --   

Guide - How to setup DKIM and SPF with Exim
awan89
Group: Member
Post Group: Newbie
Posts: 11
Status:
Hi PeopleInside,
The score is 9/10 from the email tester
So, should I delete the  all DNS setting zone in webuzo?? because i has been set it on VPS DNS record setting? it's that right

Looking forward to hearing from you





IP: --   

Guide - How to setup DKIM and SPF with Exim
peopleinside
Group: Member
Post Group: Super Member
Posts: 1298
Status:
Hi awan89,
thank you for your reply.

9/10 is a great vote, your email is almost perfect.
Maybe you miss 1 point of what? Maybe can be issue with DKIM?
If you want to have 10/10 you shoud try the test again and maybe share the link of the test, maybe privately as in the top of the test will be visible your email address.

9/10 is good enough.
I have 10/10 but 9/10 is good.

You can keep DNS on Webuzo, will be not affect anything. No need to be deleted, just know is not read from the web, the DNS read is on Oceano



-----------------------
PeopleInside  :angel:
Passionate Webuzo User
IP: --   

Guide - How to setup DKIM and SPF with Exim
awan89
Group: Member
Post Group: Newbie
Posts: 11
Status:
Hi PepopleInside,

Ahh yes you are right, my DKIM setting is not detected. It say like this :

DomainKeys Identified Mail (DKIM) is a method for associating a domain
name to an email message, thereby allowing a person, role, or
organization to claim some responsibility for the message.

I set DKIM using this method above :

4) Open exim.conf to modify it:

Replace:

remote_smtp:

    driver = smtp

With:

remote_smtp:

    driver = smtp

    dkim_domain = ${lc:${domain:$h_from:}}

    dkim_selector = x

    dkim_private_key = /etc/exim/dkim.private.key

    dkim_canon = relaxed


Question :

1. dkim_domain = ${lc:${domain:$h_from:}}
  is the domain (red) inside that code must change to my domain?

2.  dkim_selector = x
do I have to change x to "mail" or something? same with my email?

Looking forward to get 10/10  :D
IP: --   

Guide - How to setup DKIM and SPF with Exim
peopleinside
Group: Member
Post Group: Super Member
Posts: 1298
Status:
Hi,
thank you for your reply.

1. No, you should not replace the code with your domain, just keep as it is.

2. DKIM selector now must be x, if you change this maybe DKIM stop to work.

Sorry but I don't know what is wrong with your DKIM, maybe for help you better I need you do the https://www.mail-tester.com/

Once you done IT please see the error under and the system will told to you what is the error of DIKIM.

You can solve alone or if you need more help I need to have the link of your test in the bottom right you will see a link for share the results.

Be aware, if you want share here in the forum your email address will be public in the test so maybe you want send privately to me via PM on the forum or on ticket. https://supporto.peopleinside.it

From what you told to me I AM not able to understand what is wrong on your DKIM.


-----------------------
PeopleInside  :angel:
Passionate Webuzo User
IP: --   

Guide - How to setup DKIM and SPF with Exim
awan89
Group: Member
Post Group: Newbie
Posts: 11
Status:
Hi PeopleInside,

The DKIM is Oke now, the problem before is cause "space" bettween the code.

Stiill have problem now like this :

Reverse DNS lookup or reverse DNS resolution (rDNS) is the determination of a domain name that is associated with a given IP address.
Some companies such as AOL will reject any message sent from a server without rDNS, so you must ensure that you have one.
You cannot associate more than one domain name with a single IP address.

Your IP address 188.166.211.8 is associated with the domain baliavata.com.
Nevertheless your message appears to be sent from baliavata.baliavata.com.

You may want to change the host name of your server to baliavata.com.

Here are the tested values for this check:

    IP: 188.166.211.8
    HELO: baliavata.baliavata.com
    rDNS: baliavata.com



Can I change my hostname same with rDNS?


BEFORE EDIT :

etc/sysconfig/network

NETWORKING=yes
HOSTNAME=domain.domain.com
GATEAWAY=188.126.228.1


etc/hosts

127.0.0.1  localhost localhost.localdomain localhost4 localhost4.localdomain4
::1        localhost localhost.localdomain localhost6 localhost6.localdomain6
188.163.251.8 domain.domain.com domain

etc/hostname

domain

---------------------------

can i change the host name with this??
---------------------------

AFTER EDIT
etc/sysconfig/network

NETWORKING=yes
HOSTNAME=domain.com
GATEAWAY=188.126.228.1


etc/hosts

127.0.0.1  localhost localhost.localdomain localhost4 localhost4.localdomain4
::1        localhost localhost.localdomain localhost6 localhost6.localdomain6
188.163.251.8 domain.com

etc/hostname

domain.com



Can I do like that? so hostname & rDNS will be the same??
Hope you can suggest me again PeopleInside. :D  :-(
IP: --   

Guide - How to setup DKIM and SPF with Exim
peopleinside
Group: Member
Post Group: Super Member
Posts: 1298
Status:
Hi, I think you have to correct the hostname.

BEFORE EDIT :



etc/sysconfig/network



NETWORKING=yes

HOSTNAME=domain.domain.com

GATEAWAY=188.126.228.1


I think your hostname should be domain.com not domain.domain.com
as you wrote.

I think you can change this.


-----------------------
PeopleInside  :angel:
Passionate Webuzo User
IP: --   

Guide - How to setup DKIM and SPF with Exim
awan89
Group: Member
Post Group: Newbie
Posts: 11
Status:
Hi PeopleInside,

Good news, Finaly hit the inbox at gmail.  :D 

Anyway the other setting in etc/hosts
& etc/hostname I set like this.

1. etc/hosts



127.0.0.1  localhost localhost.localdomain localhost4 localhost4.localdomain4

::1        localhost localhost.localdomain localhost6 localhost6.localdomain6

188.166.211.8 baliavata.baliavata.com baliavata



2. etc/hostname



baliavata.com


It's correct ?

Many Thanks
Awan
IP: --   

Guide - How to setup DKIM and SPF with Exim
peopleinside
Group: Member
Post Group: Super Member
Posts: 1298
Status:
I think  baliavata.baliavata.com baliavata
should be
baliavata.com only but not sure why you set this.

You have to be carefull to edit this kind of files.


-----------------------
PeopleInside  :angel:
Passionate Webuzo User
IP: --   

Guide - How to setup DKIM and SPF with Exim
awan89
Group: Member
Post Group: Newbie
Posts: 11
Status:
As you know, i'm new i this VPS setting & webuzo.
lot of the tutorial on the net like that.

exmple this one : http://bitflop.com/tutorials/how-to-set-your-hostname-and-domain-name-correctly.html

They told like, i try to follow

Glad to learn from you,..thank you PeopleInside

IP: --   

Guide - How to setup DKIM and SPF with Exim
seandex
Group: Member
Post Group: Working Newbie
Posts: 71
Status:
Quote From : peopleinside December 22, 2015, 5:31 pm
Hi awan89,
yes your emails goes into SPAM for SPF and DKIM also please use this link to test:
https://www.mail-tester.com/

IT'S easy and safe, just send an email from your domain email address to the temp address generated in this page than press the button in the webpage and check issues.

From your domain record I can see you are using DigitalOcean so your DNS record will be not readed in Webuzo.

You have to work in DNS on the DigitalOcean.
I tried to to the test at this page:

https://www.mail-tester.com/spf-dkim-check

by putting your domain baliavata.com and seems to be good.
Let me check now here:
http://www.kitterman.com/spf/validate.html

Your SPF pass is OK so please do the test here:
https://www.mail-tester.com/

I cannot do this for you and let me know your point if is 5/6 or 10/10
you will see all errors and what to fix.

Emails go also into Gmail antispam if you have only redirection but not account email created in Webuzo, maybe.

Let me know :)



Hello~

I used to have 10/10 but today I checked it and now it is 2/10

strange thing i see now is
1. Bounce Address is "sean@mydomain"  not "sean@mydomain.ext"
2. I have working SPF records and has passed on SPFtest site but I still get
You do not have a SPF record, please add the following one to your domain "mydomain"  <=== once again, it is "mydomain.ext" NOT "mydomain"

I think bounce back address setting is wrong somewhere wihtin Exim in centos webuzo? I dont know!
Damn this bug!! how can I fix this issue? :(



IP: --   

Guide - How to setup DKIM and SPF with Exim
peopleinside
Group: Member
Post Group: Super Member
Posts: 1298
Status:
Quote
Hello~

I used to have 10/10 but today I checked it and now it is 2/10

strange thing i see now is
1. Bounce Address is "sean@mydomain"  not "sean@mydomain.ext"
2. I have working SPF records and has passed on SPFtest site but I still get
You do not have a SPF record, please add the following one to your domain "mydomain"  <=== once again, it is "mydomain.ext" NOT "mydomain"

I think bounce back address setting is wrong somewhere wihtin Exim in centos webuzo? I dont know!
Damn this bug!! how can I fix this issue? :(


Hi,
at the moment I will be busy maybe for three hours... after this time you can try to start a chat from the link on my signature so... we can chat about this issue who is difficoult to resolve in the forum conversation.

Bounce address is not set by Exim I think, I need understand more about your issue also ask some data who may not want to be shared in a public conversation.

Surely something has been changed in your server since you done the maximum score.
Also mail tester is now allowing just three free test every 24 hours so please remember this.


-----------------------
PeopleInside  :angel:
Passionate Webuzo User
IP: --   

Guide - How to setup DKIM and SPF with Exim
peopleinside
Group: Member
Post Group: Super Member
Posts: 1298
Status:
Usually if you are using Webuzo DNS when you add a domain (a new domain into Webuzo) there are the relative check boxed for set DKIM and SPF... this generate all necessary records.

I can suggest to remove the domain where you have the issue than put back again by checking the relative boxes but I have also to understand if you are using Webuzo DNS or external DNS... so again maybe is better chatting but after three hours because right now I AM busy :)


-----------------------
PeopleInside  :angel:
Passionate Webuzo User
IP: --   

Guide - How to setup DKIM and SPF with Exim
seandex
Group: Member
Post Group: Working Newbie
Posts: 71
Status:
Quote From : peopleinside April 18, 2017, 9:57 am
Usually if you are using Webuzo DNS when you add a domain (a new domain into Webuzo) there are the relative check boxed for set DKIM and SPF... this generate all necessary records.

I can suggest to remove the domain where you have the issue than put back again by checking the relative boxes but I have also to understand if you are using Webuzo DNS or external DNS... so again maybe is better chatting but after three hours because right now I AM busy :)


Hey! always thank you for your nice support.
I got it fixed and now 7/10 but it says

"You may want to publish a DNS record (A type) for the hostname xxxxxxxx or use a different hostname in your mail software."  -3 points.

What can I do for this error?
IP: --   

Guide - How to setup DKIM and SPF with Exim
peopleinside
Group: Member
Post Group: Super Member
Posts: 1298
Status:
I discovered today that removing a domain will erase all email account associated. This was not working on this way in the past but since Webuzo has introduced the edit pach button near domain name they seems have insert that so I AM asking... if an user had already added a domain and have set many different email address how can them add SPF and DKIM without removing the domain and loose all emails?

This questions will be leaved to the Webuzo Team so hope my suggestion to remove the domain has not caused issue to you... I was unaware about this new edit from the Webuzo Team.

Quote
Hey! always thank you for your nice support.
I got it fixed and now 7/10 but it says

"You may want to publish a DNS record (A type) for the hostname xxxxxxxx or use a different hostname in your mail software."  -3 points.

What can I do for this error?


Seems your DNS may be not correct.
if you are using mail.domain.ext as email hostname in the email software client you need have an MX record or maybe you are using wrong settings in your email client... difficoult to say from here :) as I AM not in your PC and in your DNS and domain.

I AM happy to read that you are solving, step by step :)


-----------------------
PeopleInside  :angel:
Passionate Webuzo User
IP: --   

Guide - How to setup DKIM and SPF with Exim
seandex
Group: Member
Post Group: Working Newbie
Posts: 71
Status:
Quote From : peopleinside April 19, 2017, 1:17 pm
I discovered today that removing a domain will erase all email account associated. This was not working on this way in the past but since Webuzo has introduced the edit pach button near domain name they seems have insert that so I AM asking... if an user had already added a domain and have set many different email address how can them add SPF and DKIM without removing the domain and loose all emails?

This questions will be leaved to the Webuzo Team so hope my suggestion to remove the domain has not caused issue to you... I was unaware about this new edit from the Webuzo Team.

Quote
Hey! always thank you for your nice support.
I got it fixed and now 7/10 but it says

"You may want to publish a DNS record (A type) for the hostname xxxxxxxx or use a different hostname in your mail software."  -3 points.

What can I do for this error?


Seems your DNS may be not correct.
if you are using mail.domain.ext as email hostname in the email software client you need have an MX record or maybe you are using wrong settings in your email client... difficoult to say from here :) as I AM not in your PC and in your DNS and domain.

I AM happy to read that you are solving, step by step :)


Oh I was using RoundCube, got it 2/10 (so I'm assuming the wrong domain came from the setting of RoundCube which I didn't touch at all, now I avoid use RoundCube)

Squirrel / WebMail Lite - got 7/10 but that DNS thing still can't be resolved. I need help..
so this isn't email software from my PC (i use webmail softaculous script from webuzo)
IP: --   

Guide - How to setup DKIM and SPF with Exim
peopleinside
Group: Member
Post Group: Super Member
Posts: 1298
Status:
seandex, help you on this is not so simple that I made a post here and you resolve.

The first test you need is download Thunderbird, configure your email than try again the test.
What settings are you using for configure thunderbird? What hostname are you using?

After I need see your DNS for understand how you have configured the records.
You can do a MX test of your record here:
https://mxtoolbox.com/

7 on 10 seems to be a good score. To have 10/10 you may need other work but is hard to help you in a forum :)


-----------------------
PeopleInside  :angel:
Passionate Webuzo User
IP: --   

Guide - How to setup DKIM and SPF with Exim
seandex
Group: Member
Post Group: Working Newbie
Posts: 71
Status:
Quote From : peopleinside April 19, 2017, 1:30 pm
seandex, help you on this is not so simple that I made a post here and you resolve.

The first test you need is download Thunderbird, configure your email than try again the test.
What settings are you using for configure thunderbird? What hostname are you using?

After I need see your DNS for understand how you have configured the records.
You can do a MX test of your record here:
https://mxtoolbox.com/

7 on 10 seems to be a good score. To have 10/10 you may need other work but is hard to help you in a forum :)


Thank you for the reply,
I downloaded and configured Thunderbird. but it is same result. I'm using IMAP. no SSL, port 143 and 25

"You may want to publish a DNS record (A type) for the hostname mydomain or use a different hostname in your mail software."

strange thing is that's not like mydomain.ext just mydomain.

Thank you for the mxtoolbox, i did dns:mydomain.ext has all green light, DNS was found, no errors. clean.

P.S.
I had 10/10 with this original post, I was very happy about it but now just 7/10 if that DNS thing won't affect my sending emails then I will just suck it up :(
IP: --   

Guide - How to setup DKIM and SPF with Exim
seandex
Group: Member
Post Group: Working Newbie
Posts: 71
Status:
Hey! I got it working! 10/10

:D

1. I changed /etc/hostname to mydomain.ext

2. I see there are 2 domains in /etc/hosts (mydomain.ext & mydomain), I just removed one (without .ext) and now i'm 10/10 :D

Thank you peopleinside all of your tips helped resolving this disaster!
IP: --   

Guide - How to setup DKIM and SPF with Exim
peopleinside
Group: Member
Post Group: Super Member
Posts: 1298
Status:
Quote From : seandex April 19, 2017, 2:11 pm
Hey! I got it working! 10/10

:D

1. I changed /etc/hostname to mydomain.ext

2. I see there are 2 domains in /etc/hosts (mydomain.ext & mydomain), I just removed one (without .ext) and now i'm 10/10 :D

Thank you peopleinside all of your tips helped resolving this disaster!


Great job, you are welcome!


-----------------------
PeopleInside  :angel:
Passionate Webuzo User
IP: --   

Guide - How to setup DKIM and SPF with Exim
nitins013
Group: Member
Post Group: Newbie
Posts: 3
Status:
How can i find public key..
Please give me instruction.

When i type /etc/exim/dkim.public.key
Give an error access denied
IP: --   

Guide - How to setup DKIM and SPF with Exim
peopleinside
Group: Member
Post Group: Super Member
Posts: 1298
Status:
Quote From : nitins013 November 3, 2017, 10:10 am
How can i find public key..
Please give me instruction.

When i type /etc/exim/dkim.public.key
Give an error access denied


Hi, now DKIM and SPF are added by Webuzo when you add a domain you have the checkbox for activate it. No need anymore edit code.


-----------------------
PeopleInside  :angel:
Passionate Webuzo User
IP: --   

Guide - How to setup DKIM and SPF with Exim
nitins013
Group: Member
Post Group: Newbie
Posts: 3
Status:
Dkim not added in my dns zone record..
Only dmarc and spf record added
IP: --   

Guide - How to setup DKIM and SPF with Exim
nikhil89
Group: Softaculous Team
Post Group: Elite Member
Posts: 467
Status:
Quote From : nitins013 November 3, 2017, 10:31 am
Dkim not added in my dns zone record..
Only dmarc and spf record added

Hi,

You can edit the domain from the Webuzo Panel and check the Mail Validation box to add the DKIM, DMARC & SPF records for your domain. You can refer to our guide here on how to edit a domain:
http://webuzo.com/wiki/Edit_Domain

Please let us know if you need any further assistance. We will be happy to help you.
IP: --   

« Previous    Next »

Threaded Mode | Print  

1


Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is August 7, 2020, 8:49 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:0.724