I am using OpenWrt 10.03 and need to send "reports" from my router by email. I have installed sendmail:
# opkg install mini-sendmail
Then I used my ISP's smtp server:
# echo -e "From: TEST@TEST.TES\nSubject: SUBJECT\nReply-to: TEST@TEST.TES\n\nBODYHERE" \ > | mini_sendmail -sMYISPSSMTPSERVER MYEMAIL@EXAMPLE.COM mini_sendmail: unexpected response 550 to RCPT TO command
How could I know, that my ISP's blocking port 25?
# telnet MYISPSSMTPSERVER 25 220 MYISPSSMTPSERVER ESMTP ready quit 221 MYISPSSMTPSERVER closing connection Connection closed by foreign host
so it's not blocked?
If port 25 isn't blocked, then how could I check this? Do I need an "email user" at my ISP?
- If I can't get email working, than I have to register a free e-mail address [gmail?], and find out, how to send e-mail [with username and password required] in OpenWRT The only problem is that, I don't want to store passwords on the router.