Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General > Member Success Stories
User Name
Password Member Success Stories Just spent four hours configuring your favorite program? Just figured out a Linux problem that has been stumping you for months?
Post your Linux Success Stories here.


  Search this Thread
Old 07-07-2003, 02:42 AM   #1
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Webmail with IMAP Apache, PHP, uh.. FTP ;)


Ok, I have reached another woohoo stage in my server quests to learn how to make things work.

I've setup Apache, PHP, MySQL to work with a Postnuke site, and a PHPBB Forum. Up until now that was about it, oh and FTP, but that's a piece of cake

Now onto my new accomplishment(s)!

Courier-imap, wow, what a pain that was. Setting it up is all right there in the docs, but what they don't tell you about [very well] is authentication, and setting that up. This was where my issue was. I am not as well versed in PAM, Shadow, databases, and all the rest of the security things it was talking about as I should be, and was lost before the first word finished rolling off my tongue.


And came back, figured out exactly what I needed (some pam issues, along with user rights) restart the IMAP server, restarted the mail server, touched up my php.ini, setup SquirrelMail, and now am a proud owner of:
A website that:
Has a Postnuke front end;
Has a PHPBB2 Forum;
Allows specific users (not setup for virtual, that wasn't what I wanted) to use Squirrelmail with IMAP;
ProFTPD for filesharing/backup;
And of course:
An Image Gallery powered by Gallery from

Everything is working great, I'm very happy with the setup, BUT am MUCH more happy with the knowledge I gained from setting it all up from hand.

Thanks for all those who helped me here, and those who don't even know it (from the threads I searched on).

To wrap this up let me say:
Just about anything anyone wants to do is documented on this website. What isn't, can usually be found in a README file included with the package. Should both those fall through, the great people here will assist you.

Old 07-07-2003, 02:12 PM   #2
Registered: May 2003
Location: Lisbon Falls, Maine
Distribution: RH 8.0, 9.0, FC2 - 4, Slack 9.0 - 10.2, Knoppix 3.4 - 4.0, LFS,
Posts: 789

Rep: Reputation: 30
Very nice.... Now THAT's what I call multi-tasking.

Old 07-26-2003, 10:00 AM   #3
LQ Newbie
Registered: Jul 2003
Posts: 2

Rep: Reputation: 0
Very cool! This post haven given me the kick in the
butt to get started on mine again. I had it going
at one time and got busy with other stuff so I'm gonna
give it another go.

Congrats on your success!
Old 07-26-2003, 11:45 PM   #4
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Original Poster
Rep: Reputation: 68
Thanks! Welcome to LQ

I'll be glad to provide any help as it is all relatively still fresh in my dome. If you don't find an answer to any problems you get, post em up in the relevant section, and I'll keep an eye out

Old 07-27-2003, 12:50 AM   #5
Senior Member
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,876

Rep: Reputation: 88
Your web page looks sharp, MasterC.
I am glad to hear there is hope for getting Squirrelmail going. I have had qmail going for a few weeks (except, of course, I can't send mail to *, I have courier-imap installed but have not done much with it yet. I was understanding that I just needed to add users by the weird method in their docs. Then Squirrelmail when that is working.
The thing I have found most interesting in setting up the web,ftp, and mail servers is what is shown in the logfiles and understanding a little better what the term malicious website could mean.
Old 07-27-2003, 01:01 AM   #6
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Original Poster
Rep: Reputation: 68

The IMAP bit was actually what hung me up the most (I fiddled with Qmail too long, I eventually gave up and went back to my trusty old Postfix But I did make Postfix use Maildir's so Courier was still my choice of IMAP's). PAM was the major heartburn of it all, figuring out how to create a PAM file for IMAP folks, and then getting it all to run smoothly of course, that was cool too.

Squirrelmail is truly just a face for it all. If you can get IMAP working (try using IMAP from a mail client to see if you can get things working properly with that first) then Squrrelmail just makes it look nice. There's other added features as well, but in the simplest terms, it's just a fat gui on IMAP.

Old 08-04-2003, 08:36 PM   #7
Registered: Aug 2003
Posts: 34

Rep: Reputation: 15
Question Just a question

Can you tell me how did you do to setup your squirrelmail.

Old 08-06-2003, 07:27 PM   #8
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Original Poster
Rep: Reputation: 68
I used the perl script in the config directory under whatever directory you've moved your squirrelmail directory to, such as:
It would be:
And to run it, cd to that directory and:



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
imap error in webmail jkmartha Linux - Software 3 05-09-2005 08:33 AM
webmail create new account on cyrus imap jorgelopez100 Linux - Networking 0 06-25-2004 12:54 PM
Looking for a POP/IMAP/Webmail solution gmartin Linux - Software 2 04-24-2004 12:08 AM
IMAP works but IMAP TLS doesn't under PHP (Horde IMP) theparadigm Linux - Software 0 11-17-2003 12:35 AM
IMAP, POP3 and webmail? The best solution? lucastic Linux - Software 1 10-29-2003 11:16 AM > Forums > Linux Forums > Linux - General > Member Success Stories

All times are GMT -5. The time now is 03:48 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration