LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 10-07-2012, 12:15 AM   #1
Mig21
Member
 
Registered: Jan 2005
Posts: 193

Rep: Reputation: 33
Slackware Sendmail + Dovecot


I've been using my Slackware server as an email server for years, but am getting to the point where I'm hitting limits with the MBOX format.

So seeing how UW is still the default IMAP server in Slackware, I am thinking of installing a different one. Dovecot seems to be a popular choice.

Sadly I cannot find any tutorial on setting up something like this. I just need some pointers really, to make sure I don't shoot myself in the foot.

Is this doable without major changes to the existing Sendmail config?

How do I migrate existing mail to the new format?

Is there a tutorial that I can follow to do this setup? I'm wary of simply following the Dovecot documentation, since that doesn't say anything about how to configure Sendmail nor what to do with existing mail.

Thanks in advance.
 
Old 10-07-2012, 02:10 AM   #2
Totoro-kun
Member
 
Registered: Nov 2010
Location: Kaunas, Lithuania
Distribution: Slackware
Posts: 167

Rep: Reputation: 47
Good day,
I have recently configured a mail server with Slack64 sendmail and dovecot and so far I'm happy with the result. A quick summary would be:
1. Install dovecot, there is a slackbuild in slackbuilds.org
2. I have created two users, dovenull and dovecot in a way thats written in slackbuilds.org
3. Configured dovecot to fit my setup, its farly easy if you consult documentation in /usr/doc/dovecot/*
4. Configured dovecot to be Local Delivery Agent (LDA) instead of procmail (not necessary step, but enables the use of sieve filters). There is a document on how to configure sendmail for this.

I cannot advise on mbox to maildir migration, as I have never used mbox, maybe someone else will step in.

There is also a dovecot wiki which was occasionally helpful.
 
Old 10-07-2012, 04:29 PM   #3
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,210

Rep: Reputation: 292Reputation: 292Reputation: 292
When I went from mbox to maildir on my server I found the easiest way (maybe) was just to backup my old mail folders and start with fresh dirs for maildir.

I also have to change the procmail rules for maildir (folders need a / at the end and a . at the start for imap).

To still have access to the old mail via mutt, simple use a mutt config file that states mbox and point mutt and the old folder with -f

Last edited by dive; 10-07-2012 at 04:30 PM.
 
Old 10-08-2012, 03:04 PM   #4
tallship
Member
 
Registered: Jul 2003
Location: On the Beaches of Super Sunny Southern San Clemente, California USA
Distribution: Slackware - duh!
Posts: 520
Blog Entries: 3

Rep: Reputation: 112Reputation: 112
Exclamation A few walk-throughs w/varying packages...

I'll post a few links here for you to peruse. Some use sendmail, some use postfix, but the gist is some walkthroughs for IMAP on Slackware using Dovecot.

I hope it helps

http://www.piir.ch/slackware-linux/dovecot-mail.html

http://www.linuxquestions.org/questi...3-37-a-930734/

http://www.linuxquestions.org/questi...server-854018/

http://www.linuxquestions.org/questi...roblem-732877/

http://diantokam.blogspot.com/2011/1...ecot-2015.html

http://nemrod.se/guides/postfix-dove...-server-guide/

And this last one is neat because is discusses setting it all up while bridging the differences between doing it under Solaris or Slackware:

http://karellen.blogspot.com/2011/12...h-dovecot.html

I would recommend that you use http://slackbuilds.org and get your slackbuilds and compile create your own packages, instead of compiling from source as some of the walk-throughs show.

Other than that, perhaps one of the most important aspects of the LQ links is where the problems arose and how they were corrected, so you can avoid those pitfalls.

The differences between Slackware 13.0, 13.1, 13.37, and 14.0 should be minor, but pay closer attention when anything references something that is <= Slackware 12.

It should be a wealth of info that you can develop your own tutorial or howto from, so that folks in the future can benefit from your experience.

There's also just one more thing I often recommend to people that is absolutely wonderful, and that is:

http://slackbuilds.org/repository/14...k/offlineimap/

This totally rocks for a couple of reasons. First, because you can operate totally offline as if you're online so you don't have to tell your clients to operate in offline mode or use up additional storage for each of your clients - just have OfflineIMAP do that for you.

Second, have all of your filtering and such there, so that you don't have to do it in each of your clients (and further, forget which of your clients had that filter applied).

You can install OfflineIMAP on your server, and have another slaved installation on each of your local workstations to make sure that all of your mail is available as if it were online even when you're not, and all of your filtering and sorting can be managed from one central location.

IMNSHO that's a totally kewl win/win situ

Enjoy

Kindest regards,

.

Last edited by tallship; 10-08-2012 at 03:09 PM. Reason: maek pritty
 
1 members found this post helpful.
Old 10-13-2012, 12:34 PM   #5
Mig21
Member
 
Registered: Jan 2005
Posts: 193

Original Poster
Rep: Reputation: 33
Thanks for the advice, everyone! I'm scared now, but I'll give it a shot when I have a couple of days to spare

Then if it works out I'll post a guide for others who try to do it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
sendmail not working with dovecot Rafael25 Linux - Software 3 08-01-2012 03:58 PM
Slackware 13.1, Sendmail-procmail MAILDIR for Dovecot Server Slackevo Slackware 6 01-05-2011 12:49 AM
sendmail and dovecot please Linux - Server 12 06-02-2009 11:22 PM
Dovecot/Sendmail problem cizzi Linux - Software 4 06-04-2007 10:48 PM
Relationship: sendmail <=> dovecot hfreeman Linux - Software 4 03-04-2005 10:41 AM


All times are GMT -5. The time now is 07:56 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration