Solved

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

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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
fedora linux on laptop - setup sendmail - or some kind of email 5 54
awk file 6 78
EXCHANGE. LINUX, SYMANTEC MESSAGING GATEWAY 2 37
Linux MD5 Hash 7 36
Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
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.

840 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