Solved

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

Posted on 2009-04-12
5
1,706 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
  • 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
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 …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
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.

759 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now