Solved

How to configure dovecot as IMAP/POP server in RHEL4 ?

Posted on 2009-04-12
5
1,712 Views
Last Modified: 2013-11-10
I am willing to fetch all the mails from my gmail server using the fetchmail
and then create a local IMAP/POP server and acesss my mail via the thunderbird client,

after configuring the fetchmail it looks like it is creating a file 'mbox' in user's
$HOME directory, now how can I create the dovecot IMAP/POP server in my local host which
could let my access my mails on other client via thunderbird email clients? Thanks!
0
Comment
Question by:beer9
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 9

Expert Comment

by:sda100
ID: 24128926
AFAIK, fetchmail is not a local delivery agent, and cannot deliver mail on it's own.  I think you'll find it's passing delivery off to postfix or sendmail.  This is where you should configure whether mail should be delivered in mbox or maildir format.

Steve :)
0
 

Author Comment

by:beer9
ID: 24129153
Could you please let me know the steps to configure sendmail and then fetch mails from remote? :)
0
 
LVL 9

Accepted Solution

by:
sda100 earned 250 total points
ID: 24129499
I don't use Sendmail, but from looking around, it seems Sendmail cannot deliver to local mail boxes... you need to instruct Sendmail to use Procmail for that.  So it's looking like this at the moment:

fetchmail -> sendmail -> procmail -> (maildir mailbox)
I can't read the sendmail/procmail documentation for you, but from the stuff I *have* read, then somewhere in your sendmail.mc file, you need a line like this:

FEATURE(local_procmail)dnl
And you should add the following line to /etc/procmailrc:

DEFAULT=$HME/Maildir/
For my MTA I use Postfix, which *is* able to deliver mail locally so you don't need to use procmail (although there are good reasons for doing so if you want to filter incoming mail etc.).


0
 

Author Closing Comment

by:beer9
ID: 31569415
Thanks :-)
0
 
LVL 9

Expert Comment

by:sda100
ID: 24148711
Correction to my above post...

DEFAULT=$HOME/Maildir/
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question