From owner-freebsd-questions Wed Oct 3 14: 4:44 2001 Delivered-To: freebsd-questions@freebsd.org Received: from itouch.co.nz (itouch.co.nz [203.99.66.188]) by hub.freebsd.org (Postfix) with ESMTP id 6DAAD37B406 for ; Wed, 3 Oct 2001 14:04:41 -0700 (PDT) Received: from jonc.itouch ([192.168.2.21]) by itouch.co.nz with esmtp (Exim 3.33 #1) id 15otC3-000MpA-00; Thu, 04 Oct 2001 09:04:39 +1200 Received: (from jonc@localhost) by jonc.itouch (8.11.6/8.11.6) id f93L4cF44703; Thu, 4 Oct 2001 09:04:38 +1200 (NZST) (envelope-from jonc) Date: Thu, 4 Oct 2001 09:04:38 +1200 From: Jonathan Chen To: peter@spirit.lib.umt.edu Cc: freebsd-questions@freebsd.org Subject: Re: Any Mutt users? Message-ID: <20011004090438.C97814@jonc.itouch> References: <20011003134103.87414.qmail@spirit.lib.umt.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011003134103.87414.qmail@spirit.lib.umt.edu>; from peter@spirit.lib.umt.edu on Wed, Oct 03, 2001 at 01:41:03PM -0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Oct 03, 2001 at 01:41:03PM -0000, peter@spirit.lib.umt.edu wrote: > OK, I'm taking the plunge. I'm learning mutt. I've been digging through docs but I can't seem to find what I'm looking for. > > I'm trying to figure out how to send e-mail through an SMTP server > with mutt (other than my own) That's not mutt's responsiblity. It's your local MTA's (sendmail, exim, postfix, etc) job to forward your email to a central SMTP server. You need to set up your MTA to hand your email onwards. >and failing that, I'd really like to be > able to set the return address to something other than > username@mymachine.on.the.dialup. All you have to do is to add to your ~/.muttrc: my_hdr From: whomever@whatever.domain.i.want > > On a side note, I've configured mutt to recognize the several fbsd > mailing lists, but I would like to somehow automate messages being sorted > into different folders (i.e. freebsd-questions@freebsd.org ==> /questions) This is a job for a mail-filter. I use mail/procmail (in the ports); with the the following recipe in ~/.procmailrc to sort all my freebsd mailing-lists email into respective folders: # # FreeBSD lists :0: * ^Sender:.*owner-\/freebsd-[^@]+@FreeBSD.ORG { LISTNAME=${MATCH} :0 * LISTNAME??^\/[^@]+ ${MATCH} } As with most things on UNIX, you have to find the right tool to do the job you want. Mutt isn't like Outlook, which tries to do *everything* (badly); it provides hooks for external programs, and only deals with it's area of responsibility. Cheers. -- Jonathan Chen ---------------------------------------------------------------------- Don't worry about avoiding temptation, as you grow older, it starts avoiding you. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message