Here is how I solved the issue.
The crontab entry:
*/5 * * * * /usr/bin/php /var/www/mantis/plugins/EmailReporting/scripts/bug_report_mail.php 2>&1 | /usr/bin/logger -p local0.info -t bug_report_mail
And the rsyslog configuration file /etc/rsyslog.d/30-mantis.conf:
# Log EmailReporting ...
Search found 6 matches
- 27 Jul 2014, 08:39
- Forum: EmailReporting
- Topic: Failed to connect to the mail server
- Replies: 5
- Views: 9331
- 26 Jul 2014, 07:33
- Forum: EmailReporting
- Topic: Failed to connect to the mail server
- Replies: 5
- Views: 9331
Re: Failed to connect to the mail server
Well based on the output you gave, EmailReporting is not able to connect to your mail server. Which should mean that it cannot work as it should as emails cannot be retrieved in that situation.
Emails were and are retrieved. The issue was caused by an empty mailbox definition: after removing that ...
Emails were and are retrieved. The issue was caused by an empty mailbox definition: after removing that ...
- 25 Jul 2014, 08:45
- Forum: EmailReporting
- Topic: Failed to connect to the mail server
- Replies: 5
- Views: 9331
Re: Failed to connect to the mail server
Perhaps I did not make that clear enough: the emails are actually fetched and operated upon by Mantis in a seemingly correct way.
- 25 Jul 2014, 08:30
- Forum: EmailReporting
- Topic: Failed to connect to the mail server
- Replies: 5
- Views: 9331
Failed to connect to the mail server
Despite the fact mail fetching works, I am getting emails (one every 5 minutes because that is the frequency of the cron job) with the following contents:
----- cut here
Start checking all mailboxes: Friday 25th of July 2014 10:15:01
Mailbox:
Message: Failed to connect to the mail server
Done ...
----- cut here
Start checking all mailboxes: Friday 25th of July 2014 10:15:01
Mailbox:
Message: Failed to connect to the mail server
Done ...
- 24 Jul 2014, 10:17
- Forum: EmailReporting
- Topic: Push mode for EmailReporting?
- Replies: 3
- Views: 6442
Re: Push mode for EmailReporting?
I am not an email expert. As far as I can tell, by default postfix delivers the email in Unix-style mailbox format.
- 23 Jul 2014, 12:45
- Forum: EmailReporting
- Topic: Push mode for EmailReporting?
- Replies: 3
- Views: 6442
Push mode for EmailReporting?
Hi there. I am going through the available documentation for EmailReporting. I understand how EmailReporting works in pull mode: by fetching email from mailboxes, one mailbox per project in my case. However, for my setup, working in push mode would be simpler: I would instruct postfix to feed email ...