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) »
  • Problem with EmailProcessor.
Pages: [1]

Author Topic: Problem with EmailProcessor.  (Read 741 times)

mcarson

  • I post occasionally
  • **
  • Posts: 110
  • Karma: 5
  • CiviCRM version: 4.4.4
  • CMS version: Drupal 7.x
  • MySQL version: 5.5
  • PHP version: 5.4.22
Problem with EmailProcessor.
October 11, 2010, 11:24:31 pm
I have followed the instructions in the documentation with regards to the setup of CiviMail. Although I have not set the cronjob yet, I am issuing the mailing command via the direct URL for performance and resource monitoring and emails are sent (successfully).
However, after configuring the Drupal user and permissions and issuing the EmailProcessor command via the direct URL, NONE of the Bounces or Unsubscribe replies seem to be processed. An excerpt follows that seems to indicate all emails are ignored.
Code: [Select]
1 retrieving message 2 retrieving message 3 retrieving message 4 fetching message 1
and putting it in the ignored mailbox fetching message 2 and putting it in the ignored
mailbox fetching message 3 and putting it in the ignored mailbox fetching message 4
and putting it in the ignored mailbox got to the end of the mailbox

Edit: some more information:

The following email is moved directly to the ignored mailbox:

Code: [Select]
From MAILER-DAEMON  Mon Oct 11 10:04:04 2010
Return-Path: <MAILER-DAEMON>
X-Original-To: return+b+23+2928+8a88dbd704aa02a1@mydomain.com
Delivered-To: return@mydomain.com
Received: from mail.mydomain.com (unknown [127.0.0.1])
by mail.mydomain.com (Postfix) with ESMTP id 262134464950E
for <return+b+23+2928+8a88dbd704aa02a1@mydomain.com>; Mon, 11 Oct 2010 09:04:04 +0000 (UTC)
Received: from pop3.theirdomain.com (unknown [94.30.31.39])
by mail.mydomain.com (Postfix) with ESMTP
for <return+b+23+2928+8a88dbd704aa02a1@mydomain.com>; Mon, 11 Oct 2010 09:04:01 +0000 (UTC)
MIME-Version: 1.0
From: <postmaster@theirdomain.com>
To: <return+b+23+2928+8a88dbd704aa02a1@mydomain.com>
Date: Mon, 11 Oct 2010 09:56:46 +0100
Content-Type: multipart/report; report-type=delivery-status;
boundary="50bb29c7-92d1-437a-a956-a9f8909b87ee"
Content-Language: en-GB
Message-ID: <4ca9f7fd-3f99-48bd-895f-1387966f14fb>
In-Reply-To: <20101011090343.31AFA44649502@mail.mydomain.com>
References: <20101011090343.31AFA44649502@mail.mydomain.com>
Subject: =?iso-8859-1?Q?Undeliverable:_XXXXXXXXXX

--50bb29c7-92d1-437a-a956-a9f8909b87ee
Content-Type: multipart/alternative; differences=Content-Type;
boundary="560b7ac9-5249-422e-ba1b-eb54f77cebad"

--560b7ac9-5249-422e-ba1b-eb54f77cebad
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Delivery has failed to these recipients or distribution lists:

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
The recipient's e-mail address was not found in the recipient's e-mail syst=
em. Microsoft Exchange will not try to redeliver this message for you. Plea=
se check the e-mail address and try resending this message, or provide the =
following diagnostic text to your system administrator.

________________________________
Sent by Microsoft Exchange Server 2007

Settings:
Mail Accounts
Name:      Return Path
Server:      localhost
Username:      return@mydomain.com
Password:      *****************
Localpart:      return+
Email Domain:   mydomain.com
Return-Path:   
Protocol:      POP3
Source:      

Outbound Mailer:
mail()

The return@mydomain.com email address is a 'catch-all' email address.



« Last Edit: October 12, 2010, 12:10:21 am by mcarson »
“Anyone who has never made a mistake has never tried anything new.” - Albert Einstein
"If you are travelling at the speed of light and you turn on your headlights, would they work?" - Unknown

mcarson

  • I post occasionally
  • **
  • Posts: 110
  • Karma: 5
  • CiviCRM version: 4.4.4
  • CMS version: Drupal 7.x
  • MySQL version: 5.5
  • PHP version: 5.4.22
Re: Problem with EmailProcessor.
November 02, 2010, 04:26:36 am
Thanks for all the feedback... ;D

Decided to debug and troubleshoot EVERY setting in Postfix and CiviMail including looking at EmailProcessor.php to understand the process a little.

Fixed my issues now; I can at least process bounces, though it's a shame that I cannot process all the old ones.

----
confirmed that php safe mode was off for CiviCRM
changed the VERP separator from + to . (doh!)

That's it...
----
Just a comment; the regular expressions for email processing are excellent - crash coursed in regex over the last week.


“Anyone who has never made a mistake has never tried anything new.” - Albert Einstein
"If you are travelling at the speed of light and you turn on your headlights, would they work?" - Unknown

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Problem with EmailProcessor.
November 02, 2010, 04:39:33 am
Hi,

What mail server are you using to need to change the separator from + to . ?

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

mcarson

  • I post occasionally
  • **
  • Posts: 110
  • Karma: 5
  • CiviCRM version: 4.4.4
  • CMS version: Drupal 7.x
  • MySQL version: 5.5
  • PHP version: 5.4.22
Re: Problem with EmailProcessor.
November 02, 2010, 06:20:13 am
I am using a 1and1 VPS (XXL package) with CentOS 5.5 and Plesk 9.5.2

My MTA is Postfix with Courier IMAP. Plesk loves to periodically change Postfix settings but on my install it doesn't have the permissions anymore  ;D

Postfix is using default settings for VERP.

CiviMail VERP Separator is . (using + didn't seem to work; leaving it blank was silly)

(Just confirmed the above again)

Why?  ???
“Anyone who has never made a mistake has never tried anything new.” - Albert Einstein
"If you are travelling at the speed of light and you turn on your headlights, would they work?" - Unknown

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Problem with EmailProcessor.

This forum was archived on 2017-11-26.