Xref: utzoo comp.mail.elm:1126 comp.sources.d:3354 comp.unix.wizards:14794 news.sysadmin:2148 Path: utzoo!utgpu!attcan!uunet!ateng!chip From: chip@ateng.ateng.com (Chip Salzenberg) Newsgroups: comp.mail.elm,comp.sources.d,comp.unix.wizards,news.sysadmin Subject: Re: autoreply - How to ??? Message-ID: <1989Feb20.183114.28745@ateng.ateng.com> Date: 20 Feb 89 23:31:14 GMT References: <138@sysadm.UUCP> Organization: A T Engineering, Tampa, FL Lines: 30 According to bjorn@sysadm.UUCP (Bjorn Satdeva): >I need a good method to set up automagically reply with a preset >messages to incomming mail on a few special accounts. > >The system here is is SysV without sendmail, but with smail added. The "deliver" program, recently posted to comp.sources.unix and currently at patchlevel eight, should be able to handle this. For example, this user delivery file not only delivers messages normally, it also replies automatically to all messages originating off-site. # User delivery file for auto-reply. echo "$1" # Always deliver normally case $SENDER in *!*) mail $SENDER <<-EOF Subject: Automatic reply To: $SENDER This is an automatic reply. Blah, blah. EOF ;; esac -- Chip Salzenberg or A T Engineering Me? Speak for my company? Surely you jest! "It's no good. They're tapping the lines."