I am using NET::SMPT to send messages with VERP style addressing:
my-newsletter+me=example.com@example.com
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
Hi,
In mail “protocol.rb (1.6) doesn’t like VERP style addressing”
···
culley harrelson culley@fastmail.fm wrote:
I am using NET::SMPT to send messages with VERP style addressing:
my-newsletter+me=example.com@example.com
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
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
/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