Results 1 to 16 of 16

Thread: Linux Home Mail Server

  1. #1
    Registered+
    Join Date
    Aug 2008
    Location
    Derby
    Posts
    60
    Thanks
    24
    Thanked
    1 time in 1 post

    Question Linux Home Mail Server

    I want to set up a home mail server that downloads emails from my ISP (presumably using POP3?) then sorts them into two groups based on the email address. This would then allow two separate home PCs on the home network, each with their own copy of Thunderbird to access each person's emails (this way I won't get kicked off my games PC every time my other half wants to read her emails)
    Can anyone recommend a suitable mail server program (Linux preferred to avoid licensing issues) to use on the email downloading PC?

  2. #2
    Member
    Join Date
    Jan 2010
    Location
    suffolk
    Posts
    113
    Thanks
    6
    Thanked
    9 times in 9 posts
    • richy19's system
      • Motherboard:
      • Dell e520
      • CPU:
      • intel e4300 OC 2.4ghz
      • Memory:
      • 2gb pc5200
      • Storage:
      • 550gb
      • Graphics card(s):
      • sapphire hd 4650
      • PSU:
      • Dell
      • Case:
      • Dell e520
      • Operating System:
      • Windows 7
      • Monitor(s):
      • 19" and 15"

    Re: Linux Home Mail Server

    i don see why you want to do this?
    why dont you just set up thunderbird to get your emails on a nother computer that way she can use her own computer?

  3. #3
    mush-mushroom b0redom's Avatar
    Join Date
    Oct 2005
    Location
    Middlesex
    Posts
    3,494
    Thanks
    195
    Thanked
    383 times in 292 posts
    • b0redom's system
      • Motherboard:
      • Some iMac thingy
      • CPU:
      • 3.4Ghz Quad Core i7
      • Memory:
      • 24GB
      • Storage:
      • 3TB Fusion Drive
      • Graphics card(s):
      • nViidia GTX 680MX
      • PSU:
      • Some iMac thingy
      • Case:
      • Late 2012 pointlessly thin iMac enclosure
      • Operating System:
      • OSX 10.8 / Win 7 Pro
      • Monitor(s):
      • Dell 2713H
      • Internet:
      • Be+

    Re: Linux Home Mail Server

    Postfix and Dovecot will do what you want.

  4. Received thanks from:

    Greenbandit (23-03-2010)

  5. #4
    Jay
    Jay is offline
    Gentlemen.. we're history Jay's Avatar
    Join Date
    Aug 2006
    Location
    Jita
    Posts
    8,365
    Thanks
    304
    Thanked
    568 times in 409 posts

    Re: Linux Home Mail Server

    Quote Originally Posted by b0redom View Post
    Postfix and Dovecot will do what you want.
    thats what i did with squirrelmail front end on CentOS
    □ΞVΞ□

  6. Received thanks from:

    Greenbandit (23-03-2010)

  7. #5
    Senior Member watercooled's Avatar
    Join Date
    Jan 2009
    Posts
    11,478
    Thanks
    1,541
    Thanked
    1,029 times in 872 posts

    Re: Linux Home Mail Server

    You could also just leave messages on the server so they could be downloaded by both computers unless you want to set up your own server.

  8. Received thanks from:

    Greenbandit (23-03-2010)

  9. #6
    Jay
    Jay is offline
    Gentlemen.. we're history Jay's Avatar
    Join Date
    Aug 2006
    Location
    Jita
    Posts
    8,365
    Thanks
    304
    Thanked
    568 times in 409 posts

    Re: Linux Home Mail Server

    Yes you could do that but dovecot is an IMAP server so there is no need to leave messages on the ISP POP server if you go that way.
    □ΞVΞ□

  10. #7
    Member
    Join Date
    Mar 2010
    Posts
    103
    Thanks
    0
    Thanked
    13 times in 13 posts

    Re: Linux Home Mail Server

    Use an email supplier that supports the IMAP protocol (like gmail). This would leave the email on the server and allow the clients to "sync" the emails to the computers.

    If you want to setup your own server, try something like SME Server.

  11. Received thanks from:

    Greenbandit (23-03-2010)

  12. #8
    The late but legendary peterb - Onward and Upward peterb's Avatar
    Join Date
    Aug 2005
    Location
    Looking down & checking on swearing
    Posts
    19,378
    Thanks
    2,892
    Thanked
    3,403 times in 2,693 posts

    Re: Linux Home Mail Server

    Quote Originally Posted by Jay View Post
    Yes you could do that but dovecot is an IMAP server so there is no need to leave messages on the ISP POP server if you go that way.
    Dovecot is also a POP3 server.

    Postfix is a mail transfer agent, so it won't get mail from a POP3 server - however if your ISP will relay your mail to your IP address (ideally static, then that would work. Otherwise you will need to use something like fetchmail to d0ownload the mail from the pop3 server accounts, and then use dovecot (or similar to provide those to the uisers).

    I haven't looked closely at fetchmail - if it will leave mail in the appropriate directories for dovecot to find, that will work, but you may need to inject the mail downloaded into postfix for it to deliver to the dovecot directories. You may want to use a virtual host arrangement to avoid giving mail users their own shell accounts on the linux server.

    You could dispense with your ISP mailbox altogether and just get them to set the DNS mx record to point to your (static) IP address (I do that with some mail addresses) in which case you would only need postfix and dovecot (which is what I use).

    However - you will get spam, so you will need some spam filtering (spamassasin marks spam for user deletion) and you may want to include some source AV checking. You also need to be careful in configuring postfix to ensure that you don't accidentally leave it as an open relay. (I did once - by mistake, for 36hours. During that time my server transmitted in excess of 30,000 spam e amils - relayed via my ISP. Fortunately I spotteed it, and sent a grovelling e mail before they spotted it and denied access to their SMTP server. A salutory lesson )

    Useful links

    www.postfix.org

    www.dovecot.org

    www.freebsd.org/doc/handbook/mail-fetchmail.html

    http://fetchmail.berlios.de

    (Looking at that last link, fetchmail may do all that you require without dovecot or postfix - but you will need to read the documentation carefully)

    If you do go the postfix route, I strongly suggest that you get the O'reilly book - "Postfix - The Definitive Guide" by kyle Dent. Lots of useful information on configuration and anti-spam measures.
    Last edited by peterb; 22-03-2010 at 05:06 PM.
    (\__/)
    (='.'=)
    (")_(")

    Been helped or just 'Like' a post? Use the Thanks button!
    My broadband speed - 750 Meganibbles/minute

  13. Received thanks from:

    Greenbandit (23-03-2010)

  14. #9
    Registered+
    Join Date
    Aug 2008
    Location
    Derby
    Posts
    60
    Thanks
    24
    Thanked
    1 time in 1 post

    Re: Linux Home Mail Server

    Wow peoples, thanks, this is information overload

    I think I'll try the fetchmail to d/l my emails as (if I read peterb correctly) this will work with my ISP's POP3 server without changing its settings, then I'll set up my 2 copies of thunderbird to connect to dovecote.

    I think I might be attempting too much here but it seemed good idea when I though it.

  15. #10
    Registered+
    Join Date
    Aug 2009
    Posts
    29
    Thanks
    0
    Thanked
    4 times in 3 posts
    • arbitrabbit's system
      • Motherboard:
      • GA-MA770T-U3P
      • CPU:
      • AMD Phenom II 720BE @3400MHz
      • Memory:
      • 4GB Kingston Hyperx DDR 1600MHz
      • Storage:
      • 2x1TB Seagate Baraccuda 7200RPM, 2.5TB NAS
      • Graphics card(s):
      • ATI HD 4850
      • PSU:
      • Corsair HX 450W
      • Case:
      • Antec Three Hundred Mid
      • Operating System:
      • Windows 7 Ultimate, Ubuntu Karmic 9.10

    Re: Linux Home Mail Server

    Quote Originally Posted by Greenbandit View Post
    Wow peoples, thanks, this is information overload

    I think I'll try the fetchmail to d/l my emails as (if I read peterb correctly) this will work with my ISP's POP3 server without changing its settings, then I'll set up my 2 copies of thunderbird to connect to dovecote.

    I think I might be attempting too much here but it seemed good idea when I though it.
    Well, given that you haven't explained why you need to do it, that is probably best for what you want. However, given that most ISPs support IMAP and as one of the posters mentioned, it would be easier to setup thunderbird on both the client PCs...if you want to sort email, you can do it on your ISP server (I do it by creating a rule which puts emails in two seperate folders) and then using IMAP, you can subscribe the two PCs to two different folders. It would be easier (and cheaper) than setting up your own server.

  16. Received thanks from:

    Greenbandit (23-03-2010),oolon (23-03-2010)

  17. #11
    Senior Member oolon's Avatar
    Join Date
    Mar 2007
    Location
    London
    Posts
    2,294
    Thanks
    150
    Thanked
    302 times in 248 posts
    • oolon's system
      • Motherboard:
      • Asus P6T6
      • CPU:
      • Xeon w3680
      • Memory:
      • 3*4GB Kingston ECC
      • Storage:
      • 160GB Intel G2 SSD
      • Graphics card(s):
      • XFX HD6970 2GB
      • PSU:
      • Corsair HX850
      • Case:
      • Antec P183
      • Operating System:
      • Windows 7 Ultimate and Centos 5
      • Monitor(s):
      • Dell 2408WFP
      • Internet:
      • Be* Unlimied 6 down/1.2 up

    Re: Linux Home Mail Server

    Fetchmail can pop messages then use an MTA like exim or sendmail to redelivery on another machine. squirelmail is a nice web front end, i would used cyrus for imap and pop. Cyrus supports sieve macros for processing email which can be great for vacations, multiple mailboxes etc, I would also suggest avelsieve.
    (\__/) All I wanted in the end was world domination and a whole lot of money to spend. - NMA
    (='.*=)
    (")_(*)

  18. Received thanks from:

    Greenbandit (23-03-2010)

  19. #12
    The late but legendary peterb - Onward and Upward peterb's Avatar
    Join Date
    Aug 2005
    Location
    Looking down & checking on swearing
    Posts
    19,378
    Thanks
    2,892
    Thanked
    3,403 times in 2,693 posts

    Re: Linux Home Mail Server

    Quote Originally Posted by oolon View Post
    Fetchmail can pop messages then use an MTA like exim or sendmail to redelivery on another machine. squirelmail is a nice web front end, i would used cyrus for imap and pop. Cyrus supports sieve macros for processing email which can be great for vacations, multiple mailboxes etc, I would also suggest avelsieve.
    Yes, but I think fethmail also has a pop3/Imap server, so unless you need to send mail on., I'm reasonably certain that is all you neede - but the documentation (on the link) will tell you. I have only played very briefly with fetchmail (do so something similar to the OP) but never pursued it fully.
    (\__/)
    (='.'=)
    (")_(")

    Been helped or just 'Like' a post? Use the Thanks button!
    My broadband speed - 750 Meganibbles/minute

  20. Received thanks from:

    Greenbandit (23-03-2010)

  21. #13
    Senior Member oolon's Avatar
    Join Date
    Mar 2007
    Location
    London
    Posts
    2,294
    Thanks
    150
    Thanked
    302 times in 248 posts
    • oolon's system
      • Motherboard:
      • Asus P6T6
      • CPU:
      • Xeon w3680
      • Memory:
      • 3*4GB Kingston ECC
      • Storage:
      • 160GB Intel G2 SSD
      • Graphics card(s):
      • XFX HD6970 2GB
      • PSU:
      • Corsair HX850
      • Case:
      • Antec P183
      • Operating System:
      • Windows 7 Ultimate and Centos 5
      • Monitor(s):
      • Dell 2408WFP
      • Internet:
      • Be* Unlimied 6 down/1.2 up

    Re: Linux Home Mail Server

    Quote Originally Posted by peterb View Post
    Yes, but I think fethmail also has a pop3/Imap server, so unless you need to send mail on., I'm reasonably certain that is all you neede - but the documentation (on the link) will tell you. I have only played very briefly with fetchmail (do so something similar to the OP) but never pursued it fully.
    The question is will that fetchmail just feed into a single account imap account on the local imap server... I think it will, going via a local mta will make sure the mails are reprocessed and split into multiple users most imap server are quite "dumb" when it comes to users, and needs things sorted out by aliases for multiple drops to a single box. Use of a posting MTA might also be considered rather than just the ISPs one.
    (\__/) All I wanted in the end was world domination and a whole lot of money to spend. - NMA
    (='.*=)
    (")_(*)

  22. Received thanks from:

    Greenbandit (23-03-2010)

  23. #14
    Registered+
    Join Date
    Aug 2008
    Location
    Derby
    Posts
    60
    Thanks
    24
    Thanked
    1 time in 1 post

    Re: Linux Home Mail Server

    Quote Originally Posted by arbitrabbit View Post
    Well, given that you haven't explained why you need to do it,
    Maybe the term "mail server" is the wrong one.

    Currently me & my girl have:-
    - 1 email A/C with my ISP (Plusnet/Force9) that has unlimited aliases,
    - 1 PC running thunderbird that gets the emails and (using a simple mail filter) sorts them into 2 separate inboxes.
    - it is not possible to get a 2nd PC running its own thunderbird to logon to the Force9 POP3 server to get her emails as we only have a single identity & logon as far as the server is concerned,
    - I want to let a 2nd PC get its own emails so I don't get kicked off my games PC when she wants to read her emails.

    So what I wanted was:-
    - Use a spare Athlon 3000+ 2GB PC to D/L the emails from the ISP POP3 server (this avoids the need to reconfigure the ISP mailbox thus keeping the existing backup plans of Webmail and a single PC to read all emails if my local "server" falls over)
    - Set up the spare PC to act as a POP3 local server to be accessed only by two other PCs using thunderbird on my LAN to get their own emails.
    - The LAN is behind a NAT router so should be secure enough for my needs.
    - VOILA - no more game interruptions.

    I have just reformatted the spare PC & re-installed Ubuntu 9.10 :-) - next I'll try the other stuff :-(

  24. #15
    The late but legendary peterb - Onward and Upward peterb's Avatar
    Join Date
    Aug 2005
    Location
    Looking down & checking on swearing
    Posts
    19,378
    Thanks
    2,892
    Thanked
    3,403 times in 2,693 posts

    Re: Linux Home Mail Server

    Quote Originally Posted by oolon View Post
    The question is will that fetchmail just feed into a single account imap account on the local imap server... I think it will, going via a local mta will make sure the mails are reprocessed and split into multiple users most imap server are quite "dumb" when it comes to users, and needs things sorted out by aliases for multiple drops to a single box. Use of a posting MTA might also be considered rather than just the ISPs one.
    It may do - I must have another play with it sometime (adds to the bottom of a long list of "things to do when I get a minute" )

    Quote Originally Posted by Greenbandit View Post
    Maybe the term "mail server" is the wrong one.<---snip

    So what I wanted was:-
    - Use a spare Athlon 3000+ 2GB PC to D/L the emails from the ISP POP3 server (this avoids the need to reconfigure the ISP mailbox thus keeping the existing backup plans of Webmail and a single PC to read all emails if my local "server" falls over)
    - Set up the spare PC to act as a POP3 local server to be accessed only by two other PCs using thunderbird on my LAN to get their own emails.
    - The LAN is behind a NAT router so should be secure enough for my needs.
    - VOILA - no more game interruptions.

    I have just reformatted the spare PC & re-installed Ubuntu 9.10 :-) - next I'll try the other stuff :-(
    But given the above info, Fetchmail could dump the mail into one account and the two PCS could access it - there is no privacy of course - each can see the others mail , but if you are OK with that, no problem.

    Otherwise, how much would plusnet charge for a second POP3 mail address? (not as interesting though )
    (\__/)
    (='.'=)
    (")_(")

    Been helped or just 'Like' a post? Use the Thanks button!
    My broadband speed - 750 Meganibbles/minute

  25. #16
    Registered+
    Join Date
    Aug 2009
    Posts
    29
    Thanks
    0
    Thanked
    4 times in 3 posts
    • arbitrabbit's system
      • Motherboard:
      • GA-MA770T-U3P
      • CPU:
      • AMD Phenom II 720BE @3400MHz
      • Memory:
      • 4GB Kingston Hyperx DDR 1600MHz
      • Storage:
      • 2x1TB Seagate Baraccuda 7200RPM, 2.5TB NAS
      • Graphics card(s):
      • ATI HD 4850
      • PSU:
      • Corsair HX 450W
      • Case:
      • Antec Three Hundred Mid
      • Operating System:
      • Windows 7 Ultimate, Ubuntu Karmic 9.10

    Re: Linux Home Mail Server

    Quote Originally Posted by Greenbandit View Post
    Maybe the term "mail server" is the wrong one.

    Currently me & my girl have:-
    - 1 email A/C with my ISP (Plusnet/Force9) that has unlimited aliases,
    - 1 PC running thunderbird that gets the emails and (using a simple mail filter) sorts them into 2 separate inboxes.
    - it is not possible to get a 2nd PC running its own thunderbird to logon to the Force9 POP3 server to get her emails as we only have a single identity & logon as far as the server is concerned,
    - I want to let a 2nd PC get its own emails so I don't get kicked off my games PC when she wants to read her emails.
    :-(
    Don't know about Plusnet, but I have a very similar setup with 5 aliases. The easiest way to do is to create a server side rule where you use say the To field of the email to move messages to individual folders. Then you can have Thunderbird installed on two different computers which would connect to the mail server over IMAP and fetch their individual folders. If you have any issues with simultaneous logins, all you need to do is to configure the two thunderbird clients such that the two connect say a minute after each other (i.e. if the first computer sync at 10:00 and then every 5 minutes, make sure the second one connects at say 10:02 and then every 5 minutes after that)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. New Home Server
    By neonplanet40 in forum PC Hardware and Components
    Replies: 18
    Last Post: 03-12-2009, 01:07 PM
  2. Replies: 22
    Last Post: 25-11-2009, 11:12 AM
  3. Best free Linux email server
    By Jay in forum Software
    Replies: 28
    Last Post: 14-08-2007, 09:35 PM
  4. Linux Distro for mail server
    By madman045 in forum Software
    Replies: 11
    Last Post: 27-06-2007, 10:11 PM
  5. Multimedia server - Digital home
    By Jayos in forum Consumer Electronics
    Replies: 9
    Last Post: 17-02-2007, 12:36 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •