PowerMTA Support Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

PowerMTA 5.5r1 is out!!!!  Please contact support@port25.com for a license and download access.

Author Topic: 250 2.6.0 message received  (Read 70813 times)

krukmat

  • Jr. Member
  • **
  • Karma: +1/-18
  • Posts: 29
250 2.6.0 message received
« on: August 11, 2011, 05:17:37 PM »

Hi, We're migrating our platform from postfix to powermta. So I did a PHP script to do some tests. But I've noticed that the response after every message sent , is always "250 2.6.0 message received". I tried in many ways but I always have that same response... Is there another response? Is there a manual to check out the possible responses? Is it possible the server returns the queue id with that message?
Thanks!
Logged

TUNGA

  • Jr. Member
  • **
  • Karma: +3/-15
  • Posts: 91
    • n-Mailer Email Marketing
Re: 250 2.6.0 message received
« Reply #1 on: August 11, 2011, 05:49:47 PM »

Hello,

Its OK to get 250 If the message successfully accepted. You will see other messages when required like:

200   (nonstandard success response, see rfc876)
211   System status, or system help reply
214   Help message
220   Service ready
221   Service closing transmission channel
250   Requested mail action okay, completed
251   User not local; will forward to <forward-path>
354   Start mail input; end with "."
421   Service not available, closing transmission channel
450   Requested mail action not taken: mailbox unavailable
451   Requested action aborted: local error in processing
452   Requested action not taken: insufficient system storage
500   Syntax error, command unrecognized
501   Syntax error in parameters or arguments
502   Command not implemented
503   Bad sequence of commands
504   Command parameter not implemented
521   Domain does not accept mail (see rfc1846)
530   Access denied
535   SMTP Authentication unsuccessful/Bad username or password
550   Requested action not taken: mailbox unavailable
551   User not local; please try <forward-path>
552   Requested mail action aborted: exceeded storage allocation
553   Requested action not taken: mailbox name not allowed
554   Transaction failed

Here is a sample transaction log:

Code: [Select]
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "220 pmta.server ESMTP service ready"
SMTP -> get_lines(): $data is "220 pmta.server ESMTP service ready"
SMTP -> FROM SERVER:
220 pmta.server ESMTP service ready
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "250 pmta.server says hello"
SMTP -> get_lines(): $data is "250 pmta.server says hello"
SMTP -> FROM SERVER:
250 pmta.server says hello
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "334 VXNlcm5hbWU6"
SMTP -> get_lines(): $data is "334 VXNlcm5hbWU6"
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "334 UGFzc3dvcmQ6"
SMTP -> get_lines(): $data is "334 UGFzc3dvcmQ6"
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "235 2.7.0 authentication succeeded"
SMTP -> get_lines(): $data is "235 2.7.0 authentication succeeded"
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "250 2.1.0 MAIL ok"
SMTP -> get_lines(): $data is "250 2.1.0 MAIL ok"
SMTP -> FROM SERVER:
250 2.1.0 MAIL ok
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "250 2.1.5 <mail@domain.tld> ok"
SMTP -> get_lines(): $data is "250 2.1.5 <mail@domain.tld> ok"
SMTP -> FROM SERVER:
250 2.1.5 <mail@domain.tld> ok
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "354 send message"
SMTP -> get_lines(): $data is "354 send message"
SMTP -> FROM SERVER:
354 send message
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "250 2.6.0 message received"
SMTP -> get_lines(): $data is "250 2.6.0 message received"
SMTP -> FROM SERVER:
250 2.6.0 message received
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "221 2.0.0 pmta.server says goodbye"
SMTP -> get_lines(): $data is "221 2.0.0 pmta.server says goodbye"
SMTP -> FROM SERVER:
221 2.0.0 pmta.server says goodbye

Here is another log. (Notice the response code: 535 5.7.8 credentials invalid ) :

Code: [Select]
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "220 pmta.server ESMTP service ready"
SMTP -> get_lines(): $data is "220 pmta.server ESMTP service ready"
SMTP -> FROM SERVER:
220 pmta.server ESMTP service ready
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "250 pmta.server says hello"
SMTP -> get_lines(): $data is "250 pmta.server says hello"
SMTP -> FROM SERVER:
250 pmta.server says hello
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "334 VXNlcm5hbWU6"
SMTP -> get_lines(): $data is "334 VXNlcm5hbWU6"
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "334 UGFzc3dvcmQ6"
SMTP -> get_lines(): $data is "334 UGFzc3dvcmQ6"
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "535 5.7.8 credentials invalid"
SMTP -> get_lines(): $data is "535 5.7.8 credentials invalid"
SMTP -> ERROR: Password not accepted from server: 535 5.7.8 credentials invalid


Thanks
Mesut TUNGA
Logged

krukmat

  • Jr. Member
  • **
  • Karma: +1/-18
  • Posts: 29
Re: 250 2.6.0 message received
« Reply #2 on: August 11, 2011, 06:07:35 PM »

Awesome! Thanks!
Logged

krukmat

  • Jr. Member
  • **
  • Karma: +1/-18
  • Posts: 29
Re: 250 2.6.0 message received
« Reply #3 on: August 11, 2011, 06:17:53 PM »

I forgot to tell you that I tried also with invalid email domains or invalid mailboxes and I have always the same response. Is it possible something is missing in /etc/pmta/config?
Thanks
Logged

TUNGA

  • Jr. Member
  • **
  • Karma: +3/-15
  • Posts: 91
    • n-Mailer Email Marketing
Re: 250 2.6.0 message received
« Reply #4 on: August 11, 2011, 06:35:31 PM »

Hello Again,

I forgot to tell you that I tried also with invalid email domains or invalid mailboxes and I have always the same response. Is it possible something is missing in /etc/pmta/config?

For example you entered abc@example.com and there is no abc e-mail box in example.com domain, this could be known after PMTA sent e-mail to example.com and example.com replies to return-path 5x dsn code such as 550 5.1.1 No such user.

So you need bounce handling ;)

Thanks
Mesut TUNGA
Logged

krukmat

  • Jr. Member
  • **
  • Karma: +1/-18
  • Posts: 29
Re: 250 2.6.0 message received
« Reply #5 on: August 11, 2011, 06:37:20 PM »

Oh!  :-[ Got it! Thank so much!
Logged