[vox-tech] sending mail from shell
Dave Margolis
vox-tech@lists.lugod.org
Tue, 20 Jan 2004 11:22:03 -0800 (PST)
If you or your isp use q-mail, you can use qmail-inject in a very similar
way...via scripts or directly from the command line.
I always imagined that mail was a wrapper to /your/path/to/sendmail
anyway, but I just did a _man mail_ on the system I'm on, and it occurs to
be it's own program. It's also a binary file, but that doesn't rule out
the possibility that it is a wrapper.
Dave
On Tue, 20 Jan 2004, Bill Kendrick wrote:
> On Tue, Jan 20, 2004 at 09:01:25AM -0800, Jonathan Stickel wrote:
> > What is the program/package which provides the 'mail' command that can
> > be used to send simple emails from shell? It must be very basic, but my
> > gentoo install is missing it.
>
> I typically use 'sendmail'.
>
> When I sent out LUGOD announcements (which go to more than just vox-announce,
> but also to other LUG lists, newspapers, etc.), I run a little shell script
> that goes through a list of email addresses (in "lugod.list"), and sends
> each address a message which comes from another text file ("lugod.txt").
>
> I invoke "/usr/sbin/sendmail" on my ISP's shell to do it. Works great!
>
> I think you can also use "mail". I forget when and why I switched.
> I'm really far from an expert in this kinda stuff ;)
>
> -bill!
> bill@newbreedsoftware.com Got kids? Get Tux Paint!
> http://newbreedsoftware.com/bill/ http://newbreedsoftware.com/tuxpaint/
>
> _______________________________________________
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech
>