Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Feb 1996 20:06:22 -0500 (EST)
From:      Barry Masterson <jbarrm@panix.com>
To:        Jeffrey Wheat <jeff@tad.cetlink.net>
Cc:        questions@FreeBSD.org
Subject:   Re: autoreply? howto?
Message-ID:  <Pine.SUN.3.91.960208200005.4103A-100000@panix.com>
In-Reply-To: <199602081858.NAA08490@tad.cetlink.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SUN.3.91.960208200005.4103A-100000>