macsat.com OpenWrt and ASUS WL Forum
January 08, 2009, 09:56:21 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?
Login with username, password and session length
News: Back to macsat.com
 
   Home   Help Search Login Register  
Pages: 1 [2]   Go Down
  Print  
Author Topic: esmtprc tutorial.  (Read 7330 times)
0 Members and 1 Guest are viewing this topic.
Jarex
Newbie
*
Offline Offline

Posts: 39


View Profile
« Reply #15 on: July 08, 2006, 18:18:54 PM »

Hi again,

Now I have it and still does not work.

echo "Test Message" | sendmail user@domain.com -f user@domain.com (with my date filled in)
This is what I am getting: "SMTP server problem Invalid SMTP status code in server response"

This is my esmtprc file:
hostname = "smtp.chello.pl:25"
username = "j.s******"
password = "******"

if I remove 25 port esmtprc stuck doing nothing.
Logged
Jarex
Newbie
*
Offline Offline

Posts: 39


View Profile
« Reply #16 on: July 11, 2006, 07:40:42 AM »

Server is ok.

When I do this

telnet mail.chello.pl 25
220 viefep33-int.chello.at ESMTP server (InterMail vG.2.02.00.00 201-2161-120-101-20051020) ready Mon, 10 Jul 2006 19:23:18 +0200
HELO jarex.chello.pl
250 viefep33-int.chello.at
QUIT

there is an answer, so what is wrong with esmtprc? Maybe there is sth missing in file or the test command should be different?
Logged
Jarex
Newbie
*
Offline Offline

Posts: 39


View Profile
« Reply #17 on: July 12, 2006, 16:21:15 PM »

Finally I make it work.

I needed an option "helo" in esmtprc.
Logged
Jarex
Newbie
*
Offline Offline

Posts: 39


View Profile
« Reply #18 on: July 13, 2006, 12:45:14 PM »

I am trying to send file or contents of file with sendmail, eventually result of wget command. As far as I know it is not posiible. I should try it with mutt for example or other software. Can anyone help me with it?
Logged
Jarex
Newbie
*
Offline Offline

Posts: 39


View Profile
« Reply #19 on: July 13, 2006, 14:35:35 PM »

Finally I managed to make it work as well. It is possible to send contests of file with sendmail but for some reason file I placed at cron (sth.log) was disabled. I could open it do not know why even the script did everything correct and put some data in this file. I had to change a name of this file to this one (sth.*) without log at the end.
The most important thing is working script but if anyone knows the reason I could not open file let me know, please.
Logged
piezomot
Newbie
*
Offline Offline

Posts: 1


View Profile
« Reply #20 on: March 22, 2008, 02:39:07 AM »

Finally I managed to make it work as well. It is possible to send contests of file with sendmail but for some reason file I placed at cron (sth.log) was disabled. I could open it do not know why even the script did everything correct and put some data in this file. I had to change a name of this file to this one (sth.*) without log at the end.
The most important thing is working script but if anyone knows the reason I could not open file let me know, please.

Hi how you were able to make it work?

I have SMTP server problem Connection refused message...

My settings:
Code:
hostname = smtp.gmail.com:25
starttls = required
identity = myname@gmail.com
username = myname
password = mypassword
starttls = enabled

Thanks.
Logged
Pages: 1 [2]   Go Up
  Print  
 
Jump to:  

English Steel 1.6 © Saxon North Technologies
Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.17 seconds with 23 queries.