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 »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • CiviMail message bounces unexpectedly
Pages: 1 [2] 3 4

Author Topic: CiviMail message bounces unexpectedly  (Read 15306 times)

jvansickle

  • Guest
Re: CiviMail message bounces unexpectedly
March 30, 2009, 07:21:38 am
I contact my ISP earlier and got the recommended settings I should be using for my website.  I entered the SMTP server, port, login and password under the Global Settings section.  I am still getting the error.  Is there another section I need to enter this information?

Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: CiviMail message bounces unexpectedly
March 31, 2009, 05:20:57 am
Can you try to enable debugging information?

Edit packages/Mail/smtp.php and change the 122nd line from
Code: [Select]
var $debug = false;
to
Code: [Select]
var $debug = true;
and post here the details (stripped of sensitive info, if any, of course).
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

jsimonis

  • I post frequently
  • ***
  • Posts: 316
  • Karma: 4
    • Forward Support, Inc.
  • CiviCRM version: 4.4-4.5
  • CMS version: Drupal 7
  • MySQL version: 5.5.37-cll
  • PHP version: 5.3.29
Re: CiviMail message bounces unexpectedly
July 31, 2009, 04:34:46 pm
I am getting the same error.

I am using the same email account for CiviMail and CiviCRM. I've also done it using different accounts with the same end result - no sending in CiviMail.

I am trying to send a test email to my own address.

I've had no problems using CiviMail on a slightly older version (this was back in April and the version was new at the time), but cannot send now. The accounts are on the same server - a VPS server that I control.

I turned on the debug and got:

DEBUG: Recv: 220-host.nu-look.net ESMTP Exim 4.69 #1 Fri, 31 Jul 2009 16:31:00 -0700 DEBUG: Recv: 220-We do not authorize the use of this system to transport unsolicited, DEBUG: Recv: 220 and/or bulk e-mail. DEBUG: Send: EHLO www.healthydemocracyoregon.org DEBUG: Recv: 250-host.nu-look.net Hello host.nu-look.net [72.52.247.52] DEBUG: Recv: 250-SIZE 52428800 DEBUG: Recv: 250-PIPELINING DEBUG: Recv: 250-AUTH PLAIN LOGIN DEBUG: Recv: 250-STARTTLS DEBUG: Recv: 250 HELP DEBUG: Send: AUTH LOGIN DEBUG: Recv: 334 VXNlcm5hbWU6 DEBUG: Send: Y2l2aW1haWxAaGVhbHRoeWRlbW9jcmFjeW9yZWdvbi5vcmc= DEBUG: Recv: 334 UGFzc3dvcmQ6 DEBUG: Send: ak5nRDdINURiNXQ= DEBUG: Recv: 235 Authentication succeeded DEBUG: Send: MAIL FROM: DEBUG: Recv: 250 OK DEBUG: Send: RCPT TO: DEBUG: Recv: 550-Verification failed for DEBUG: Recv: 550-No such person at this address DEBUG: Recv: 550 Sender verify failed DEBUG: Send: RSET DEBUG: Recv: 250 Reset OK DEBUG: Send: QUIT DEBUG: Recv: 221 host.nu-look.net closing connection

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: CiviMail message bounces unexpectedly
August 01, 2009, 09:47:39 am

check these statements from the debug log:

Recv: 550-Verification failed for DEBUG: Recv: 550-No such person at this address DEBUG: Recv: 550 Sender verify failed

seems like the verification of the from address is failing. can u double check that

thanx

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

jsimonis

  • I post frequently
  • ***
  • Posts: 316
  • Karma: 4
    • Forward Support, Inc.
  • CiviCRM version: 4.4-4.5
  • CMS version: Drupal 7
  • MySQL version: 5.5.37-cll
  • PHP version: 5.3.29
Re: CiviMail message bounces unexpectedly
August 02, 2009, 12:56:07 am
I verified the user name (the email address) and the password - I even reset it both in CiviCRM and in CPanel where it was created.

The exact same settings work to send email through CiviCRM. They just don't work in CiviMail?

jsimonis

  • I post frequently
  • ***
  • Posts: 316
  • Karma: 4
    • Forward Support, Inc.
  • CiviCRM version: 4.4-4.5
  • CMS version: Drupal 7
  • MySQL version: 5.5.37-cll
  • PHP version: 5.3.29
Re: CiviMail message bounces unexpectedly
August 02, 2009, 02:11:29 am
I've tried multiple email accounts. I've double and triple checked the passwords (I even try copying and pasting out of Notepad into both CPanel and CiviMail settings).

I've tried having the From Address and the CiviMail Mail Accounts be the same email address and different email addresses.

Still I get the same errors.

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: CiviMail message bounces unexpectedly
August 02, 2009, 07:14:39 am

1.
can u add:

define( 'CIVICRM_MAIL_LOG' , 1 );

2. can u send an exact same mail via "send email" and civimail to the same person

3. u should see some mail files being logged in this directory:

files/civicrm/upload/mail

can you check those two files and see what the difference in the headers are. I suspect they are different in the From/ReplyTo which is making your mail server reject them

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

jsimonis

  • I post frequently
  • ***
  • Posts: 316
  • Karma: 4
    • Forward Support, Inc.
  • CiviCRM version: 4.4-4.5
  • CMS version: Drupal 7
  • MySQL version: 5.5.37-cll
  • PHP version: 5.3.29
Re: CiviMail message bounces unexpectedly
August 02, 2009, 03:29:39 pm
Thanks for the help. This is what I get:

Sending an email through CiviCRM:

To: jenni@forwardsupport.com
MIME-Version: 1.0
From: "Jenni Simonis" <horsetail@gmail.com>
To: "jenni@forwardsupport.com" <jenni@forwardsupport.com>
Cc:
Subject: Sending a test
Content-Type: multipart/alternative;
   boundary="=_1e86f70aaa07210fe09d005a94c31cc0"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Return-Path: horsetail@gmail.com
Reply-To: "Jenni Simonis" <horsetail@gmail.com>
Date: Sun, 02 Aug 2009 15:24:58 -0700

--=_1e86f70aaa07210fe09d005a94c31cc0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset="utf-8"

I am sending a test to you.
--=_1e86f70aaa07210fe09d005a94c31cc0
Content-Transfer-Encoding: 8bit
Content-Type: text/html; charset="utf-8"

<p>I am sending a test to you.</p>
--=_1e86f70aaa07210fe09d005a94c31cc0--





Sending an email through CiviMail:

To: "jenni@forwardsupport.com" <jenni@forwardsupport.com>
MIME-Version: 1.0
Reply-To: r.100.92761.b5c7a6fc8a44185b@healthydemocracyoregon.org
Return-Path: b.100.92761.b5c7a6fc8a44185b@healthydemocracyoregon.org
From: "CiviCRM Test Mailer (Healthy Democracy Oregon)" <info@healthydemocracyoregon.org>
Subject: Test Mailing: Sending a test
List-Unsubscribe: <mailto:u.100.92761.b5c7a6fc8a44185b@healthydemocracyoregon.org>
To: "jenni@forwardsupport.com" <jenni@forwardsupport.com>
Content-Type: multipart/alternative;
   boundary="=_206d5ad2993fc37751b28869d7ae6ca3"

--=_206d5ad2993fc37751b28869d7ae6ca3
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset="utf-8"

Healthy Democracy Oregon

Working to Improve our Initiative Process
I am sending a test to you.
Healthy Democracy Oregon

PO Box 42347
Portland, OR 97242
United States
America South, Central, North and Carribean

Opt Out: o.100.92761.b5c7a6fc8a44185b@healthydemocracyoregon.org

Unsubscribe: u.100.92761.b5c7a6fc8a44185b@healthydemocracyoregon.org
--=_206d5ad2993fc37751b28869d7ae6ca3
Content-Transfer-Encoding: 8bit
Content-Type: text/html; charset="utf-8"

<div align="center"><img src="http://www.healthydemocracyoregon.org/files/bluemarine_logo.jpg" alt="Healthy Democracy Oregon">

</div>
<p>I am sending a test to you.</p>
<div align="center"><font size="2">

&nbsp; <br />

Healthy Democracy Oregon <br />

PO Box 42347<br />Portland, OR 97242<br />United States<br />America South, Central, North and Carribean <br />

Opt Out: mailto:o.100.92761.b5c7a6fc8a44185b@healthydemocracyoregon.org <br />

Unsubscribe: mailto:u.100.92761.b5c7a6fc8a44185b@healthydemocracyoregon.org

</font></div>
<img src="http://www.healthydemocracyoregon.org/sites/all/modules/civicrm/extern/open.php?q=92761" width='1' height='1' alt='' border='0'>
--=_206d5ad2993fc37751b28869d7ae6ca3--


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: CiviMail message bounces unexpectedly
August 03, 2009, 04:24:06 pm

they have 2 different from addresses:

From: "Jenni Simonis" <horsetail@gmail.com>

From: "CiviCRM Test Mailer (Healthy Democracy Oregon)" <info@healthydemocracyoregon.org>

this might be the reason why the mail server is rejecting the mail sent via civimail

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

jsimonis

  • I post frequently
  • ***
  • Posts: 316
  • Karma: 4
    • Forward Support, Inc.
  • CiviCRM version: 4.4-4.5
  • CMS version: Drupal 7
  • MySQL version: 5.5.37-cll
  • PHP version: 5.3.29
Re: CiviMail message bounces unexpectedly
August 04, 2009, 12:01:40 am
One is just going to a user account and sending an email through CiviCRM. As far as I can tell, it uses your user account information as the sender info since that's the email address attached to the account. I certainly can't find anywhere else where I have my personal email.

The other is going through CiviCRM. And it's using the "From" settings. That's the info@....

So are you saying we have to create a user account that has the info@.... email address as their email address and only send from that user account?

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: CiviMail message bounces unexpectedly
August 04, 2009, 10:41:32 am
Quote from: jsimonis on August 04, 2009, 12:01:40 am
One is just going to a user account and sending an email through CiviCRM. As far as I can tell, it uses your user account information as the sender info since that's the email address attached to the account. I certainly can't find anywhere else where I have my personal email.

As of 2.2, the simple "Send an Email" defaults to using the logged in user's email address as the FROM, but allows you to select any of the configure 'FROM Email Addresses' if desired. 'FROM Email Addresses' can be added / modified from Administer CiviCRM >> Configure >> From Email Addresses.

Quote from: jsimonis on August 04, 2009, 12:01:40 am
The other is going through CiviCRM. And it's using the "From" settings. That's the info@....

So are you saying we have to create a user account that has the info@.... email address as their email address and only send from that user account?

CiviMail also allows sender to pick the FROM Email address from the configured list (and selects the one marked as Default - by default).

Since your email provider definitely rejects emails with FROM addresses that it doesn't recognize - you'll need to make sure that you addresses you want to use as FROM are valid email "users" with your provider. AND synch those with the FROM addresses configured in CiviCRM.
Protect your investment in CiviCRM by  becoming a Member!

jsimonis

  • I post frequently
  • ***
  • Posts: 316
  • Karma: 4
    • Forward Support, Inc.
  • CiviCRM version: 4.4-4.5
  • CMS version: Drupal 7
  • MySQL version: 5.5.37-cll
  • PHP version: 5.3.29
Re: CiviMail message bounces unexpectedly
August 04, 2009, 07:22:34 pm
We already have a "From" address set up, and it the one that is the info@... address.

The email address that is being used (info@...) is a valid email account that is set up on the same server as the web site (it's the same domain as the web site).

That's why I am confused. It's being rejected, but is a valid email address on the exact account this site is installed upon. I have reset and verified the user name and password multiple times.

CiviMail worked correctly in 2.0.5 and only quit working upon upgrading to the newest version.

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: CiviMail message bounces unexpectedly
August 04, 2009, 07:29:56 pm
PLEASE ignore this if irrelevant - I haven't read the whole thread. But I noticed you mentioning Civimail working in 2.0.5 and not on the latest version.

The need for a sitekey was introduced around 2.2.2 - if this doesn't ring any bells that could be the problem
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

jsimonis

  • I post frequently
  • ***
  • Posts: 316
  • Karma: 4
    • Forward Support, Inc.
  • CiviCRM version: 4.4-4.5
  • CMS version: Drupal 7
  • MySQL version: 5.5.37-cll
  • PHP version: 5.3.29
Re: CiviMail message bounces unexpectedly
August 04, 2009, 08:02:31 pm
That's the big long key that you put into the settings file, correct?

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: CiviMail message bounces unexpectedly
August 04, 2009, 08:08:33 pm
Yeah - that one. Sounds like you've sort that then
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Pages: 1 [2] 3 4
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • CiviMail message bounces unexpectedly

This forum was archived on 2017-11-26.