Gene Heskett wrote: > On Friday 24 February 2006 09:06, Bowie Bailey wrote: > > Gene Heskett wrote: > > > On Thursday 23 February 2006 22:45, Bob McClure Jr wrote: > > > > On Thu, Feb 23, 2006 at 10:36:19PM -0500, Gene Heskett wrote: > > > > > <snippage> > > > > > I don't seem to be getting any email from RDJ recently. Maybe > > > > > since the time I switch this system from fetchmail to a > > > > > mailfile, and from there had kmail running SA which was a cpu > > > > > killer. Now I have fetchmail handing it off to procmail, > > > > > which is doing the SA application and things are quite a bit > > > > > happier. > > > > > > > > > > I didn't play with sendmail so its still supposedly handling > > > > > the locally generated emails, and I just looked in > > > > > /var/spool/mail and all accounts there are at 0 length so > > > > > kmail is indeed picking up everything put there. If RDJ is > > > > > sending me email from its early morning run, its getting lost > > > > > someplace. > > > > > > > > > > Also, where would it put it if it did dl a new version of > > > > > itself? > > > > > > > > Probably in /etc/mail/spamassassin/RulesDuJour/. > > > > > > And you are correct, its the same length anyway, as the one I dl'd > > > DBY and installed by hand. Now to figure out why its not sending > > > me email. > > > > > > A snippet or 3 from a 'crontab -l' as root: > > > [EMAIL PROTECTED] > > > 06 22 * * * /etc/init.d/asmb restart > > > 40 4 * * 0 /root/bin/fetchmail-restart > > > 37 6 * * * /usr/local/sbin/rules_du_jour > > > > > > And I am getting email from the first 2 of those, but not the > > > third. The 2nd one is to allow logrotate to close the logfiles > > > and reopen them. However, I may have to delay that more than 4 > > > minutes it appears. > > > > RDJ has it's own email settings. Add a line to your RDJ config > > file: > > > > MAIL_ADDRESS="[EMAIL PROTECTED]" > > Ok, this was set to gene, whose also in the kmail suckage list, and > who does get email ok as thats the user who runs the email system > here. > > And I note that if I run RDJ by hand, all steps involving curl are > returning a '304', an error code not defined in the manpage. Any idea > what that means?
This how RDJ sends mail. Try it as root on your box and see what happens. echo -e "test email" | \ sh -c "mail -s \"Test subject\" [EMAIL PROTECTED]"; A 304 status code indicates that the page has not been changed and does not need to be downloaded. I believe this is normal unless one of the rule sets has changed. -- Bowie