LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] setting up an IMAP server.

[ILUG] setting up an IMAP server.

Timothy Murphy gayleard at eircom.net
Thu Sep 20 12:47:03 IST 2007


On Thu 20 Sep 2007, Darragh Ó Héiligh wrote:

> I am trying to set up a machine to basically take mail from a few mail
> boxes so I can use something like squirrelmail to read them while away
> or Imap while I'm at home.
>
> I've got ISPConfig up and running and I must say it looks like a great
> tool but I don't think it's really cut out for what I want to do.
>
> The way I think it should work is the following:
> Fetchmail should check these three or four accounts for mail, spam
> assasson should get rid of any spam, Clamav should check for viruses
> and I should then be able to set up something like (currior)? to
> handle the IMAP side of things.  While away from home, I should be
> able to set up squirrelmail so I can access it via webmail.
>
> I'm hoping sendmail can be configured to send from a number of
> different accounts.  Can any one verify if this is possible?
>
>
> So, do you think I should try to configure these applications manually
> or use something like ISPConfig to do it.
>
> If manually, where do I start?
>
> I just need a few pointers in the right direction.  I've tried messing
> around with fetchmail before but I got slightly stuck but I'm hoping
> this time I'll know a bit more about it.

I'm doing more or less what you want,
running dovecot as an IMAP (actually IMAPS = IMAP + SSL) server.

I run fetchmail as a cron job every few minutes,
getting email from various places.
Here is part of my .fetchmailrc :

poll mail.tcd.ie
        proto IMAP
        user "***" password "***" ssl

poll pop.gmail.com
        proto POP3
        port 995
        user "***" password "***" ssl

This is my /etc/cron.d/fetch.gmail

	5,35 * * * * tim /usr/bin/fetchmail -s pop.gmail.com

My .procmailrc reads in part

MAILDIR=/var/spool/mail
DEFAULT=$HOME/Maildir/

:0fw:spamassassin.lock
* < 256000
| /usr/bin/spamc

:0:
* ^X-Spam-Status: Yes
/tmp/CaughtSpam

This seems to work OK.
Any comments on my setup gratefully received.





More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell