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 = [EMAIL PROTECTED] hostname = "stmp.somewhere.com:25" username = "" password = "" identity = [EMAIL PROTECTED] hostname = "1.2.3.4:25" username = "[EMAIL PROTECTED]" password = "somepassword" identiy = [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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://[EMAIL PROTECTED]@imapserver.somewhere.com/ (defaults to INBOX) imap://[EMAIL PROTECTED]@imap.example.com/INBOX.Spambox Cheers, -cpghost. -- Cordula's Web. http://www.cordula.ws/ _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"