View Full Version : Quick Daily Mail Question
6022tivo
06-04-2007, 11:44 AM
I have not had daily mails for ages, can not find the old thread, and as not much happens, I thought I would start a quick new one...
Looking at the logs I get
10:45:31-message length: 114 kilobytes
10:45:31-got reply : >>250 Message received: 2007020110452"EDIT"-winn.ispmail.ntl.com@ntlworld.com<<
10:45:31-message sent
10:45:31-got reply : >>221 aamtaout02-winn.ispmail.ntl.com ESMTP server closing connection<<
10:45:31-disconnected
Anyone else having problems with NTL???.
C:\Users\Phil>ping smtp.ntlworld.com
Pinging smtp.ntlworld.com [81.103.221.11] with 32 bytes of data:
Reply from 81.103.221.11: bytes=32 time=50ms TTL=118
I have checked the IP is correct and I can view the dailymail directly via tivoweb ok.
ColinYounger
06-04-2007, 12:05 PM
I've just sent myself a daily mail message successfully.
The excerpt of the logs you posted shows a successful send. Could it be that you've spammed the message accidentally?
6022tivo
06-04-2007, 12:22 PM
I don't think so, look at the times, it could not send 114 K of data in a second?? The NTL servers are closing the connection straight away (I think).
ColinYounger
06-04-2007, 12:29 PM
With the message body, a SMTP server EOM marker is a single full stop on a line by itself - which you shouldn't get that in normal email 'conversation'. E.G.:
Client: MAIL
Server: >> Send data, finish with a full stop [paraphrasing from memory]
Client: <message text and attachments>
Client: .
Server: >>250 Message received
So the fact you're getting a 250 (message received OK) suggests that SOMETHING is being sent.
As for the timecode, I agree that looks suspicious. Got debug level 3 set?
6022tivo
06-04-2007, 12:33 PM
Will set a higher debug and see what happens, be right back.
EDIT, just checked, it was on 3 already (last time I tried to check was a month or two ago, have not set it back.)
6022tivo
06-04-2007, 12:38 PM
Just noticed the date in the email ref was Feb, and some of the log data refered to a manual request to send a dailymail.
I fear I have messed up my cron file, and nothing is running.. I have just told it to send a dailymail, if it arrived I know what I have done.
Do you know the command to see if cron is running???
PS /? or something to see processes isn't it??
6022tivo
06-04-2007, 12:40 PM
INBOX has a email..
For info.. Vista mail thought is was a phising email (Maybe links to my webspace for the images?)
Silly me, off to check cron..
6022tivo
06-04-2007, 01:09 PM
Ok, thanks for the thread, which has helped me fix my problems, I used the thread as a note pad really.
Found that although using tivoweb to edit the crontab file was stop on, when telnet and used joe, it had "M"'s at the end of every line???
I must of FTP'ed it over using the incorrect method at one time.
Funny how the tivoweb method missed out all the "M"'s when viewing on the screen.
All should be ok now.
TCM2007
06-04-2007, 01:51 PM
They are not "M"s but ctrl-Ms - the line feed control character, which TCL ignores.
6022tivo
06-04-2007, 01:59 PM
Tcl?? Cron will ignore them???
TCM2007
06-04-2007, 02:15 PM
TCL is the language which TivoWeb is written in. Commands like cron run from bash, which does not ignore stray ctrl-Ms.
6022tivo
02-18-2008, 02:42 PM
Back to this again...
HELP
CRON is running, did a PS -ax command, but it is not running anything in the previously working crontab file??
Does the crontab file have to be chmodded in anyway???
Also dailymail is not working.
I have a SKY mail account now, have changed the IP but get the following errors.
18:49:19-entered sendmail procedure
18:49:19-variable check:
18:49:19-mailserver : >>66.249.93.208<<
18:49:19-domain : >>sky.com<<
18:49:19-recipient : >>redtivo@m***EDITED***.co.uk<<
18:49:19-subject: >>Red TiVo Status Email For Monday February 18, 2008<<
18:49:19-attempting to open socket 25 to mailserver specified >>66.249.93.208<<
18:49:25-got reply : >>220 mx.google.com ESMTP y1sm1831812uge.39<<
18:49:25-connected
18:49:26-got reply (multi-line) : >>250-SIZE 28311552<<
18:49:26-got reply (multi-line) : >>250-8BITMIME<<
18:49:26-got reply (multi-line) : >>250-STARTTLS<<
18:49:26-got reply (multi-line) : >>250 ENHANCEDSTATUSCODES<<
18:49:26-got reply : >>250 ENHANCEDSTATUSCODES<<
18:49:26-ehlo acknowledged
18:49:27-got reply : >>530 5.7.0 Must issue a STARTTLS command first y1sm1831812uge.39<<
18:49:27-connection rejected
Anyone got mail working with SKY?? They use a google email server (I think?)
FWIW and it's not much - when I edit my crontab I have to kill and restart cron.
The documentation IN the crontab file says I don't have to, but I found it was the only way.
Use "ps" to find the pid then "kill [pid]" to stop it. "cron" again to begin again.
Don't know about Sky, but my Virgin Media (ADSL) account needed the BASE64 encoded authentication strings which took a bit of fiddling to work. I couldn't get talk21.com a.k.a. Yahoo.co.uk to accept any connection from Tivo.
vBulletin® v3.6.8, Copyright ©2000-2009, Jelsoft Enterprises Ltd.