From owner-freebsd-questions@FreeBSD.ORG Fri Apr 17 07:33:10 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F915106566B for ; Fri, 17 Apr 2009 07:33:10 +0000 (UTC) (envelope-from steve@ibctech.ca) Received: from ibctech.ca (unknown [IPv6:2607:f118::b6]) by mx1.freebsd.org (Postfix) with SMTP id 300F38FC0A for ; Fri, 17 Apr 2009 07:33:10 +0000 (UTC) (envelope-from steve@ibctech.ca) Received: (qmail 7335 invoked by uid 89); 17 Apr 2009 07:33:24 -0000 Received: from unknown (HELO ?IPv6:2607:f118::5?) (steve@ibctech.ca@2607:f118::5) by 2607:f118::b6 with ESMTPA; 17 Apr 2009 07:33:24 -0000 Message-ID: <49E830B0.6020707@ibctech.ca> Date: Fri, 17 Apr 2009 03:33:04 -0400 From: Steve Bertrand User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Odhiambo Washington References: <490628.66452.qm@web52201.mail.re2.yahoo.com> <991123400904162235j2035f740l5b79247026b86836@mail.gmail.com> In-Reply-To: <991123400904162235j2035f740l5b79247026b86836@mail.gmail.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: alydiomc@yahoo.com, freebsd-questions@freebsd.org Subject: Re: Freebsd Built-in vacation program does not auto reply X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Apr 2009 07:33:10 -0000 Odhiambo Washington wrote: > On Fri, Apr 17, 2009 at 6:00 AM, lyd mc wrote: > >> Hi guys, >> >> Why Freebsd built-in vacation program (/usr/bin/vacation) does not auto >> reply? >> >> I am using fresh installed Freebsd7.0 and 7.1. here is my configs. >> >> Under the home directory of the user (alydio.mc) >> >> .forward >> \alydio.mc, "|/usr/bin/vacation alydio.mc" >> >> .vacation.msg >> Subject: On vacation message >> From: alydio.mc@mydomain.com >> I'm on vacation and will not be reading my mail for a while. >> Your mail will be dealt with when I return. >> . >> from postfix/sendmail logs: >> >> ...sniff >> (delivered to command: /usr/bin/vacation alydio.mc) >> >> after this nothing will happened... no errors.... no warnings... >> >> However the one I installed from ports (/usr/local/bin/vacation) works >> fine. >> >> >> I want to use the freebsd base vacation program. > > > Did you read the man page fully and understand it? > Did you initialize the vacation database? > Have you tried to run it in debug mode? > Try RTFM again and see if you could figure out the problem yourself. Wow... wait a sec... I recall years ago having to deal with 'vacation' messages along with sendmail, and with thousands of users, I hated doing it manually. Perhaps a ``how I do it'' is warranted here. It is quite apparent that the OP has RTFM, _and_ tried to work it out for himself... Off the top of my head, here is what I had to do to create a vacation message. Perhaps sendmail folk could help me out here: Run the following command to initialize the vacation db: # vacation -i ...now, put your content into a file called ".vacation.msg" in the user's home directory. The data could resemble something like this: From: my@email.address (Steve Bertrand) Subject: Out of office Delivered-By-The-Graces-Of: The Vacation program Precedence: bulk I will be out of the office for the rest of my life. Contact someone who cares until I decide I come back. ...then, in a file named ".forward" within the users home directory, put: \username, "| /path/to/vacation username" ...as far as I recall, this should kick the vacation program into gear. Steve