Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have a windows xp laptop that has ms-outlook 2007. i didnt have to do anything to set it up. i connected my laptop to office network and it picked up all settings by itself. Now i want to dump this laptop and start replying on my linux(RHEL) desktop. Now i want to use mutt as the email client to my remote exchange mail server. I have got the mail server hostname and it does support IMAP. i don't want to use GUI mail client in Linux. I see that outlook uses exchange proxy to connect and it uses NTLM authentication. I have the username and password for the emails. I did extensive search on internet ont hsi topic and i now come to understand that mutt wont do all client jobs like fetching mails, sending mails, etc. So i haev to use

  • sendmail as simple SMTP client, not as mail server.
  • procmail
  • fetchmail
  • and ofcourse configure mutt to use all the above services.

The most difficult part is configuring sendmail to send mails. sendmail has far too many options which is scary and all documentation on this subject is very old . Mostly before 2007. can somebody explain what are the steps involved in configuring mutt to recive and send email on my linux machine. These are the few things that i cant compromise on

  • it is a must that sendmail be used and not any ther software. b'cos it is already there and it has lots of documentation so if in trouble there will be help
  • it should be mutt and none other.
  • password should not be available as a plain text in any text file. it should be encrypted if it needs to be stored in a file.
  • it should not prompt me for password every now and then.
  • Preferably the interval for checking for new mails should be 2 mins.
  • All the filters in exchnage that i have already placed should be exported in mutt as well. It will be better if new filters i create in mutt be exported to exchnage. (This is OPTIONAL)
  • email should be available both on the server as well as in mutt. This is a absoulte must.

Please help me.

share|improve this question
2  
    
Insisting on sendmail might be a bit counter-productive - other solutions are often easier (and more secure) - dovecot, postfix, exim to name a few. You should be able to find more recent documentation on these, by the way. –  peterph Jun 6 at 12:55

1 Answer 1

You won't need procmail or fetchmail. If you want a local copy of your mail, for offline access, use offlineimap. Otherwise, mutt can query the server live via IMAP.

I think you will find it nearly impossible to avoid storing the password unencrypted if you use mutt to connect.

With offlineimap, you can configure it to use gnome-keyring to store the password, which is stored encrypted. Instructions here: http://www.clasohm.com/blog/one-entry?entry_id=90957

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.