DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2011-08-05 02:57:40

heliotrope
New member
Registered: 2011-08-05
Posts: 3

sending email from the terminal?

I'd like some help with sending email using mailx or msmtp.  I've done the usual fun_plug stuff and that all works.  However, I cannot send email with crontab.  Can anyone give me a tutorial on configuring mailx?

Thanks!

Offline

 

#2 2011-08-06 21:45:48

RayDNS320
Member
Registered: 2011-08-06
Posts: 6

Re: sending email from the terminal?

Have a look here for example:
http://bfg100k.blogspot.com/2009/04/how … nning.html

Note:
You can use echo instead of having to create a file:
echo "Text body of email" > mailx ....

Offline

 

#3 2011-08-07 00:24:15

heliotrope
New member
Registered: 2011-08-05
Posts: 3

Re: sending email from the terminal?

Thank you for the heads up.  The problem I was having was with creating the esmptrc file.  I tried doing that, but the msmtp script just sits there blinking, doing nothing.  Maybe someone can tell me how to make the esmtprc script properly?

Offline

 

#4 2011-08-11 16:11:32

RayDNS320
Member
Registered: 2011-08-06
Posts: 6

Re: sending email from the terminal?

I haven't tried it myself on my DNS-320, maybe that thread helps:

http://dns323.kood.org/forum/viewtopic.php?pid=30219

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB