Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-4789

CiviMail cron jobs create files in root directory

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 2.2.6
    • Fix Version/s: None
    • Component/s: CiviMail
    • Labels:
      None

      Description

      The CiviMail component creates a file (name of file = name of the script and the parameters used to call it) in my root (maybe home?) directory every time cron calls civimail.cronjob.php or CiviMailProcessor.php

      see my forum post for more details:
      http://forum.civicrm.org/index.php/topic,9033.0.html

      The file created by civimail.cronjob.php is empty. The file created by CiviMailProcessor.php contains the following:

      connecting to mail.[mydomain].com, authenticating as website@[mydomain].com and selecting INBOX
      <br />
      <b>Fatal error</b>: Uncaught exception 'ezcMailTransportException' with message 'An error occured while sending or receiving mail. Failed to connect to the server: mail.[mydomain].com:143.' in /[home]/[user]/public_html/cms/sites/all/modules/civicrm/packages/ezc/Mail/src/transports/transport_connection.php:97
      Stack trace:
      #0 /[home]/[user]/public_html/cms/sites/all/modules/civicrm/packages/ezc/Mail/src/transports/imap/imap_transport.php(358): ezcMailTransportConnection->__construct('mail.[mydomain-incomplete]...', 143, Object(ezcMailImapTransportOptions))
      #1 /[home]/[user]/public_html/cms/sites/all/modules/civicrm/CRM/Mailing/MailStore/Imap.php(60): ezcMailImapTransport->__construct('mail.[mydomain-incomplete]...', NULL, Array)
      #2 /[home]/[user]/public_html/cms/sites/all/modules/civicrm/CRM/Mailing/MailStore.php(61): CRM_Mailing_MailStore_Imap->__construct('mail.[mydomain-incomplete]...', 'website@[mydomain-incomplete]...', '[my-email-webmail-password]', false, NULL)
      #3 /[home]/[user]/public_html/cms/sites/all/modules/civicrm/bin/CiviMailProcessor.php(60): CRM_Mailing_MailSt in <b>/[home]/[user]/public_html/cms/sites/all/modules/civicrm/packages/ezc/Mail/src/transports/transport_connection.php</b> on line <b>97</b><br />

      STOPPING CREATION OF THE FILES

      Is there a way to turn off the "saved" setting that's mentioned in the emails from cron? I cannot find anything relevant on the CiviCRM documentation here:
      http://wiki.civicrm.org/confluence/display/CRMDOC/CiviMail+Mailer+Settings

      see my forum post for more details:
      http://forum.civicrm.org/index.php/topic,9033.0.html

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              curious-trick Patrick Gibbs
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: