From owner-freebsd-questions Thu Feb 11 04:03:39 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA04246 for freebsd-questions-outgoing; Thu, 11 Feb 1999 04:03:39 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from linux1.usls.edu (linux1.usls.edu [202.47.133.46]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA03938 for ; Thu, 11 Feb 1999 04:01:39 -0800 (PST) (envelope-from francis@usls.edu) Received: by linux1.usls.edu (Postfix, from userid 500) id 0448D769B; Thu, 11 Feb 1999 19:10:12 +0800 (PHT) Received: from localhost (localhost [127.0.0.1]) by linux1.usls.edu (Postfix) with ESMTP id F2DB37615; Thu, 11 Feb 1999 19:10:12 +0800 (PHT) Date: Thu, 11 Feb 1999 19:10:12 +0800 (JST) From: "Francis A. Vidal" To: Stefano Riva Cc: freebsd-questions@FreeBSD.ORG Subject: Re: sending mail without running SMTP service In-Reply-To: <3.0.5.32.19990211114537.009c1db0@relay.alice.it> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 11 Feb 1999, Stefano Riva wrote: > 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. it doesn't work :( i tried sending but i still get "Could not connect to SMTP server Connection refused". -- francis vidal university of st. la salle, bacolod city, philippines . . . . . . . PGP key available via e-mail / subject: get PGP key u s l s N E T tel. nos. (6334).435.2324 / 433.3526 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message