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-03-2003, 11:50 AM   #1
Registered: Apr 2003
Location: Netherlands
Distribution: SuSE (before: Gentoo, Slackware)
Posts: 613

Rep: Reputation: 30
Cool way to deal with mail (IMAP)

This is really cool: Instead of storing your e-mail in one application (such as KMail, or Mozilla-Mail) I can access my mail in various ways.. (even webmail in the future)

The short story is: I got myself my own digital mail-office ;-)

This is what I did:
fetching e-mail
- My pop3 will be downloaded by fetchmail every hour (with a cron-job)
- Hotmail will be downloaded too, and when KMess (MSN) receives a "new mail" event, the kde notification center also runs the hotmail-download program.

processing e-mail
- Then the messages will be forwared to my local MTA (mail transfer agent), ie. my postfix server.
- I've configured postfix to drop the e-mail in a local mail-folder with maildrop.
- maildrop also has a filtering language to get rid of the spam, and sort the messages in different folders. Maildrop's filter language allows my to reconize all those outlook-express virus e-mails, and silly spam messages with incorrect HTML tags (I couldn't even filter those easily in outlook express)
- I can also configure maildrop to sent a vacation e-mail once to every sender, or run a shell-script for new-mail notifications

Reading my e-mail
- I use a local courrier IMAP server to access my mail-folder. This can be done from every application supporting IMAP, including the Squirll mail I hope to setup one day. (ie. I would have webmail access from my own workstation)
- Currently I'm using KMail, because I like it's appearance. (well.. I don't need other features, because that's already done by maildrop.. hehe)

Sending e-mail
- All e-mail is being sent to the local postfix server. This is very fast.
- Then the postfix server tries to deliver the message directly to the correct mailserver (I don't depend on other slow SMTP servers anymore), but will re-try it for 5 days when necessary.

This was a lot of work, but worth all the trouble, because this is very powerful.. :-)

Last edited by yapp; 07-03-2003 at 11:53 AM.
Old 07-04-2003, 03:15 AM   #2
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
why not open your postfix up to external connections and get your pop3 account to automatically forward mail to you, much quicker than a fethcmail job. also fetchmail doesn't need a cronjob, it can run as a daemon in it's own right.

sounds great though, well done.
Old 07-04-2003, 08:18 AM   #3
Registered: Apr 2003
Location: Netherlands
Distribution: SuSE (before: Gentoo, Slackware)
Posts: 613

Original Poster
Rep: Reputation: 30
Well.. this is my workstation, and it isn't online all day. Also, I'd like to limit external access to my machine, especially when I don't have to.

And well.. the fetchmail isn't that slow at all for me, and I'm used to waiting for POP3 mail (I used outlook express one day). Fetchmail retreives my e-mail every hour, while I'm at school.

Last edited by yapp; 07-04-2003 at 08:20 AM.


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
Problem with mail delivery procmail>cyrus imap (using sendmail,procmail,cyrus,imap) bwana Linux - Software 2 03-24-2005 07:01 PM
New mail and IMAP Paulsuk Linux - Software 4 12-05-2004 03:45 PM
Mutt and IMAP new mail/mark read mail checks(plzzz help) rmanocha Linux - Software 0 09-15-2004 02:05 PM
Which Imap mail-server? dnla Linux - Software 0 11-16-2003 10:39 AM
Imap Mail Server taggedd Linux - Networking 1 10-28-2003 11:41 AM > Forums > Linux Forums > Linux - General > Member Success Stories

All times are GMT -5. The time now is 05:36 AM.

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