Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Hi,
has someone any solution how to send an email from a shell script? All mails should forward only to an internal smpt-server (no security).
I try it with sendmail / mailx / esmtp but with no success.
Please help me.
thanks.
woodle
Last edited by woodle (2009-09-14 20:32:15)
Offline
optware mutt + firmware msmtp works for me.
http://dns323.kood.org/howto:optware
Here is my configs
.muttrc
-----------------
set sendmail= "/usr/bin/msmtp"
set from= "dlink@XXXXX.com"
set use_from= no
set assumed_charset= "utf-8"
set move= no
set sendmail_wait= 0
set copy=no
---------.msmtprc------
host smtprelay1.telia.com
port 25
auth off
tls off
user admin
password admin
protocol smtp
from dlink@XXXXX.com
tls_certcheck off
syslog on
I hope this helps.
Offline
I have written a shell script in which I use fastmail to send emails from the shell script.
It sends email to my company account with no problem. But I wan to send the same email to a pager number so that the pager goes off when the particular condition occurs.
I see that email is not being send to the pager from this script.
_________________
IP PBX
Offline