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) »
  • error 553 (Sender address rejected)
Pages: [1]

Author Topic: error 553 (Sender address rejected)  (Read 11066 times)

FrankM

  • Guest
error 553 (Sender address rejected)
August 12, 2007, 09:34:48 am
Hi,

I was very happy to discover CiviCRM and started right away reading some documentation.  The CiviMail and CiviEvent are perfect for our small organisation.  But unfortunately I've not been able to send some test messages to my SMTP server.  This is the full error I get :

**********************************************
The test mailing could not be delivered due to the following error:
Failed to add recipient: frank.melendez@yatri.be [SMTP: Invalid response code received from server (code: 553, response: 5.7.1 : Sender address rejected: not owned by user reply@yatri.be)]
**********************************************

I think the mail server of my provider (www.one.com) is checking the from address rather than the return-path.  How can I check this ?  Is there a way of debugging the communication between CiviMail and the SMTP server ?  Or maybe I could change a few things directly in the code to test a few values ?

Please help ... much appreciated for sure !

Regards,
Frank

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: error 553 (Sender address rejected)
August 12, 2007, 11:14:08 am

You can debug the code at packages/Mail/smtp.php, function send and add the needed print statements

Might be easier to register all "sending" emails with the mail server, so they are all validated

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

FrankM

  • Guest
Re: error 553 (Sender address rejected)
August 13, 2007, 04:11:28 am
Hi Donald,

Thanks for your answer.  I'll have a try with the code changes.  I've tried yor second suggestion already by providing a catch-all mail account but this doesn't work apparently.

Regards,
frank

speleo

  • Ask me questions
  • ****
  • Posts: 396
  • Karma: 28
  • CiviCRM version: 4.3.1
  • CMS version: J! 2.5,9
  • MySQL version: 5.1
  • PHP version: 5.3.24
Re: error 553 (Sender address rejected)
August 13, 2007, 06:28:35 am
A catchall will just route any mail from unknown accounts to a known account. You need to explicitly create accounts for the addresses you want to send from...

FrankM

  • Guest
Re: error 553 (Sender address rejected)
August 13, 2007, 07:59:46 am
Yes, I understand but that's exactly what's puzzeling me .... the errormessage doesn't state which address is represented by the 'Sender'.  The from address is configured as 'reply@yatri.be' and the return-path is also configured as 'reply@yatri.be'.  'reply@yatri.be' is a full account as opposed by an Alias.  So I'm really curious what our mailserver sees as 'Sender' ?

Regards,
Frank

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • CiviMail installation and configuration (Moderator: Donald Lobo) »
  • error 553 (Sender address rejected)

This forum was archived on 2017-11-26.