LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 04-25-2020, 12:41 AM   #1
bscho
Member
 
Registered: Nov 2012
Location: London
Distribution: Mint 20, Kali, Peppermint, Ubuntu, MakuluFlash, Fedora 32, Windows 12 Lite, MakuluLinux
Posts: 821

Rep: Reputation: 28
Cannot get dovecot to work?


Using Fedora 31 Cinnamon I am hosting a site with a shopping basket and this appears to be my last problem.

I am making a video of the fastest gaming and hosting PC for my channel on Youtube. I have the hosting working fine but have not been able to see any emails on the system. When I send an email to admin@windows12shop.com
it appears to have gone OK. I cannot find any folder with an email in. Then days later it says it cannot be delivered.

I am now going to delete Dovecot and start again.

Would like a step by step installation of Dovecot as Google has not helped.

Anyone done this before and has it working on LQ?
 
Old 04-25-2020, 10:01 AM   #2
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,750

Rep: Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222
Step by step: https://www.dovecot.org/

I always recommend going to the source.

I don't find an MX record for windows12shop.com. Sending email programs don't know where to deliver to.

PS: I, for one, won't use a shopping cart on an insecure site.

Last edited by scasey; 04-25-2020 at 10:04 AM.
 
Old 04-25-2020, 10:20 AM   #3
bscho
Member
 
Registered: Nov 2012
Location: London
Distribution: Mint 20, Kali, Peppermint, Ubuntu, MakuluFlash, Fedora 32, Windows 12 Lite, MakuluLinux
Posts: 821

Original Poster
Rep: Reputation: 28
Quote:
Originally Posted by scasey View Post
Step by step: https://www.dovecot.org/

I always recommend going to the source.
PS: I, for one, won't use a shopping cart on an insecure site.
It is a secure site why do you say that.

I don't find an MX record for windows12shop.com. Sending email programs don't know where to deliver to.

I did make one I will check again with the dns host.

Thanks.
 
Old 04-25-2020, 11:17 AM   #4
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,750

Rep: Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222
Sorry, no. windows12shop.com Is not secure (http...not https)
But off topic...sorry. I suspect the root cause of your problem is no MX record.
 
Old 04-25-2020, 11:50 AM   #5
bscho
Member
 
Registered: Nov 2012
Location: London
Distribution: Mint 20, Kali, Peppermint, Ubuntu, MakuluFlash, Fedora 32, Windows 12 Lite, MakuluLinux
Posts: 821

Original Poster
Rep: Reputation: 28
Quote:
Originally Posted by scasey View Post
Sorry, no. windows12shop.com Is not secure (http...not https)
But off topic...sorry. I suspect the root cause of your problem is no MX record.
It has a certificate it is https://windows12shop.com

Are you saying you cannot find it with https:// I can?

And Square can as they would not have allowed me to take payments.
 
Old 04-25-2020, 11:55 AM   #6
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,750

Rep: Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222
Quote:
Originally Posted by bscho View Post
It has a certificate it is https://windows12shop.com

Are you saying you cannot find it with https:// I can?

And Square can as they would not have allowed me to take payments.
Ahh. If one just puts the domain name in the browser, it resolves to http. You need to redirect http requests to https. Don’t depend on the visitor to provide it.
 
Old 04-25-2020, 11:57 AM   #7
bscho
Member
 
Registered: Nov 2012
Location: London
Distribution: Mint 20, Kali, Peppermint, Ubuntu, MakuluFlash, Fedora 32, Windows 12 Lite, MakuluLinux
Posts: 821

Original Poster
Rep: Reputation: 28
Quote:
Originally Posted by scasey View Post
Ahh. If one just puts the domain name in the browser, it resolves to http. You need to redirect http requests to https. Don’t depend on the visitor to provide it.
If you put https:// it will not find it if it is not a secure site. Have you tried https://windows12shop.com ?
 
Old 04-25-2020, 12:00 PM   #8
bscho
Member
 
Registered: Nov 2012
Location: London
Distribution: Mint 20, Kali, Peppermint, Ubuntu, MakuluFlash, Fedora 32, Windows 12 Lite, MakuluLinux
Posts: 821

Original Poster
Rep: Reputation: 28
How do you check for the MX record?
 
Old 04-25-2020, 12:13 PM   #9
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,750

Rep: Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222
Quote:
Originally Posted by bscho View Post
How do you check for the MX record?
Code:
dig domainname mx
Or
dig domainname any
 
Old 04-25-2020, 12:16 PM   #10
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,750

Rep: Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222
Quote:
Originally Posted by bscho View Post
If you put https:// it will not find it if it is not a secure site. Have you tried https://windows12shop.com ?
Please reread #6. The issue is not that there’s no https, but that you’re requiring the visitor to supply it.
 
Old 04-25-2020, 12:17 PM   #11
bscho
Member
 
Registered: Nov 2012
Location: London
Distribution: Mint 20, Kali, Peppermint, Ubuntu, MakuluFlash, Fedora 32, Windows 12 Lite, MakuluLinux
Posts: 821

Original Poster
Rep: Reputation: 28
Quote:
Originally Posted by scasey View Post
Code:
dig domainname mx
Or
dig domainname any
I have done that and it gives
ash-5.0$ dig windows12shop.com mx

; <<>> DiG 9.11.14-RedHat-9.11.14-2.fc31 <<>> windows12shop.com mx
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1338
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 8192
;; QUESTION SECTION:
;windows12shop.com. IN MX

;; AUTHORITY SECTION:
windows12shop.com. 3600 IN SOA ns1.livedns.co.uk. admin.windows12shop.com. 1584438190 10800 3600 604800 3600

;; Query time: 83 msec
;; SERVER: fdfc:7d7b:9194:0:8272:15ff:fec7:c58#53(fdfc:7d7b:9194:0:8272:15ff:fec7:c58)
;; WHEN: Sat Apr 25 18:14:53 BST 2020
;; MSG SIZE rcvd: 105

Does this mean the MX is OK?
 
Old 04-25-2020, 12:26 PM   #12
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,750

Rep: Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222
Re #11.
No. The query return no answer. There is no ANSWER SECTION:. There is no MX record.
Code:
dig windows12shop.com any

; <<>> DiG 9.11.4-P2-RedHat-9.11.4-9.P2.el7 <<>> windows12shop.com any
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 62220
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;windows12shop.com.             IN      ANY

;; ANSWER SECTION:
windows12shop.com.      3600    IN      NS      ns3.livedns.co.uk.
windows12shop.com.      3600    IN      NS      ns1.livedns.co.uk.
windows12shop.com.      3600    IN      SOA     ns1.livedns.co.uk. admin.windows12shop.com. 1584438190 10800 3600 604800 3600
windows12shop.com.      3600    IN      A       151.227.205.133
windows12shop.com.      3600    IN      NS      ns2.livedns.co.uk.
See? No MX record.
 
Old 04-25-2020, 12:51 PM   #13
bscho
Member
 
Registered: Nov 2012
Location: London
Distribution: Mint 20, Kali, Peppermint, Ubuntu, MakuluFlash, Fedora 32, Windows 12 Lite, MakuluLinux
Posts: 821

Original Poster
Rep: Reputation: 28
Quote:
Originally Posted by scasey View Post
Re #11.
No. The query return no answer. There is no ANSWER SECTION:. There is no MX record.
Code:
dig windows12shop.com any

; <<>> DiG 9.11.4-P2-RedHat-9.11.4-9.P2.el7 <<>> windows12shop.com any
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 62220
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;windows12shop.com.             IN      ANY

;; ANSWER SECTION:
windows12shop.com.      3600    IN      NS      ns3.livedns.co.uk.
windows12shop.com.      3600    IN      NS      ns1.livedns.co.uk.
windows12shop.com.      3600    IN      SOA     ns1.livedns.co.uk. admin.windows12shop.com. 1584438190 10800 3600 604800 3600
windows12shop.com.      3600    IN      A       151.227.205.133
windows12shop.com.      3600    IN      NS      ns2.livedns.co.uk.
See? No MX record.
Oh OK will wait for help from the dns providers. Thanks.
 
Old 04-26-2020, 08:16 AM   #14
bscho
Member
 
Registered: Nov 2012
Location: London
Distribution: Mint 20, Kali, Peppermint, Ubuntu, MakuluFlash, Fedora 32, Windows 12 Lite, MakuluLinux
Posts: 821

Original Poster
Rep: Reputation: 28
My DNS and MX provider is not helping very much. I entered this


MX Records (2) 
Add MX Record
Host Name Points To Priority
www www.windows12shop.com 65535 Edit Remove
windows12shop.com 65535 Edit Remove

Which does not appear to work the DNS which does work is


A Records (2) 
Add A Record
Host Name Points To
www 151.227.205.133 Edit Remove
151.227.205.133 Edit Remove

I feel sure the MX record should point to 151.227.205.133 but it will not let me enter an ip only a domian name

Have you any ideas as my ip provider clearly has not done this before and wants me to make an email on their site?
 
Old 04-26-2020, 11:21 AM   #15
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,750

Rep: Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222
Yes. MX records point to domain names. The domain name’s A record points to the IP address.
Your domain name doesn’t have an A record for www. (nor does it need one), so don’t include that in the MX

Code:
windows12shop.com.      3600    IN      MX   windows12shop.com
Should work
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Dovecot authorization fails when trying to connect via Mutt but all suggested Dovecot auth tests work spenced Linux - Server 1 04-18-2020 11:04 PM
dovecot-auth: pam_succeed_if(dovecot:auth): error retrieving information about user karsel Linux - Newbie 0 12-11-2012 07:44 AM
Dovecot 1.x to Dovecot 2.x mbox to Maildir best transfer program silent_wumpus Linux - Server 0 09-05-2012 02:59 PM
/usr/local/libexec/dovecot/dovecot-lda - IS MISSING ?!? snowweb Linux - Server 1 08-14-2012 07:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 11:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration