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) »
  • strange cron job error
Pages: [1]

Author Topic: strange cron job error  (Read 1316 times)

SteveM

  • I post occasionally
  • **
  • Posts: 47
  • Karma: 3
    • OpenConcept Consulting, Inc.
strange cron job error
June 26, 2008, 01:15:09 pm
Trying to run the queue-processing cron job returns errors because the SMTP conversation looks like this:

DEBUG: Send: EHLO localhost
DEBUG: Recv: 250-ccag.servicegateway11.net Hello localhost [127.0.0.1]
DEBUG: Recv: 250-SIZE 52428800
DEBUG: Recv: 250-PIPELINING
DEBUG: Recv: 250-AUTH PLAIN LOGIN
DEBUG: Recv: 250-STARTTLS
DEBUG: Recv: 250 HELP
DEBUG: Send: MAIL FROM:<bounce.1.5.959.381cf8ca32150fe4be938715aca09cdf380e65fc-dzak=???@ctcow.org>
DEBUG: Recv: 250 OK
DEBUG: Send: RCPT TO:<dzak@???>
DEBUG: Recv: 501 <dzak@???>: domain missing or malformed

This raises a bunch of questions for me ...

Is the civimail.cronjob.php supposed to be handling bounce messages? (Note that we are using the non-amavis alternative return channel for bounce processing.)

Is it adding the =??? bumpf?

Why is the mail host interpreting *=??? as *@localhost? (The MTA is exim, and there are no unusual local_part_suffix settings, nor do any of the address extraction rules use {=} anywhere that I can see.)

Is this message spooled somewhere in CiviCRM? Which DB/table should I examine? (It is not in the amavis-alternative account's mailbox.)

pankaj

  • Guest
Re: strange cron job error
June 27, 2008, 02:34:38 am
civimail.cronjob.php is not supposed to handle bounce messages, it is used to run the job only.
Sending mail is handled by CRM/Mailing/BAO/Job.php.
And while sending mail we check for response code sent by server in packages/Net/SMTP.php.
based on these server response codes we decide that what happened with that mail.
Like 501 stands for correct command but some invalid arguments.
501 was not added previously in check, i added it in revision 15418 (2.1)(hope this can solve your issue).

Again its dependent on server you using that for which email it generates which error code.
like exim may generate 501 for some email and postfix may not for the same.

 

SteveM

  • I post occasionally
  • **
  • Posts: 47
  • Karma: 3
    • OpenConcept Consulting, Inc.
Re: strange cron job error
July 01, 2008, 08:31:21 am
It turns out this was a problem with data in the DB: a contact had been created with the email address dzak@??? and packages/Net/SMTP.php was understandably choking on the address.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • strange cron job error

This forum was archived on 2017-11-26.