I use vacation 1.2.7.0 beta4 on SuSE 10.1 with dovecot 1.0.beta3-13.9 (same problem with: postfix 2.2.9-10 )
Some address use From: field with about 80 characters + mail address,
structure are visible with less command like that:
From: "12345678901234567890123456789012345678901234567890123456789012345678901234567890" <= around 80 characters, but not fixed, can be 76 !
<email@address.com>
vacation only see "xxxx-around-eighty-characters-xxx", and thus: reply finish with an "unknown user" with local domain name
Same problem with vacation 1.2.6.3
Another point is (in 1.2.6.3):
vacation -l user
give "Segmentation Fault" and other "*** glibc detected *** vacation: free(): invalid pointer: 0x080b5ec8 ***"
In vacation 1.2.7.0 beta4: vaclook (which replace vacation -l user) doesn't have this SegFault problem
Using hexedit I see: 1234567890"..<email@address.com> , the 2 dot file in between are in hex: 0A 09
Looking at RFC 2822, From: field should respect:
"From:" mailbox-list CRLF
Thus it's not a bug in vacation, just as always: "not RFC respect" :(
Someone can adapt vacation to take care of some stupid to put CarrierReturn in From: field ?
Any idea are welcome,
Laurent.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sadly the Vacation code base is very old, and its handling of these fields is, umm, sub-optimal. I really want to clean it up but it's getting to the point where I'm starting to think a rewrite my be an easier option.
I'll certainly look into this in case it's something that is fixable in the current version though.
thanks!
Chris
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Forgot to say, thanks for letting me know that the segfault is fixed in the 1.2.7 beta, another good reason for me to try and pull my finger out and get a proper release done!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I use vacation 1.2.7.0 beta4 on SuSE 10.1 with dovecot 1.0.beta3-13.9 (same problem with: postfix 2.2.9-10 )
Some address use From: field with about 80 characters + mail address,
structure are visible with less command like that:
From: "12345678901234567890123456789012345678901234567890123456789012345678901234567890" <= around 80 characters, but not fixed, can be 76 !
<email@address.com>
vacation only see "xxxx-around-eighty-characters-xxx", and thus: reply finish with an "unknown user" with local domain name
Same problem with vacation 1.2.6.3
Another point is (in 1.2.6.3):
vacation -l user
give "Segmentation Fault" and other "*** glibc detected *** vacation: free(): invalid pointer: 0x080b5ec8 ***"
In vacation 1.2.7.0 beta4: vaclook (which replace vacation -l user) doesn't have this SegFault problem
Using hexedit I see: 1234567890"..<email@address.com> , the 2 dot file in between are in hex: 0A 09
Looking at RFC 2822, From: field should respect:
"From:" mailbox-list CRLF
Thus it's not a bug in vacation, just as always: "not RFC respect" :(
Someone can adapt vacation to take care of some stupid to put CarrierReturn in From: field ?
Any idea are welcome,
Laurent.
Sadly the Vacation code base is very old, and its handling of these fields is, umm, sub-optimal. I really want to clean it up but it's getting to the point where I'm starting to think a rewrite my be an easier option.
I'll certainly look into this in case it's something that is fixable in the current version though.
thanks!
Chris
Forgot to say, thanks for letting me know that the segfault is fixed in the 1.2.7 beta, another good reason for me to try and pull my finger out and get a proper release done!
Aha - it looks like the rfc2822 parser that I've incorporated doesn't support folding of header lines! :-(
Could you put this in as a bug in the tracker please ?
thanks!
Chris
Let me correct that, it's not the RFC parser (which is quite correct), it is vacation itself.
It parses the headers line by line and isn't clever enough (yet) to handle folded lines.