Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Feb 1999 11:45:37 +0100
From:      Stefano Riva <sriva@alice.it>
To:        "Francis A. Vidal" <francis@usls.edu>, freebsd-questions@FreeBSD.ORG
Subject:   Re: sending mail without running SMTP service
Message-ID:  <3.0.5.32.19990211114537.009c1db0@relay.alice.it>
In-Reply-To: <Pine.LNX.4.05.9902111806450.5238-100000@linux1.usls.edu>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.5.32.19990211114537.009c1db0>