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) »
  • E-mail addresses on hold
Pages: 1 [2] 3 4

Author Topic: E-mail addresses on hold  (Read 26051 times)

Denver Dave

  • Ask me questions
  • ****
  • Posts: 471
  • Karma: 9
Re: E-mail addresses on hold
February 19, 2010, 10:20:26 pm
It may be time to reinstall and / or try on a different server.  Seem to get inconsistent results.

Send email to clients always seems to work
Administer CiviCRM Global Settings Outbound Mail - test works each time

However, new issue, when setting up a mailing, the step 4 test email gets an error that may be an issue with smtp setting in global settings outbound email (yet tested fine above).  Problems with mailing step 4 test is new i've sent many tests before.

Manual link send civimail not working, even with null key, which is new.

Must have goofed something up,

Any thoughts on why the smtp test from global settings would work and the civimail step 4 would not?

Here is the error from step 4:
Quote
Error Details:

Array
(
    [callback] => Array
        (
           
  • => CRM_Core_Error
  • [1] => handle
            )

       
Code: [Select]
=>
    [message] => Invalid response code received from SMTP (outbound mail) server while attempting to send email.  This is often caused by a misconfiguration in the CiviCRM Outbound Email settings. Please verify the settings at Administer CiviCRM >> Global Settings >> Outbound Email (SMTP).
    [mode] => 16
    [debug_info] =>
    [type] => PEAR_Error
    [user_info] =>
    [to_string] => [pear_error: message="Invalid response code received from SMTP (outbound mail) server while attempting to send email.  This is often caused by a misconfiguration in the CiviCRM Outbound Email settings. Please verify the settings at Administer CiviCRM >> Global Settings >> Outbound Email (SMTP)." code=0 mode=callback callback=CRM_Core_Error::handle prefix="" info=""]
)
[/quote]

« Last Edit: February 19, 2010, 10:38:33 pm by Denver Dave »

Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: E-mail addresses on hold
February 21, 2010, 12:52:45 am
Quote from: Denver Dave on February 19, 2010, 10:20:26 pm
Any thoughts on why the smtp test from global settings would work and the civimail step 4 would not?

I think we may use a bit different mailing routes when doing the SMTP test from global settings (and the ‘send email to contact’ action) and when doing CiviMail mass-mailings.

Quote
Invalid response code received from SMTP (outbound mail) server while attempting to send email.  This is often caused by a misconfiguration in the CiviCRM Outbound Email settings. Please verify the settings at Administer CiviCRM >> Global Settings >> Outbound Email (SMTP).

You need to check your SMTP server’s logs to see what the problem was.
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.

Denver Dave

  • Ask me questions
  • ****
  • Posts: 471
  • Karma: 9
Re: E-mail addresses on hold
February 21, 2010, 02:39:09 am
Even though the step 4 is not working and was working, I decided to complete the suggested tests:

It does appear that step 4 civimail test, sending civimail with link and sending civimail with a cron job are all effected by the CIVICRM_SITE_KEY because somewhat different behavior is exhibited with different settings.  Also, although I've never had the email go out with a cron job on 3.1.12, I'm pretty certain emails have gone out with the step 4 test and also emails sent with the link, although I don't seem to be able to get these steps to work now either.  I thought I'd complete these tests so that I have something to compare against when I install again on a different hosting account.

Other symptoms - the Yikes - now the Settings Outbound mail doesn't work (after first round reported below - fixed and rerunning) Differences indicated below

If the email processes, nothing goes out and all emailed contacts are put on hold.

I'll see if I can get the smtp logs.

// ***** undefined CIVICRM_SITE_KEY
//define( 'CIVICRM_SITE_KEY', null );
//define( 'CIVICRM_SITE_KEY', '01234567890123456789' );

Step 4 test email - Authentication failed. PEAR message - no email received

Initiate with a link: http://<mydomain>/drupal/civicrm/mailing/queue?reset=1
Emails bounce with error - Unknown bounce type could not parse bounce email
All contacts emailed are placed on-hold

Initiate with cron job:
wget 'http://<mydomain>/drupal/sites/all/modules/civicrm/bin/civimail.cronjob.php?name=<myusername>&pass=<myuserpassword>&key=01234567890123456789'
Get error in civimail.cronjob.php - Need to set a valid key - did not run - no email received - not contacts changed

// ***** NULL CIVICRM_SITE_KEY
define( 'CIVICRM_SITE_KEY', null );
//define( 'CIVICRM_SITE_KEY', '01234567890123456789' );

Step 4 test email - Authentication failed. PEAR message - no email received

Initiate with a link: http://<mydomain>/drupal/civicrm/mailing/queue?reset=1
bounce error in report - no such user here
All contacts emailed are placed on-hold

Initiate with cron job: with INVALID outbound mailing smtp
wget 'http://<mydomain>/drupal/sites/all/modules/civicrm/bin/civimail.cronjob.php?name=<myusername>&pass=<myuserpassword>&key=01234567890123456789'
Get error in civimail.cronjob.php - Need to set a valid key - did not run - no email received - not contacts changed

// ***** SITE KEY SET
//define( 'CIVICRM_SITE_KEY', null );
define( 'CIVICRM_SITE_KEY', '01234567890123456789' );

Step 4 test email - Longer PEAR error message than for Undefined and NULL - Invalid response code received from SMTP (outbound mail) server ...

Initiate with a link: http://<mydomain>/drupal/civicrm/mailing/queue?reset=1 (same as undefined key)
Emails bounce with error - Unknown bounce type could not parse bounce email
All contacts emailed are placed on-hold

Initiate with cron job:
wget 'http://<mydomain>/drupal/sites/all/modules/civicrm/bin/civimail.cronjob.php?name=<myusername>&pass=<myuserpassword>&key=01234567890123456789'
Get error in civimail.cronjob.php - Unknown bounce type could not parse (with invalid outbound SMTP)
Get error in civimail.cronjob.php - No such user here (with invalid outbound SMTP)
All contacts emailed placed on hold






Denver Dave

  • Ask me questions
  • ****
  • Posts: 471
  • Karma: 9
Re: E-mail addresses on hold
February 22, 2010, 12:50:16 am
I'm looking at the rejectlog file and see items like the following:

Tried with local host and then below tried smtp account which caused host.<myreselleraccount> <(mydomain)>, but error was the same:

2010-02-22 00:34:11 H=localhost (mydomain) [127.0.0.1] sender verify fail for <b.51.80.f91fdd118581c1e0@pubfund.org>: No Such User Here"
2010-02-22 00:34:11 H=localhost (mydomain) [127.0.0.1] F=<b.51.80.f91fdd118581c1e0@pubfund.org> rejected RCPT <davebean@ecentral.com>: Sender verify failed
2010-02-22 00:34:45 H=localhost (mydomain) [127.0.0.1] sender verify fail for <b.52.81.23012b161b8be02e@pubfund.org>: No Such User Here"
2010-02-22 00:34:45 H=localhost (mydomain) [127.0.0.1] F=<b.52.81.23012b161b8be02e@pubfund.org> rejected RCPT <davebean@ecentral.com>: Sender verify failed
2010-02-22 00:37:02 H=localhost (mydomain) [127.0.0.1] sender verify fail for <b.53.82.254453595c59f832@pubfund.org>: No Such User Here"

= = = = = = =
Isn't there an option in 3.1.2 to have the reply address be the address of the person sending the mail?

Step 2 - I am checking the box - If a recipient replies to this mailing, forward the reply to the From Email address specified for the mailing

Step 3 - going to try checking this box - VERP address - If this box is checked the automatically generated VERP address in the Reply-To will be overriden by the From email address specified above

Wonder how the step 2 item and the step 3 item are different - ??

Let's run - it - not going to do a step 4 test - running step 5
Kicking off cron with a link
http://<mydomain>/drupal/civicrm/mailing/queue?reset=1

For last test get same as before - not the return address I expect or maybe not understanding the options:

2010-02-22 01:41:11 H=host.<myhostaccount> (<mydomain>) [<myIP>] sender verify fail for <b.55.84.5c8405c28ac65b7d@pubfund.org>: No Such User Here"
2010-02-22 01:41:11 H=host.<myhostaccount> (<mydomain>) [<myIP>] F=<b.55.84.5c8405c28ac65b7d@pubfund.org> rejected RCPT <davebean@ecentral.com>: Sender verify failed



Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: E-mail addresses on hold
February 22, 2010, 03:34:23 am
Quote from: Denver Dave on February 22, 2010, 12:50:16 am
2010-02-22 00:34:11 H=localhost (mydomain) [127.0.0.1] sender verify fail for <b.51.80.f91fdd118581c1e0@pubfund.org>: No Such User Here"
2010-02-22 00:34:11 H=localhost (mydomain) [127.0.0.1] F=<b.51.80.f91fdd118581c1e0@pubfund.org> rejected RCPT <davebean@ecentral.com>: Sender verify failed

Ok, this is the first problem that you need to solve – basically, your SMTP server does not allow sending emails with the VERP-based addresses in the SMTP envelope.

There are two ways to address this: the first one is to make server accept *@pubfund.org addresses as valid senders, the other is to use email extensions and – if the acceptable sender is, e.g., example@pubfund.org – make CiviMail mailing use example+b.51.80.f91fdd118581c1e0@pubfund.org -like addresses.

Quote
Isn't there an option in 3.1.2 to have the reply address be the address of the person sending the mail?

There is, the ‘Override VERP address?’ option in the third step of the CiviMail wizard. Maybe your SMTP server will be happy enough with that.

Quote
Step 2 - I am checking the box - If a recipient replies to this mailing, forward the reply to the From Email address specified for the mailing

Step 3 - going to try checking this box - VERP address - If this box is checked the automatically generated VERP address in the Reply-To will be overriden by the From email address specified above

Wonder how the step 2 item and the step 3 item are different - ??

If you don’t check ‘Override VERP address?’ but check ‘forward the reply’, the Reply-To will have the VERP address and the CiviMail Processor will forward the reply when it processes it.
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.

Denver Dave

  • Ask me questions
  • ****
  • Posts: 471
  • Karma: 9
Re: E-mail addresses on hold
February 22, 2010, 03:19:57 pm
To solve the bouncing issue "No such email here", my host turned off "sender verification" on my server, seemed a little drastic to me, but since I'm on a VPS, they may have meant the effect was just for my domains.  They didn't think that the change was a big security issue.

Emails are now being sent out from Step 4 test, and also step 5 send - both by link and by cron using the site key.

Whew !!  Where the heck was I before I got into this .... hmmmm

Thanks for the help - the pieces finally fell into place - time for a beer.
« Last Edit: February 22, 2010, 03:26:48 pm by Denver Dave »

Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: E-mail addresses on hold
February 24, 2010, 05:06:13 am
Quote from: Denver Dave on February 22, 2010, 03:19:57 pm
To solve the bouncing issue "No such email here", my host turned off "sender verification" on my server, seemed a little drastic to me, but since I'm on a VPS, they may have meant the effect was just for my domains.

They most probably only turned off sender verification for email originating from your particular server.

Quote
They didn't think that the change was a big security issue.

Well, if someone is able to send emails from your particular server then (IMHO) you have a bigger problem anyway…
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.

jellobrain

  • I post occasionally
  • **
  • Posts: 30
  • Karma: 0
  • charmed, i'm sure.
    • jellobrain
  • CiviCRM version: 3.3.2
  • CMS version: drupal 6.x
  • MySQL version: 5.1
  • PHP version: 5.2
Re: E-mail addresses on hold
February 28, 2010, 01:34:47 pm
i am also on 3.1.2 and am experiencing the exact same issues.
__

jellobrain.com

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: E-mail addresses on hold
February 28, 2010, 04:55:48 pm

upgrade to 3.1.3 please

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

Тони Стоев | Toni Stoev

  • Guest
Re: E-mail addresses on hold
March 08, 2010, 12:13:56 am
I am having the same issue.
I have upgraded Drupal and CiviCRM, but the problem remains.

On a fresh new install this issue does not appear until I set up a mail account in Administration / CiviMail / Mail Accounts.
Then, if I unchek the "Default Option?" for the mail account, the SMTP error turns to "501 : domain missing or malformed".
« Last Edit: March 08, 2010, 12:29:10 am by Тони Стоев | Toni Stoev »

Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: E-mail addresses on hold
March 08, 2010, 03:58:26 am
Quote from: Тони Стоев | Toni Stoev on March 08, 2010, 12:13:56 am
On a fresh new install this issue does not appear until I set up a mail account in Administration / CiviMail / Mail Accounts.
Then, if I unchek the "Default Option?" for the mail account, the SMTP error turns to "501 : domain missing or malformed".

CiviMail uses the default mail settings set to create the SMTP envelope’s FROM address – if you don’t have a default mail settings set (this is what I gather from the above), then the domain is probably empty and hence the SMTP error.
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.

Тони Стоев | Toni Stoev

  • Guest
Re: E-mail addresses on hold
March 08, 2010, 06:52:31 am
Actually the system does work while there is the initial "FIXME.ORG" entry. But when I fix it, the error shows up with mailings:
Test sender verification fails, the email sinks somewhere and the recipient address is put on hold.

Denver Dave

  • Ask me questions
  • ****
  • Posts: 471
  • Karma: 9
Re: E-mail addresses on hold
March 08, 2010, 08:28:47 am
I know this has been said before, but before spending a lot of time on this, Toni are you on CiviCRM 3.1.3 ?

Тони Стоев | Toni Stoev

  • Guest
Re: E-mail addresses on hold
March 08, 2010, 12:30:34 pm
Quote
I know this has been said before, but before spending a lot of time on this, Toni are you on CiviCRM 3.1.3 ?

Yes, I am. But upgrading from 3.1.2 didn't solve the issue. :(

Тони Стоев | Toni Stoev

  • Guest
Re: E-mail addresses on hold
March 08, 2010, 12:40:58 pm
Let me tell you again, on a fresh new 3.1.3 installation the mailing works. But setting up a mail account breaks things down.

Pages: 1 [2] 3 4
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • E-mail addresses on hold

This forum was archived on 2017-11-26.