From owner-freebsd-questions Thu Feb 11 02:45:48 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA26744 for freebsd-questions-outgoing; Thu, 11 Feb 1999 02:45:48 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from dns.ie-online.it (dns.ie-online.it [194.133.148.8]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA26739 for ; Thu, 11 Feb 1999 02:45:45 -0800 (PST) (envelope-from sriva@alice.it) Received: from dns.ie-interna.it (host1.ie-online.it [194.133.148.10]) by dns.ie-online.it (8.8.8/8.8.8) with ESMTP id LAA29524; Thu, 11 Feb 1999 11:45:38 +0100 (CET) (envelope-from sriva@alice.it) Received: from stefano (stefano.ie-interna.it [192.168.0.33]) by dns.ie-interna.it (8.8.8/8.8.8) with SMTP id LAA24718; Thu, 11 Feb 1999 11:45:38 +0100 (CET) (envelope-from sriva@alice.it) Message-Id: <3.0.5.32.19990211114537.009c1db0@relay.alice.it> X-Sender: riva@relay.alice.it X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Thu, 11 Feb 1999 11:45:37 +0100 To: "Francis A. Vidal" , freebsd-questions@FreeBSD.ORG From: Stefano Riva Subject: Re: sending mail without running SMTP service In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 18.11 11/02/99 +0800, you wrote: >i have sendmail on my system (2.2.8-STABLE) and i want to send mail(s) >without running sendmail in daemon mode. i used to send mail via the >`mail' command and piping whatever i want it to send. how can i do this >via sendmail? You can disable loading sendmail as a daemon (boot-time) in /etc/rc.conf. Using sendmail to send a message is similar to using mail; for example type "sendmail john@smith.com" and type in your message terminated by a dot on an otherwise empty line. Piping/redirection of course works. "man sendmail" for details on command-line arguments. --- Stefano Riva Software Engineer - Systems Administrator Informazioni Editoriali I.E. Srl Phone +39-027528400, Fax +39-027528451 Email sriva@alice.it To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message