Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > protocol.rb (1.6) doesn't like VERP style addressing

Reply
Thread Tools

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

 
 
culley harrelson
Guest
Posts: n/a
 
      12-02-2003
I am using NET::SMPT to send messages with VERP style addressing:

my-newsletter+me=

And I get:

/usr/local/lib/ruby/1.6/net/protocol.rb:221:in `error!': 501 "501 Bad
address syntax" (Net:rotoSyntaxError)
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




 
Reply With Quote
 
 
 
 
Minero Aoki
Guest
Posts: n/a
 
      12-02-2003
Hi,

In mail "protocol.rb (1.6) doesn't like VERP style addressing"
culley harrelson <> wrote:

> I am using NET::SMPT to send messages with VERP style addressing:
>
> my-newsletter+me=
>
> 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


 
Reply With Quote
 
 
 
 
culley harrelson
Guest
Posts: n/a
 
      12-03-2003
> 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




 
Reply With Quote
 
culley harrelson
Guest
Posts: n/a
 
      12-03-2003

> /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




 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
object-like macro used like function-like macro Patrick Kowalzick C++ 5 03-14-2006 03:30 PM
Addressing the cursor of a VT100 style terminal emulator using perl Jeff Silverman Perl Misc 2 12-29-2005 01:10 PM
Need help with Style conversion from Style object to Style key/value collection. Ken Varn ASP .Net Building Controls 0 04-26-2004 07:06 PM
Mailing list manager with VERP S P Arif Sahari Wibowo Perl 0 04-03-2004 01:37 AM
setting relative addressing in composer refuses to work ken Firefox 0 12-10-2003 07:11 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57