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

Discussion in 'Ruby' started by culley harrelson, Dec 2, 2003.

  1. 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::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
    culley harrelson, Dec 2, 2003
    #1
    1. Advertising

  2. culley harrelson

    Minero Aoki Guest

    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
    Minero Aoki, Dec 2, 2003
    #2
    1. Advertising

  3. smtp.rb,v 1.69 doesn't accept VERP style addressing

    > 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
    culley harrelson, Dec 3, 2003
    #3
  4. Re: smtp.rb,v 1.69 doesn't accept VERP style addressing


    > /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
    culley harrelson, Dec 3, 2003
    #4
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. S P Arif Sahari Wibowo

    Mailing list manager with VERP

    S P Arif Sahari Wibowo, Apr 3, 2004, in forum: Perl
    Replies:
    0
    Views:
    504
    S P Arif Sahari Wibowo
    Apr 3, 2004
  2. Patrick Kowalzick
    Replies:
    5
    Views:
    470
    Patrick Kowalzick
    Mar 14, 2006
  3. Rob McMullen
    Replies:
    2
    Views:
    293
    Rob McMullen
    Oct 28, 2007
  4. Ken Varn
    Replies:
    0
    Views:
    444
    Ken Varn
    Apr 26, 2004
  5. Jeff Silverman
    Replies:
    2
    Views:
    290
    Thomas Dickey
    Dec 29, 2005
Loading...

Share This Page