I’m running the freepbx distro 6.12.65 and sendmail is sending an email every 60 seconds but i don’t understand what is going on. Here is a snippet from /var/log/maillog of each time it sends:
This is the REAL sendmail as far as I can tell and not Postfix…
It also look like it’s running SpamAssassin or something similar and a milter of some kind which is not standard from the distro…
I thought the distro (even the version you are running) used Postfix and I am pretty sure it has no milter and SpamAssassin, are you sure this is the distro?
Not so much, on installation, Postfix will install it’s own sendmail for compatablity, try it
man sendmail
So don’t worry about all the antispam stuff you might have added, the email is coming from the local “root” account and being sent successfully to the local “asterisk” account,as your logs expose.
Some diagnostics,
edit /etc/aliases to arrange to send the email for root and asterisk to a valid email account that you can read or perhaps use elm or mutt to read those mailboxes locally if your postfix is set up badly and the asterisk/root forwarding is not working.
dicko, I am pretty sure that this is not Postfix sendmail “emulation”…
I was mail server admin at work for like 10 years and still do some and this looks like the REAL sendmail and not the one Postfix provides for compatibility…
He/She did quite a few modifications to the base setup of the distro if this is not using Sendmail, the REAL one…
I’m running sendmail-8.14.4-8.el6.x86_64, sorry I didn’t make that clearer in my earlier post. I use this freepbx machine as a mail server too and I installed mimedefang to weed out the spam I get.Thanks for any further help.
The email subject indicates this is being generated from the Dashboard cron job, which indeed runs every minute. Something in the scheduler script is failing and generating output that gets sent as an email. Please file a bug report including email message content at http://issues.freepbx.org
Some service in the dashboard updater seems to have gone away. @dicko suggested the RSS feed. I’d start there. If you want to disable the cron job until you get it fixed, use “crontab -e” and comment out the dashboard scheduler.
thanks I removed the rss feeds and clicked ‘apply config’ but the system is still pumping out these damn emails.I also went to the bug report link given above but I don’t have a log in, and when I clicked JIRA administrators.I got a ‘Your JIRA administrator has not yet configured this contact form.’.
You’ve verified that this is where the email is coming from (you get the same output from running the script that you do from the console).
It’s all open-source - time to break out the editor. Open the file up and start troubleshooting. I’d recommend looking for places where you can add some “print” commands and start figuring out the errors.
thanks again for the further replies. I solved this by restoring a previous freepbx backup - one I had before this problem started, and then I rebooted the machine just for good measure. The emails have now stopped.