No mail being sent by cron

No mail being sent by cron

by Thor Hauknes -
Number of replies: 3
Hi
I have had a small Moodle installation running for three months.
The last couple of weeks no mail have been sent out from the forums.
I have not changed anything. I use a smtphost account for sending mail.
Cron has been working previously, and still says that everything is ok.
My moodle-site is being hosted by an external provider.
Has anyone experienced similar problems?
Thor

Ps. This is the cron output:
Server Time: Wed, 09 Nov 2005 00:00:00 +0100


Starting activity modules
Processing module function assignment_cron ...done.
Processing module function forum_cron ...done.
Processing module function journal_cron ...done.
Processing module function workshop_cron ...done.
Finished activity modules
Updating languages cache
Running backups if required...
    Checking backup status...INACTIVE
Backup tasks finished.
Running rssfeeds if required...
    Generating rssfeeds...
        assignment: ...NOT SUPPORTED (file)
        chat: ...NOT SUPPORTED (file)
        choice: ...NOT SUPPORTED (file)
        forum: generating ...OK
        glossary: generating ...OK
        hotpot: ...NOT SUPPORTED (file)
        journal: ...NOT SUPPORTED (file)
        label: ...NOT SUPPORTED (file)
        lesson: ...NOT SUPPORTED (file)
        quiz: ...NOT SUPPORTED (file)
        resource: ...NOT SUPPORTED (file)
        scorm: ...NOT SUPPORTED (file)
        survey: ...NOT SUPPORTED (file)
        wiki: ...NOT SUPPORTED (file)
        workshop: ...NOT SUPPORTED (file)
    Ending  rssfeeds......OK
Rssfeeds finished
Cron script completed correctly
Execution took 0.335678 seconds

Average of ratings: -
In reply to Thor Hauknes

Re: No mail being sent by cron

by Ralph Putnam -
Thor,
You might be encountering the same problem I've been having.  See thread http://moodle.org/mod/forum/discuss.php?d=33974 for my solution.  Maybe it will work for you! 
Ralph
In reply to Ralph Putnam

Svar: Re: No mail being sent by cron

by Thor Hauknes -
Thank you Ralph, for your suggestion; I have tested both with a smtp user and without.
My web admin account's email also is within the same domain as my moodle setup, but still no mails...
Any other suggestions, folks?
Could this have something to do with changes done in the setup of the webserver?
And what kind of settings would affect the behaviour of cron/sending of mails?
thor
In reply to Thor Hauknes

Re: Svar: Re: No mail being sent by cron

by Maik Riecken -
Let's circle closer to the error...

Try out another SMTP-Host
There many freemail services providing pop3/smtp-access. Create an account, change the admin email to the new address and fill in the new login/password for smtp-auth.

a) it works - congratulations, there is something wrong with your server configuration
* the number of mails delivered by the same sender often is limited, e.g. postfix sais definitely "no" with more than 250 mails (base config).
* you are blacklisted for some reasons, e.g. exorbitant mail delivery...

b) it works not - bad
* maybe new firewall settings are preventing contact to the smtp-server (check this out by using a email-client like thunderbird..)
* your moodle-installation is damaged - update?

Maik