While Mark's email (below) was almost 6 years ago, and we had an alternative
solution for him at the time using "mime_pack"
we just added a functional /bin/mail with Revision: 7791 in the SVN.
As such his example,
--
mail -s "CDR_records" -a /mnt/kd/cdr-csv/Master.csv g7...@g7ltt.com Hi folks,
>
Mark,
This is simpler than it may seem at first glance.
We use msmtp which sendmail points to, which shares most options of sendmail.
These building blocks are very general to apply to many different applications.
You could make a simple script wrapper, for example "mail-cdr"
$ /mnt/kd/bin/mai
Thanks Lonnie.
This is kinda complicated. Can I assume that with the advent of the
regular C libraries rather than the ulibc libraries this will go away in
favour of something actual "sendmail" or exim or similar?
And what about previous versions?
Thanks
Mark
On 12/21/2010 06:57 PM, Lonnie A
Hi Mark,
The 'mail' command is just a dummy wrapper to /dev/null, not functional.
The command 'sendmail' is what you want to use.
Starting in 0.7.4, we added a new command 'mime-pack' that creates a mime
encoded email, ie.
$ mime-pack
Usage: mime-pack msg_body file_name1 mime_type1 [ file_nam
Hi folks,
I have a need to email certain log files and CDR records etc out of the
AstLinux box.
I've been using this command
mail -s "CDR_records" -a /mnt/kd/cdr-csv/Master.csv g7...@g7ltt.com
Which appears to complete but the mail and attachment never arrive.
Voicemail files from the sa