Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
web/email server configuration help requested
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2365
Location: Kentucky

PostPosted: Tue Feb 26, 2013 6:36 pm    Post subject: web/email server configuration help requested Reply with quote

I have a web and email server thatis running apache and sendmail with squerrellmail, clamav, and spamassassin, and wu-imap with cyrus-sasl. This server is ancient! It is a 1.5 GHz AMD Duron with 1.5 GB ram. It has been in service since 2005. It seems to be developing intermittent cooling fan failure, probablyin the power supply. This is inferred by monitoring disk drive temperatures. It has a RAID-1 with 2 500 GB IDE drives.

I have a nice new 8-core AMD machine with 16 GB ram and a RAID-1 with 3 2 TB drives to replace it, but Iwant to get away from wu-imap because it uses that old style mailbox format where all the messages in the folder are in a single file.

In looking around, it seems like people are getting away from sendmail also. Can somebody recommend a goot HowTo for setting up a new server? I do need sasl/imap/clamav/spamassassin, but the other email stuff could vary. Obviously I need apache and squerrillmail, which requires mysql and php.

What is the "right way" to do this functionality today?

Thanks! Hopefully I can get the new server up before the old one suffers terminal cooling fan failure!
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1428

PostPosted: Wed Feb 27, 2013 8:23 pm    Post subject: Reply with quote

Start Here:
Gentoo Wiki: Simple mail server with webmail

Add ClamAV and Spam Assassin after you verify service.

For the Web Server Part, set the use flags identical to your old system
(old)
Code:
emerge -pv apache

copy configs

(new)
Code:
emerge -avt apache

check matching dependencies against (old)
Copy old configs to etc.
_________________
The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2365
Location: Kentucky

PostPosted: Thu Feb 28, 2013 2:47 pm    Post subject: Reply with quote

Thanks! :D
That looks about like what I was hoping for.

One question, if you knoww the answer: why in tthat article is squirrellmail unpacked from a tar file instead of emerged?
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1428

PostPosted: Thu Feb 28, 2013 3:30 pm    Post subject: Reply with quote

Moriah wrote:
Thanks! :D
That looks about like what I was hoping for.

One question, if you knoww the answer: why in tthat article is squirrellmail unpacked from a tar file instead of emerged?


I would hazard a guess that he's following "Apache Protocol" - i.e. know what's in your webroot because you put it there. Either way, since I just looked at the ebuild, everything is installed in the webroot.
_________________
The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2365
Location: Kentucky

PostPosted: Thu Feb 28, 2013 4:15 pm    Post subject: Reply with quote

I have always used emerge to install squirrellmail in the past. I didn't know if something was different here. Thanks! I will start omn this installation later today. First gotta finish a bunch of GUI manual tests.. :(
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum