Solved

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

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Using SSH Through A Bastion Host Transparently (Is the topic) 1 54
CentOS 7 Installation 7 73
Choosing CentOS 16 82
AWS Central Authentication 1 65
Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
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 …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

809 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