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) »
  • To: FIXME.ORG??
Pages: [1]

Author Topic: To: FIXME.ORG??  (Read 1527 times)

tbaz

  • I’m new here
  • *
  • Posts: 15
  • Karma: 0
To: FIXME.ORG??
May 28, 2011, 04:59:17 am
Hi,

After a number of successful mailouts I'm having trouble.
Test Mailing>Send to This Address, with a regular email address yields:

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

       
Code: [Select]
=> 67
    [message] => sendmail returned error code 67
    [mode] => 16
    [debug_info] =>
    [type] => PEAR_Error
    [user_info] =>
    [to_string] => [pear_error: message="sendmail returned error code 67" code=67 mode=callback callback=CRM_Core_Error::handle prefix="" info=""]
)

Sendmail log sample is below:

May 28 08:54:02 sa sm-mta[6731]: p4RNO1xV006729: to=<b.60.2770.190a70501c5ae5b8@FIXME.ORG>, delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=123901, relay=fixme.org, dsn=5.1.2, stat=Host unknown (Name server: fixme.org: host not found)

Appears the "to" header is being corrupted.

Not sure if this is relevant, but I noticed that this installation has two mail accounts, one of which is the default with domain=FIXME.org.
These are reflected in the civicrm_mail.settings table where the field is_default is set to 1 for the default and 0 for the alternate mail account.

Any advice would be much appreciated.

TIA
Tony





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: To: FIXME.ORG??
May 28, 2011, 07:51:01 am

check the from email setting:

q=civicrm/admin/options/from_email_address&group=from_email_address&action=update&id=323&reset=1

seems like this has not been changed from the default.

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

tbaz

  • I’m new here
  • *
  • Posts: 15
  • Karma: 0
Re: To: FIXME.ORG??
June 04, 2011, 09:21:46 pm
Thanks

Even though I am the drupal site administrator and have all civicrm permissions set, I get a response:

Sorry. A non-recoverable error has occurred.
You do not have permission to access this page

I have full database access can the appropriate fields be set directly in the database?
Tony


Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: To: FIXME.ORG??
June 05, 2011, 06:29:30 am
Can you visit  civicrm/admin/options?reset=1 and search for "from_email_address" on that page? Then you should be able to edit.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

tbaz

  • I’m new here
  • *
  • Posts: 15
  • Karma: 0
Re: To: FIXME.ORG??
June 05, 2011, 10:43:18 pm
Thanks,

No FIXME.ORG address exists on the "from email address options" page

Sendmail reports a problem with the "To" email address, so I can't quite see how the "from" addresses are relevant.


xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: To: FIXME.ORG??
June 05, 2011, 11:27:03 pm
Have you tried to replace sendmail by php mail() to send ?

(preferred method)

Otherwise, hershel is right, you need to change your from configuration (it's used to receive bounce email, and that's what sendmail can't handle).

Read the relevant chapter in our book, that will save you a lot of time:

http://en.flossmanuals.net/civicrm/ch042_system-configuration/

X+
« Last Edit: June 05, 2011, 11:29:38 pm by xavier »
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

tbaz

  • I’m new here
  • *
  • Posts: 15
  • Karma: 0
Re: To: FIXME.ORG??
June 06, 2011, 06:53:05 am
Thanks xavier and hershel

The initial setup was in mail(), which returns the error message below
"Sorry. A non-recoverable error has occurred.
mail() returned failure"
The change to sendmail was driven by a need to get more informative error messages.

I use sendmail in another setup and have found that sendmail can successfully process bounced messages with sub-addressing.  The difficulty then was in delivery to a specified folder, but I guess that's another story.

I've read that section of the manual a number of times.  However I've now set a default "from address" to a known gmail address as suggested,  configured the outbound mail settings as mail() - and received a test mail successfully, but still receive the same error on attempting a test mailing at civicrm/mailing/send?_qf_Test_display=true&qfKey=.......

Not sure what to try next




xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: To: FIXME.ORG??
June 06, 2011, 11:18:27 am
Hi,

What's the error message now ? (as you did further down that thread)

By any chance, are you on a server that restrict stuff (safe mode, base_dir, throttle of number of messages...) ?

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

tbaz

  • I’m new here
  • *
  • Posts: 15
  • Karma: 0
Re: To: FIXME.ORG??
June 07, 2011, 05:16:00 am
Log output is below.
The server has no restrictions

Jun  7 21:12:12 sa sendmail[15315]: p57BgCWR015315: Authentication-Warning: the.server.org.au: www-data set sender to b.65.2775.1be068033d3b77c7@FIXME.ORG using -f

Jun  7 21:12:12 sa sendmail[15315]: p57BgCWR015315: from=b.65.2775.1be068033d3b77c7@FIXME.ORG, size=1702, class=0, nrcpts=1, msgid=<201106071142.p57BgCWR015315@the.server.org.au>, relay=www-data@localhost

Jun  7 21:12:12 sa sm-mta[15316]: p57BgCbD015316: ruleset=check_rcpt, arg1=<trevorj@the.server.org.au>, relay=the.server.org.au [127.0.0.1], reject=553 5.1.8 <trevorj@the.server.org.au>... Domain of sender address b.65.2775.1be068033d3b77c7@FIXME.ORG does not exist

Jun  7 21:12:12 sa sendmail[15315]: p57BgCWR015315: to=Trevor Jones <trevorj@the.server.org.au>, ctladdr=b.65.2775.1be068033d3b77c7@FIXME.ORG (33/33), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31702, relay=[127.0.0.1] [127.0.0.1], dsn=5.1.8, stat=User unknown

Jun  7 21:12:12 sa sm-mta[15316]: p57BgCbD015316: from=<b.65.2775.1be068033d3b77c7@FIXME.ORG>, size=1702, class=0, nrcpts=0, proto=ESMTP, daemon=MTA-v4, relay=the.server.org.au [127.0.0.1]

Jun  7 21:12:12 sa milter-greylist: p57BgCbF015316: addr = the.server.org.au[127.0.0.1], from = <>, rcpt = <b.65.2775.1be068033d3b77c7@FIXME.ORG>

Jun  7 21:12:12 sa milter-greylist: Mail from=<>, rcpt=<b.65.2775.1be068033d3b77c7@FIXME.ORG>, addr=the.server.org.au[127.0.0.1] is matched by entry racl 142 whitelist net_list "my network"
 
Jun  7 21:12:12 sa milter-greylist: p57BgCbF015316: skipping greylist because address 127.0.0.1 is whitelisted, (from=<>, rcpt=<b.65.2775.1be068033d3b77c7@FIXME.ORG>, addr=the.server.org.au[127.0.0.1]) ACL 142(none)

Jun  7 21:12:12 sa sendmail[15315]: p57BgCWS015315: to=b.65.2775.1be068033d3b77c7@FIXME.ORG, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=32726, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (p57BgCbF015316 Message accepted for delivery)

Jun  7 21:12:12 sa sm-mta[15318]: p57BgCbF015316: to=<b.65.2775.1be068033d3b77c7@FIXME.ORG>, delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=123975, relay=fixme.org, dsn=5.1.2, stat=Host unknown (Name server: fixme.org: host not found)

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: To: FIXME.ORG??
June 07, 2011, 08:05:18 am
Looks like the mailbox is still not changed in the config.
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

tbaz

  • I’m new here
  • *
  • Posts: 15
  • Karma: 0
Re: To: FIXME.ORG??
June 08, 2011, 06:25:46 am
Fixed! - navigated to Administer Civicrm>Mail Account.

The bounce processor mail account was set to FIXME.ORG (as suggested in the initial post) so setting it to a mailable address did the trick.
Interesting because this has been set since installation some 2 years ago (or maybe as part of an upgrade) and a number of mailings have been sent and the problem has not occurred until now.

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: To: FIXME.ORG??
June 08, 2011, 06:31:39 am
Glad you fixed it.

As for why it worked before: it didn't work, but we didn't stop it (depending on the configuration).

On the bad news: your bounces haven't been processed properly since ages, don't be surprised if you receive a lot of error messages on your next sending.

X+
-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) »
  • To: FIXME.ORG??

This forum was archived on 2017-11-26.