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) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • email problems
Pages: [1]

Author Topic: email problems  (Read 1410 times)

jgregory

  • I post occasionally
  • **
  • Posts: 55
  • Karma: 1
  • CiviCRM version: 4.5.3
  • CMS version: Drupal 7.34
  • MySQL version: 5.5.40
  • PHP version: 5.3.29
email problems
March 08, 2011, 04:21:47 pm
I can't get CiviCRM to send any email. I read that there is a difference between sending a test email and sending an email from the contact interface. I can't get either to work.

  • My Joomla Global Config is set to "PHP Mail Function".
  • My CiviCRM "Outbound Mail" settings page takes along time to load (~1 minute)... It's set to Mail(). When I send a test message with that. It takes a really long time (~3-5 minutes) to update the screen. When it does, it says the message was successful; but I never receive anything.
  • I have set my "From email address".
  • I have read the flossmanual (http://en.flossmanuals.net/CiviCRM/SystemConfiguration).
  • I am running CiviCRM on a home server with Ubuntu (TurnkeyLinux - Joomla15)

Guess I need to test some basic settings from command line; but I don't know what that would be. Any ideas?

Gratefully Yours,
John

demeritcowboy

  • Ask me questions
  • ****
  • Posts: 570
  • Karma: 42
  • CiviCRM version: Always the latest!
  • CMS version: Drupal 6 mostly, still evaluating 7.
  • MySQL version: Mix of 5.0 / 5.1 / 5.5
  • PHP version: 5.3, usually on Windows
Re: email problems
March 08, 2011, 06:48:40 pm
Check /var/log/maillog (might be a slightly different file on ubuntu, not sure) and see if it says anything interesting.

jgregory

  • I post occasionally
  • **
  • Posts: 55
  • Karma: 1
  • CiviCRM version: 4.5.3
  • CMS version: Drupal 7.34
  • MySQL version: 5.5.40
  • PHP version: 5.3.29
Re: email problems
March 09, 2011, 04:24:15 pm
Thanks demeritcowboy. I checked and this is what I get...

Mar  9 17:18:04 livingstonace postfix/pickup[913]: 3A29E361632: uid=33 from=<***@livingston.k12.mt.us>                                                                                                 
Mar  9 17:18:04 livingstonace postfix/cleanup[1298]: 3A29E361632: message-id=<20110310001804.3A29E361632@localhost>                                                                                     
Mar  9 17:18:04 livingstonace postfix/qmgr[914]: 3A29E361632: from=<***@livingston.k12.mt.us>, size=547, nrcpt=1 (queue active)                                                                         
Mar  9 17:18:04 livingstonace postfix/smtp[1301]: 3A29E361632: to=<***@gmail.com>, relay=none, delay=0.29, delays=0.27/0.01/0/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=gmail.com type=MX: Host not found, try again) 

Looks like a DNS error. I reset name servers and rebooted; but still get same message. I'm missing something.

demeritcowboy

  • Ask me questions
  • ****
  • Posts: 570
  • Karma: 42
  • CiviCRM version: Always the latest!
  • CMS version: Drupal 6 mostly, still evaluating 7.
  • MySQL version: Mix of 5.0 / 5.1 / 5.5
  • PHP version: 5.3, usually on Windows
Re: email problems
March 09, 2011, 05:24:02 pm
I'd suggest searching the internet for postfix and "name service error".

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: email problems
March 09, 2011, 11:51:24 pm
Try

Code: [Select]
dig mx gmail.com

From the command line, see if your machine can query the dns.

You might want to modify /etc/resolv.conf and put 8.8.8.8 as the main dns see if it works better

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

jgregory

  • I post occasionally
  • **
  • Posts: 55
  • Karma: 1
  • CiviCRM version: 4.5.3
  • CMS version: Drupal 7.34
  • MySQL version: 5.5.40
  • PHP version: 5.3.29
Re: email problems
March 10, 2011, 01:16:09 pm
Thanks guys. I solved it. Your posts helped. New problems now... but I'll start a new post.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • email problems

This forum was archived on 2017-11-26.