[Cialug] 12.1, Postfix, & mail

Paul Gray gray at cs.uni.edu
Fri Jul 6 14:25:49 CDT 2012


On 7/6/2012 2:08 PM, L. V. Lammert wrote:
> Heretofore, any Unix/Linux machine I have used had an alias for 'mail'
> used by the local MTA (sendmail, postfix, et al) for sending email from
> the command line.
>
> Imagine my surprise when I build a 12.1 server (Postfix MTA), and there is
> no mail or sendmail!
>
> How is one supposed to send email from the commandline now?

There's always
nc <host> 25
ehlo
mail from:
rcpt to:

.

:)

Or a more practical suggestion: I use sendEmail from the command line to 
script bulk messages to students based on exam results/grades/etc.
It might require a system "sendmail" under the hood, however.
-PG




More information about the Cialug mailing list