User Tools

Site Tools


doc:howto:smtp.client

SMTP client

Requirements

Name Version Dependencies Size Description
mini-sendmail 1.3.6-4 none 5866 mini_sendmail reads its standard input up to an end-of-file and sends a copy of the message found there to all of the addresses listed. The message is sent by connecting to a local SMTP server. This means mini_sendmail can be used to send email from inside a chroot(2) area.

Installation and Configuration

opkg install mini-sendmail

Example

mini_sendmail -ssmtp.mail.yahoo.com -p465 -tsuperadmin@openxrt.cc
 
usage: mini_sendmail [-f<name>] [-t] [-s<server>] [-p<port>] [-T<timeout>] [-v] [address ...]

Note that there must not be a space between the option and the value; e.g. "-p 465" is incorrect.

:!: Warning! This package is probably deprecated and no longer present in the latest trunk release of "chaos calmer", Version from barrier breaker still works (tested on CC r44223), but you will have to add oldpackages repository. Example for atheros based devices (ar71xx) you can use this:

root@OpenWrt:~# vi /etc/opkg.conf

dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists
option overlay_root /overlay
src/gz chaos_calmer_base http://downloads.openwrt.org/snapshots/trunk/ar71xx/gen
src/gz chaos_calmer_luci http://downloads.openwrt.org/snapshots/trunk/ar71xx/gen
src/gz chaos_calmer_management http://downloads.openwrt.org/snapshots/trunk/ar71
src/gz chaos_calmer_packages http://downloads.openwrt.org/snapshots/trunk/ar71xx
src/gz chaos_calmer_routing http://downloads.openwrt.org/snapshots/trunk/ar71xx/
src/gz chaos_calmer_telephony http://downloads.openwrt.org/snapshots/trunk/ar71x
# add this line to the end (in vi press a, paste the line and write using :wq keys, if you screw up, use :q! and try again):
src/gz barrier_breaker_oldpackages http://downloads.openwrt.org/barrier_breaker/

root@OpenWrt:~# opkg install mini-sendmail
You can also do it the quick and dirty way (I do not recommended this!!):
root@OpenWrt:~# opkg install http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/packages/oldpackages/mini-sendmail_1.3.6-4_ar71xx.ipk

doc/howto/smtp.client.txt · Last modified: 2015/01/31 19:08 by nozombian3