LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 11-26-2008, 06:29 PM   #1
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,040

Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
Looking for ideas to store & share mail between many frontends


Hello,

I have a little question regarding mail daemons and stuff like that.

Some background: I've always preferred the Unix way to do the things. However, for some reason that I don't even know, I have always used graphical mail agents to handle/receive/send my mails (I really can't stand webmail interfaces).

The problem that I have is that each time that I have to migrate to any other program or any other version there are always problems. So, I want to find a centralized solution that will download the mail, store it in a given format (I also look for advises on this), parse it, filter it and distribute it in folders in the mail box and all that stuff. UTF-8 support is needed. I don't know if that's a problem or not.

The idea is to be able to read it from any interface (mutt, kmail, sylpheed) using these as readers only while the mail daemons do the work. This will hopefully allow me to use whatever frontend is better at a given time without screwing up my mail folders and other funny stuff.

I am not asking for concrete instructions (I'll do that when it's time if I need them). I am good at researching myself and I can probably find a way to get something working. Instead, I ask for ideas. I want to know what combos do you, people, use to manage your mail. There's a lot of stuff to choose from to fetch mail, to filter it, and to do many cool things with it before you can read it on mutt or sylpheed.

Please, if you use ((sylpheed || thunderbird || kmail ) || a similar thing) to do everything, don't answer on this thread, because that's not what I am looking for. I am looking more for combos like fetchmail + procmail + something else, or similar things. Leave me a note saying what do you use and why. I accept the usage of any of these MTA's that I named above, but only as frontends.

I also want to know what format do you use for your mailboxes and why. I am particularly interested in knowing if someone around is using some kind of database backend, and how does it interact with regular MTA's like mutt or sylpheed.

Thanks for reading and sharing your ideas, and regards.

Last edited by i92guboj; 11-26-2008 at 07:51 PM. Reason: Added bit about database backends
 
Old 11-26-2008, 08:35 PM   #2
ehawk
Senior Member
 
Registered: Jul 2003
Posts: 1,257

Rep: Reputation: 48
I would think that mutt would be most flexible and interoperable, owing to its ability to make use of macros.
 
Old 11-27-2008, 01:27 PM   #3
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,040

Original Poster
Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
Thanks for the response. It's much appreciated.

I have contemplated mutt as a frontend to read my mail. However my question was about doing something more elaborated.

I have been reading one more day, googling and seeing what other people do. I think that I could use this:
  1. Fetchmail, to get my mail from an external imap4/pop3 server from my provider.
  2. Procmail, to filter it and put each thing into a given folder.
  3. Exim/Postfix/Sendmail to send mails.
  4. Dovecot as my imap server, which will serve all my mail so I can see it from anywhere. I will probably install squirrelmail or something like that in top of it if possible.

I am really confused about much of the options. I think that I can live with dovecot, it's almost working for the most part. However I have really zero idea about what should I be using for the other three things. Any comments are welcome. I am doing lots of reading but this is something I never looked into, and while having so much options is something I like, it's a bit overwhelming for me on this matter.

Thanks for reading.
 
Old 11-27-2008, 01:57 PM   #4
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,017

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
You might find this thread useful: http://www.linuxquestions.org/questi....php?p=3140734
I confess I have yet to set up an IMAP server, just too busy with real life, but there's a good discussion in that thread.
 
Old 11-27-2008, 03:23 PM   #5
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,040

Original Poster
Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
Thanks tredegar, I will read that thread. On a first sight they talk about the same thing that I want to do: setting up an IMAP server to centralize all my mail and access it from everywhere. Maybe I can get some ideas from there. I will read it.
 
Old 11-27-2008, 06:36 PM   #6
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Quote:
Originally Posted by tredegar View Post
You might find this thread useful: http://www.linuxquestions.org/questi....php?p=3140734
I confess I have yet to set up an IMAP server, just too busy with real life, but there's a good discussion in that thread.
The imap server is the easy bit. Dovecot will generally work out of the box with no modifications to its config. Can't get easier than that! Needs a bit of work if you put mail somewhere out of the ordinary.

On the procmail front, I've never used it - I use maildrop. I hear maildrop is easier and less problematic. Not from persnal experience though.
 
Old 11-28-2008, 09:33 AM   #7
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,040

Original Poster
Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
So, this maildrop thing would be something like procmail. I will look into it.

I would also like to know if anyone has experiences with any alternative for fetchmail.

This whole mail server thing reminds me a lot of tetris for some reason

Thanks for the feedback.

Last edited by i92guboj; 11-28-2008 at 09:35 AM.
 
Old 11-28-2008, 03:08 PM   #8
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
See http://www.courier-mta.org/maildrop/

What's wrong with fetchmail? It's simple and it works. Don't know an alternative I'm afraid.
 
Old 11-28-2008, 03:20 PM   #9
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,040

Original Poster
Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
Quote:
Originally Posted by billymayday View Post
See http://www.courier-mta.org/maildrop/

What's wrong with fetchmail? It's simple and it works. Don't know an alternative I'm afraid.
As an user tool I have nothing against it. However I would like something that can operate in a more daemonish fashion. I started to dig a bit because when I run it as root I receive a warning. The investigations took me to this:

https://lists.berlios.de/pipermail/f...er/000128.html

The thread is old, yes. But since the same warning is still there, I assume nothing changed in that regard. Of course I can always run it as a user, but I am looking for alternatives if there are any.

The good thing about all this stuff is that, since I know nothing about any of these tools I don't mind learning another. To me it's all the same right now.
 
Old 11-28-2008, 03:35 PM   #10
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Run it as fetchmail -d 600


Puts it in daemon mode to check every 600 seconds.
 
Old 11-28-2008, 03:41 PM   #11
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,040

Original Poster
Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
Yes. I know that it can run in daemon mode. I was just wondering if there are alternatives. As I said, when I daemonize it at startup is gifts me with a warning, telling me that running it as root is not a good idea.
 
Old 11-28-2008, 04:06 PM   #12
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
I run it from a user's crontab, using

@reboot fetchmail -d 600 > /dev/null 2>&1

You can do this for each user and you won't get the "don't run as root" warning.
 
Old 09-10-2009, 09:09 AM   #13
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,040

Original Poster
Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
Quote:
Originally Posted by billymayday View Post
I run it from a user's crontab, using

@reboot fetchmail -d 600 > /dev/null 2>&1

You can do this for each user and you won't get the "don't run as root" warning.
Thanks everyone, for the ideas. I forgot about this thread. I finally do what almost everyone does, use fetchmail with crontab.
 
  


Reply

Tags
fetchmail, mailbox, mta, procmail


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
Ideas on how to encode and store ripped TV Shows Micah Linux - General 2 03-31-2006 01:55 PM
Linux store names and ideas. maxie General 19 03-21-2006 05:48 AM
samba share ideas jonfa Linux - Software 2 06-21-2005 07:50 PM
Store mail local and view with several mail clients... elluva Linux - Software 22 05-11-2004 04:27 PM
Share Mail & Documents Btwn Distro's fen-lynux Linux - Software 5 02-29-2004 07:18 PM


All times are GMT -5. The time now is 10:12 PM.

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