CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 2.1 Release Testing »
  • SMTP mailer enforced in civicrm-settings.php?
Pages: [1]

Author Topic: SMTP mailer enforced in civicrm-settings.php?  (Read 2361 times)

phani

  • I’m new here
  • *
  • Posts: 28
  • Karma: 3
    • namahatta.org DB
SMTP mailer enforced in civicrm-settings.php?
August 31, 2008, 04:42:59 am
i've upgraded to 2.1 beta (drupal 6.4) without any problems, except i don't seem to be able to change the default mailer from SMTP to sendmail.

until now i've done this by editing /Core/Config.php manually, and it worked fine. now this setting can be changed in the global options, which is great. unfortunately, after giving the correct location for sendmail on my server (/usr/sbin/sendmail), and specifying "-oit" as sendmail options (it won't accept no option), the icons and options for sending mail disappear from my contact records and listings.

trying to go to the appropriate URL manually (~/civicrm/contact/view/activity?atype=3&action=add&reset=1&cid=1) produces this error:

"Your setup enforces SMTP authentication, but does not provide SMTP username and/or password. Please fix your civicrm.settings.php file."

as far as i know, settings for smtp server, password, etc., have been moved out of  settings.php some time ago, and there's nothing that relates to mailer settings in there.

where is SMTP as mailer being inforced? i can't seem to find it in the DB, or anywhere else...

phani

  • I’m new here
  • *
  • Posts: 28
  • Karma: 3
    • namahatta.org DB
Re: SMTP mailer enforced in civicrm-settings.php?
August 31, 2008, 05:32:23 am
i'm sorry, should have waited a bit longer with posting this--figured it out, after all.

in my global settings SMTP authentitcation was set to "yes," which caused the system to consider that SMTP was being 'enforced'--even though smtp server & port were set to blank.

that led to another error message, saying that i didn't have valid smtp server settings--never mind that i had chosen sendmail as transport client.

finally, after providing dummy-smtp-settings (localhost:25) and setting smtp-auth. to "no," i'm able to send mail via sendmail. would make life easier if, when "sendmail" is selected as transport, the smtp options wouldn't be checked anymore...

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: SMTP mailer enforced in civicrm-settings.php?
August 31, 2008, 12:39:23 pm

Issue filed here: http://issues.civicrm.org/jira/browse/CRM-3478

we will fix this before next beta release

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 2.1 Release Testing »
  • SMTP mailer enforced in civicrm-settings.php?

This forum was archived on 2017-11-26.