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.

Darragh Ó Héiligh lists at digitaldarragh.com
Thu Sep 20 14:55:07 IST 2007


Hello again,

Ok, I've set up postfix and fetchmail.

I've hopefully set it all up with SSL support.
I'm using the how-to at
http://souptonuts.sourceforge.net/postfix_tutorial.html as a guide.

When I use the command fetchmail -c I get the following error:
http://souptonuts.sourceforge.net/postfix_tutorial.html

But, when I try
openssl s_client -connect pop.gmail.com:995 -CApath /home/darragh/certs/.certs/
 the result is the following:

SSL-Session:
    Protocol  : TLSv1
    Cipher    : DES-CBC3-SHA
    Session-ID: 034266DEB154D5A91FEA7F23E4F4AC8E9560AD6D860A18239C06432C1368A057
    Session-ID-ctx:
    Master-Key:
41BA596C633AF07529DA58AE28CE71D834A09F8B1B8FF5A3EDF8D78CCA7F87BA567F2AFF8C01102DF4E9AED95AB05FDC
    Key-Arg   : None
    Start Time: 1190296177
    Timeout   : 300 (sec)
    Verify return code: 0 (ok)
---
+OK Gpop ready for requests from 78.16.25.217 c1pf1586023ugf



Any ideas what I've done wrong?




Thanks



Darragh

On 20/09/2007, Timothy Murphy <gayleard at eircom.net> wrote:
> 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