LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 04-28-2017, 07:59 AM   #1
robertkwild
Member
 
Registered: Feb 2015
Posts: 382

Rep: Reputation: Disabled
configuring dovecot


hi all,

im abit confused into which walkthrough to follow, the dovecot one or the postfix one

https://support.rackspace.com/how-to...ion-on-centos/

https://wiki.centos.org/HowTos/postfix_sasl

the dovecot walkthrough it says uncomment/add the line twice in two different files -

mail_location = maildir:~/Maildir

the "postfix smtp auth" under the dovecot walkthough, do i follow postfix walkthrough or the dovecot walkthrough?

also instead of adding to certain dovecot files ie 10-mail 10-auth 10-master can i just add all the lines to the dovecot.conf file?

many thanks,

rob

Last edited by robertkwild; 04-28-2017 at 08:14 AM.
 
Old 04-28-2017, 10:32 AM   #2
serafean
Member
 
Registered: Mar 2006
Location: Czech Republic
Distribution: Gentoo, Chakra
Posts: 997
Blog Entries: 15

Rep: Reputation: 136Reputation: 136
Hi,

yes, you can have one dovecot master file. However, my experience has been that it quickly grows to be a few hundred lines long, and splitting among different config files according to "area" is more easily maintainable.
If you set the same directive in the main config file, and in a subconfig file, AFAIK one will override the other (check dovecot documentation).
You follow the walkthrough (or parts of many walkthroughs) that meets what you want to set up

As for the tutorials themselves : I personally prefer setting up postfix-> dovecot communication via LMTP socket. This means that dovecot puts emails into the mailbox, and Postfix doesn't touch the storage. The main advantage I see is one single place where to set the destination path.
As for auth, I like to use dovecot too, using SASL.
So the email dalivery process looks like this :
Code:
net --SMTP--> postfix --SASL-->  dovecot (user valid?)
                      <--SASL--          (yes/no) 
                      --LMTP-->          (mail delivery)
Sending is basically the same, leave out the LMTP part.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help on configuring postfix+dovecot+gmail kustomjs Linux - Server 5 07-02-2008 03:38 PM
configuring second level domains with postfix and dovecot? MystikMitch Linux - Server 4 04-09-2007 07:27 AM
Configuring dovecot on Redhat9 pikky2006 Linux - Software 3 07-10-2006 08:08 AM
Configuring dovecot problem jitheshmurali Linux - General 1 05-09-2006 07:12 AM
Configuring Maildir with Postfix and Dovecot umbraeOtheisles Linux - Software 0 04-16-2004 09:33 AM

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

All times are GMT -5. The time now is 05:21 AM.

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