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 »
  • Installing CiviCRM »
  • CiviMail installation and configuration (Moderator: Donald Lobo) »
  • Narly SMTP 'sender verify failed' problem, inconsistent between versions?
Pages: [1]

Author Topic: Narly SMTP 'sender verify failed' problem, inconsistent between versions?  (Read 2097 times)

Matt Russell

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 3.3
  • CMS version: drupal 6
  • MySQL version: 5
  • PHP version: 5
Narly SMTP 'sender verify failed' problem, inconsistent between versions?
January 20, 2012, 02:53:06 pm
I have one site on hostmonster (=bluehost) which runs CiviMail via SMTP with no problem, including verp addressing.  However another site on HM doesn't, despite all of the settings being set the same way.  The problem is "sender verify failure".  The host swears that all mail handling is identical for both accounts.  The only possible difference I can discern is that the working site is CiviCRM version 3.0.3 and the non-working site is version 3.3.5.   But I can't see what in the code would cause the newer version to fail, or what I can do about it.  I've scoured the forum and google for clues, and tried everything, and now I'm hoping a guru out there has some idea of what could be causing this problem.  (I've xxx'd the addresses to protect the innocent, and changed punctuation since the forum software thought I was posting links)

In the non-working site (call it ABC), I get the 'sender verify' error showing on the debug trace:

DEBUG: Recv: 235 Authentication succeeded
DEBUG: Send: MAIL FROM: b.39.39.585d0d2b2c2cd76a-at-xxxandoverabc.org
DEBUG: Recv: 250 OK
DEBUG: Send: RCPT TO:matt-at-xxx.com
DEBUG: Recv: 550-Verification failed for b.39.39.585d0d2b2c2cd76a-at-xxxandoverabc.org
DEBUG: Recv: 550-No Such User Here"
DEBUG: Recv: 550 Sender verify failed

When I send the mail to the mail.log file and then look at the headers, the From: address is the one set in Civi for From address, which is a bonafide address on the server. 

In the working site (call it LHC), the same VERPed 'MAIL FROM' is used, but that verifies OK and the mail gets sent:

DEBUG: Recv: 235 Authentication succeeded
DEBUG: Send: MAIL FROM:b.190.16557.c1e4171453496c25-at-xxxlawrencehistory.org
DEBUG: Recv: 250 OK
DEBUG: Send: RCPT TO:matt-at-xxx.com
DEBUG: Recv: 250 Accepted
DEBUG: Send: DATA
DEBUG: Recv: 354 Enter message, ending with "." on a line by itself
DEBUG: Send: MIME-Version: 1.0
Reply-To: r.190.16557.c1e4171453496c25-at-xxxlawrencehistory.org
Return-Path: b.190.16557.c1e4171453496c25-at-xxxlawrencehistory.org
From: "\"CiviCRM Test Mailer (Lawrence History Center)\"" director-at-xxxlawrencehistory.org
Subject: Test Mailing: Events of January 12, 2012 still on! Come rain, sleet, or snow!
To: "\"Mr Matt Russell\"" matt-at-xxx.com

Note that in both case use a VERPed 'MAIL FROM' address.  BUT, the mail also has a From: address which is a bonafide address on the server (as required by the host).
 
The mail header on the delivered mail shows that From: address...

Return-path: b.190.16557.c1e4171453496c25-at-xxxlawrencehistory.org
Envelope-to: matt-at-xxx.com
Reply-To: r.190.16557.c1e4171453496c25-at-lawrencehistory.org
From: "\"CiviCRM Test Mailer (Lawrence History Center)\"" director-at-xxxlawrencehistory.org
To: "\"Mr Matt Russell\"" matt-at-xxx.com

Prize for the hero who can shed some light on this problem! 
TIA, Matt


« Last Edit: January 21, 2012, 04:30:00 am by Matt Russell »

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: Narly SMTP 'sender verify failed' problem, inconsistent between versions?
January 21, 2012, 10:13:26 am

based on the log output, it seems highly likely that the mail handling is different on both accounts.

can u point your second civicrm instance to point to the smtp server that works. That will either prove/disprove the theory :)

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

Matt Russell

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 3.3
  • CMS version: drupal 6
  • MySQL version: 5
  • PHP version: 5
Re: Narly SMTP 'sender verify failed' problem, inconsistent between versions?
January 21, 2012, 10:28:59 am
Thanks Lobo,   I think you're right, but Hostmonster swears that they use an identical image for both servers.   I've tried your suggestion of using the working SMTP on the non-working site, but unfortunately their authorization test requires the login to be using a known address on that account, so 'cross-account' logins don't work. 

I guess I was thinking that perhaps there was a difference in CiviMail mail handling between 3.0.3 (which works) and 3.3.5 (which doesn't) which might explain it.   Is there a way to force the SMTP 'Mail From: ' (right after authentication in the debug) to use the bonafide address rather than the VERP address?   In the working case (lawrencehistory.org) it works even though it's a VERP address, but I can't get hostmonster to explain why that would be. 

Many thanks,
Matt
(btw I LOVE your software - great work!!)

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • CiviMail installation and configuration (Moderator: Donald Lobo) »
  • Narly SMTP 'sender verify failed' problem, inconsistent between versions?

This forum was archived on 2017-11-26.