From owner-freebsd-questions@FreeBSD.ORG Mon Dec 20 14:21:09 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 65E3616A4CE for ; Mon, 20 Dec 2004 14:21:09 +0000 (GMT) Received: from fw.farid-hajji.net (fw.farid-hajji.net [213.146.115.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC54843D2F for ; Mon, 20 Dec 2004 14:21:08 +0000 (GMT) (envelope-from cpghost@cordula.ws) Received: from bsdbox.farid-hajji.net (bsdbox [192.168.254.3]) by fw.farid-hajji.net (Postfix) with ESMTP id 7AC744B6BA; Mon, 20 Dec 2004 15:20:58 +0100 (CET) Date: Mon, 20 Dec 2004 15:21:10 +0100 From: cpghost@cordula.ws To: Matthias Buelow Message-ID: <20041220142110.GA845@bsdbox.farid-hajji.net> References: <41C4FA1C.4090006@nbritton.org> <41C62755.2030705@mukappabeta.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41C62755.2030705@mukappabeta.de> User-Agent: Mutt/1.5.6i cc: Nikolas Britton cc: freebsd-questions Subject: Re: migrating from thunderbird to mutt? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Dec 2004 14:21:09 -0000 On Mon, Dec 20, 2004 at 02:13:57AM +0100, Matthias Buelow wrote: > Nikolas Britton wrote: > >Can mutt handle um like 5+ email address and have them all separated and > >be able to send from diffrent email accounts? > > No. > > >If I remember right mutt is just a mail reader, so how do I get mail to > >and sent from mutt? > > By setting up your MTA (sendmail, postfix, qmail). Alternatively, you > can use mutt with pop3 or imap4 but its support for these protocols is > primitive at best. And then you'd still have to configure sendmail for > outgoing mail. You can also install /usr/ports/mail/esmtp and use this to send mails via an smtp server of your choice. Setting this up with mutt is pretty easy: 1. in your ~/.muttrc, add: set sendmail="/usr/local/bin/esmtp" set envelope_from="yes" Now mutt will use esmtp (instead of sendmail) to deliver outgoing mails. 2. in your ~/.esmtprc configure your identities: identity = someone@somewhere.com hostname = "stmp.somewhere.com:25" username = "" password = "" identity = someoneelse@example.com hostname = "1.2.3.4:25" username = "secret@example.com" password = "somepassword" identiy = internal@example.org hostname = "127.0.0.1:25" username = "" password = "" esmtp will contact the appropriate SMTP server on your behalf and will use the correct credentials to connect (if required). 3. Now fire up mutt, and compose an E-mail with 'm'. After you've finished typing your mail, change the sending address (From header) with 'ESC f' to match one of your identities. For example, using someoneelse@example.com will direct esmtp to send mail via the server 1.2.3.4 using the specified credentials. Then send the message with 'y' 4. The other way around is also possible. You can access multiple IMAP mailboxes from within mutt like this: type 'c' to change (open) to a new mailbox. Enter the IMAP URL of your mailbox like this: imap://someone@somewhere.com@imapserver.somewhere.com/ (defaults to INBOX) imap://someoneelse@example.com@imap.example.com/INBOX.Spambox Cheers, -cpghost. -- Cordula's Web. http://www.cordula.ws/