Solved

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

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

685 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