From owner-freebsd-questions Thu Feb 8 17:06:41 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id RAA16472 for questions-outgoing; Thu, 8 Feb 1996 17:06:41 -0800 (PST) Received: from panix.com (panix.com [198.7.0.2]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id RAA16458 for ; Thu, 8 Feb 1996 17:06:33 -0800 (PST) Received: (from jbarrm@localhost) by panix.com (8.7/8.7/PanixU1.3) id UAA05342; Thu, 8 Feb 1996 20:06:22 -0500 (EST) Date: Thu, 8 Feb 1996 20:06:22 -0500 (EST) From: Barry Masterson To: Jeffrey Wheat cc: questions@FreeBSD.org Subject: Re: autoreply? howto? In-Reply-To: <199602081858.NAA08490@tad.cetlink.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.org Precedence: bulk I don't know about sendmail & auto replys, I use procmail for auto replys. You'll have to readup on procmail for the details, but basically you write a recipe to read the subject line: ------ :0 cfh * !^X-Loop: jbarrm@panix.com * ^Subject:.*retrieve dinner_menu | formail -r -A"X-Loop: jbarrm@panix.com" :0 A | (cat ; cat dinner_menu) | $SENDMAIL -oi -t ------- Its fairly easy to set up. Barry Masterson jbarrm@panix.com >--->--->--->--->---> FreeBSD 2.1.0 <---<---<---<---<---< On Thu, 8 Feb 1996, Jeffrey Wheat wrote: > Hi, > > I'm sure this is a dumb question, but I'll ask anyhow... How do I > set up sendmail to automatically email a response to a user? I want to be > able to send mail to somealias@myhost.com and have it send a text file back > to the sender. Any help appreciated. > > -jeff >