Sorry for the lengthy and somewhat untidy view of this issue. I'm still trying to get the hang of this forum and its formatting.
Issue: SuiteCRM-VM Intermittent issues with releasing campaign emails
Desc: At times (Send Queued Campaign Emails) does not function. The page refreshes and returns to the queue with all the emails still in the queue.
Config: Bitnami VM running on Hyper-V server, Ubuntu: 14.04, SuiteCRM: v 7.7.7, PHP: 5.6.19 , PHPInfo; Linux ubuntuSuiteCRM 3.13.0-101-generic #148-Ubuntu SMP Thu Oct 20 22:08:32 UTC 2016 x86_64, Email; Office365 exchange server (Note: Test eMails ARE successful.)
Steps taken to attempt resolution:
- As mentioned earlier (at times) a quick repair has enabled me to send emails from the queue. However, I cannot reproduce the affect with any regularity.
- I have attempted to review email error logs by adding/editing the following options to /opt/bitnami/php/etc/php.ini:
a. mail.add_x_Header = On
b. mail.log = /var/log/phpmail.log
i. In addition I have created an empty phpmail.log in the above directory and
ii. I have updated the permissions to this file for User: daemon and Group: daemon for -rw-rw-rw- as well as all others
iii. Note that I used the following method to arrive at the "daemon" credentials; ps -ef | grep httpd | grep -v grep
iv. And it's output was:
root 2912 1 0 14:29 ? 00:00:00 /opt/bitnami/apache2/bin/httpd.bin -f /opt/bitnami/apache2/conf/httpd.conf
daemon 2914 2912 0 14:29 ? 00:00:02 /opt/bitnami/apache2/bin/httpd.bin -f /opt/bitnami/apache2/conf/httpd.conf
daemon 2915 2912 0 14:29 ? 00:00:01 /opt/bitnami/apache2/bin/httpd.bin -f /opt/bitnami/apache2/conf/httpd.conf
daemon 3352 2912 0 14:30 ? 00:00:01 /opt/bitnami/apache2/bin/httpd.bin -f /opt/bitnami/apache2/conf/httpd.conf
c. With the above in place, I was expecting to see additions to the phpmail.log file. However, no activity is reported in the file either with:
i. Test emails from the email admin module, OR
ii. From Campaign emails (when they actually are released from the queue).
If someone could please point me to any possible clues where I could try to resolve these issues I would appreciate it. This has been driving me crazy for a number of weeks.
Thanks in Advance,
*** UPDATE ***
I've tried different email addresses including Relay servers. Note that the relay does not require any authentication other than exiting IP. So, we can rule out any password or TLS issues. And, the results are the same... Can't manually send Queued email campaign emails.
ANY clues would be appreciated.