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, sendmail/SMTP and VERP
Pages: [1]

Author Topic: CiviMail, sendmail/SMTP and VERP  (Read 1852 times)

steve.neill

  • Guest
CiviMail, sendmail/SMTP and VERP
September 22, 2010, 08:35:23 am
Hi,

I'm trying to configure CiviMail to use VERP. I'm generating email with the correct mail headers for Return-Path (eg: <return+b.156.12412.13743839a53a6954@mydomain.org). Everything seems OK with that aspect. Test mails get sent and delivered OK.

Our server config is as follows:

Web server hosts CiviCRM and sends all mails from the CRM. This web server hosts our primary domain (mydomain.org). Our MX records point to a managed mail server with Rackspace. All mail sent to mydomain.org goes to the Rackspace server. We have a catch-all address set up on the Rackspace account (return@mydomain.org). If I reply to an email sent by CiviMail it goes to the catch-all address OK.

The problem is that any mail that CiviMail sends to a non-existing email address (1q2w3e4rblah@gmail.com for example) is never bounced to the catch-all.

I'm confused as to why I can never get anything to bounce to the catch-all.

If it helps, here is a snippet from the mail logs (assume that mydomain.org and foofoo.com are real domains, but that steve1234@foofoo.com is invalid email address):

Sep 22 09:05:07 mydomain sm-mta[12056]: o8MF57Hc012056: from=<return+b.156.12412.13743839a53a6954@mydomain.org>, size=6408, class=0, nrcpts=1, msgid=<201009221505.o8MF57Hc012056@mydomain.org>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1]
Sep 22 09:05:08 mydomain sm-mta[12058]: STARTTLS=client, relay=foofoo.com.s6a1.psmtp.com., version=TLSv1/SSLv3, verify=FAIL, cipher=AES256-SHA, bits=256/256
Sep 22 09:05:08 mydomain sm-mta[12058]: o8MF57Hc012056: to=<steve1234@foofoo.com>, ctladdr=<return+b.156.12412.13743839a53a6954@mydomain.org> (1002/1002), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=126408, relay=foofoo.com.s6a1.psmtp.com. [64.18.5.10], dsn=5.1.1, stat=User unknown
Sep 22 09:05:10 mydomain sm-mta[12058]: o8MF57Hc012056: o8MF5AHc012058: DSN: User unknown
Sep 22 09:05:11 mydomain sm-mta[12058]: o8MF5AHc012058: to=<return+b.156.12412.13743839a53a6954@mydomain.org>, delay=00:00:01, xdelay=00:00:01, mailer=local, pri=30000, relay=b.156.12412.13743839a53a6954, dsn=2.0.0, stat=Sent

Any clues/ideas please anyone?

Thanks!

Steve

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, sendmail/SMTP and VERP
September 22, 2010, 09:29:13 am

there are two types of bounces typically in mail systems:

1. hard bounce: basically the smtp server tells civimail immediately that delivery has failed. no email is generated, and civimail automatically puts this email address on hold

2. soft bounce: this is an email message sent to the bounce address (and hence the catch all address in your case) and gives some clue as to why it bounced. bounce processing differs based on how civimail interprets the bounce

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

steve.neill

  • Guest
Re: CiviMail, sendmail/SMTP and VERP
September 22, 2010, 09:59:46 am
Lobo,

Thanks. I know this already, but can you suggest a way to confirm that the bounces are/are not working. Is there an email address I could sent a test to that would generate a bounce message? Is there a public service that exists for this purpose I wonder?

I also note that in some cases (rackspace, godaddy hosted email) that their "show headers" command shows no "Return-Path" entry in the email headers. Is this something to be concerned about?

Thanks again,

Steve

steve.neill

  • Guest
Re: CiviMail, sendmail/SMTP and VERP
September 22, 2010, 01:19:23 pm
I appear to have made some progress. I set up a new domain and email address at GoDaddy.com. I changed the CiviMail Mail Accounts to send bounces to this new email address instead of the Rackspace address -- it's now working!

I suspect Rackspace is stripping headers or something else weird is going on. I'd really like to figure it out, but at least for now I have a workaround.

Steve

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: CiviMail, sendmail/SMTP and VERP
September 26, 2010, 07:24:29 am
Otherwise, you can use a gmail account, works well, but you have to remember to change the spam filter so the bounces aren't put in the spam folder
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • CiviMail, sendmail/SMTP and VERP

This forum was archived on 2017-11-26.