Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-14-2015, 03:41 PM   #1
LQ Newbie
Registered: Oct 2014
Posts: 3

Rep: Reputation: Disabled
Courier imap installed to serve Maildir. But how do I send emails?


I am somewhat new to Limux, but have a software development background. I am moving from MS Outlook to Evolution. Now, I want to have a Maildir based email database. So I went for fetchmail/procmail to deliver my mail into Maildirs, all working nice. Then I understood that Evolution does not store sent mails in that structure, so I used Courier to serve the Maildirs, and Evolution connects to that Imap server and gets the mails. That works. So the receive path is all great.

My problem is still sending emails. Let's say, I have two email accounts: and Using fetchmail/procmail/Evolution, I am able to read those emails. But when I send an email to, say, what SMTP server should I configure in Evolution? If I configure Gmail and Yahoo, then the sent mail will not go into the mail database that Courier serves.

Secondly, since Courier is aggregating emails from Gmail and Yahoo, I have only one account in Evolution now, which is a local login into Courier. How do I switch email accounts in the From: field of my message? Do I have to setup a separate Sendmail on my machine? Since my machine has a dynamic DNS, that seems difficult as well. What is the way out?

Any tips would be deeply appreciated.

Old 06-15-2015, 12:06 PM   #2
Registered: Jun 2004
Location: France, UE
Distribution: Arch Linux, Bodhi, Debian, Mageia, OpenMediaVault, Q4OS
Posts: 133

Rep: Reputation: 20
For the first point.
I bet this can be achieved by settting a MTA (mail transfert agent) and/or an MDA (mail delivery agent) --> Sendmail or alike. A look at your distro's wiki should help you check & eventually decide which one to go for.

I have basic needs and use *msmtp*. It's is a very simple and easy to use smtp client (MTA) with excellent sendmail compatibility. (nice paper, Arch's wiki)

My 2 cents as I use a very different configuration.
Old 06-15-2015, 12:13 PM   #3
LQ Newbie
Registered: Oct 2014
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thanks for the reply, kozaki. I found a solution after I did some study. I have now switched over to Thunderbird, and there I can specify the mailbox to be used for sent mails. Providing imap://localhost/... does the trick, and my sent mails are now all in the Imap mailstore.

Thunderbird also allows multiple identities associated with an account, so that "From:" can be changed at will. That should take care of my second concern. I am still migrating my emails from Outlook, and have not got a chance to try the config. But I am reasonably sure, it should work.


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
Courier IMAP - authtest successful - No Maildir? tarballedtux Linux - Server 0 10-20-2012 10:34 PM
netqmail + courier-imap + vpopmail maildir issue Blindsight Linux - Networking 1 01-31-2008 01:46 PM
Migrating Mail - Courier Imap /Maildir > Cyrus /var/spool/imap swilliams2006 Linux - Server 3 10-13-2006 06:47 PM
Courier imap + postfix -> maildir thing. collen Linux - Software 0 10-03-2005 10:41 AM
Postfix + MySQL + Courier-Imap - can not find the maildir chakkerz Linux - Software 1 01-24-2005 10:32 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:15 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
Open Source Consulting | Domain Registration