protocol.rb (1.6) doesn't like VERP style addressing

  • Thread starter culley harrelson
  • Start date
C

culley harrelson

I am using NET::SMPT to send messages with VERP style addressing:

[email protected]

And I get:

/usr/local/lib/ruby/1.6/net/protocol.rb:221:in `error!': 501 "501 Bad
address syntax" (Net::protoSyntaxError)
from /usr/local/lib/ruby/1.6/net/protocol.rb:385:in `reply_must'
from /usr/local/lib/ruby/1.6/net/protocol.rb:376:in `check_reply'
from /usr/local/lib/ruby/1.6/net/protocol.rb:390:in `getok'
from /usr/local/lib/ruby/1.6/net/smtp.rb:357:in `mailfrom'
from /usr/local/lib/ruby/1.6/net/smtp.rb:357:in `atomic'
from /usr/local/lib/ruby/1.6/net/smtp.rb:357:in `mailfrom'
from /usr/local/lib/ruby/1.6/net/smtp.rb:298:in `do_ready'
from /usr/local/lib/ruby/1.6/net/smtp.rb:281:in `send_mail'

I have ruby 1.8 on my development machine (os x) and it seems to be
fixed in 1.8. My production machine is FreeBSD and upgrading ruby to
1.8 on freeBSD was a convolluted process last time I tried (anyone have
suggestions for this?). Is it possible to just Upgrade protocol.rb?

culley
 
M

Minero Aoki

Hi,

In mail "protocol.rb (1.6) doesn't like VERP style addressing"
culley harrelson said:
I am using NET::SMPT to send messages with VERP style addressing:

[email protected]

And I get:

/usr/local/lib/ruby/1.6/net/protocol.rb:221:in `error!': 501 "501 Bad
I have ruby 1.8 on my development machine (os x) and it seems to be
fixed in 1.8. My production machine is FreeBSD and upgrading ruby to
1.8 on freeBSD was a convolluted process last time I tried (anyone have
suggestions for this?). Is it possible to just Upgrade protocol.rb?

Impossible.
Please edit your protocol.rb directly.

Regards,
Minero Aoki
 
C

culley harrelson

Impossible.
Please edit your protocol.rb directly.

Regards,
Minero Aoki

Hi Minero,

I upgraded my FreeBSD machine to 1.8 and now I am getting this:

/usr/local/lib/ruby/1.8/net/smtp.rb:619:in `check_response': 501 Bad
address syntax (Net::SMTPSyntaxError)


Locally I have: smtp.rb,v 1.64
and in production I have: smtp.rb,v 1.69

So it looks like that was a change between 1.64 and 1.69 that flags VERP
addressing as invalid.

culley
 
C

culley harrelson

/usr/local/lib/ruby/1.8/net/smtp.rb:619:in `check_response': 501 Bad
address syntax (Net::SMTPSyntaxError)


Oops! This was my bug-- sorry to bother you.

culley
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,046
Latest member
Gavizuho

Latest Threads

Top