« Return to Thread: sendbug(1) patch

Re: sendbug(1) patch

by Ray Lai :: Rate this Message:

Reply to Author | View in Thread

On Wed, Apr 16, 2008 at 9:50 AM, Dasn <dasn@...> wrote:
>  Now I can see that...we are totally misunderstanding each other. It's my
>  fault not to point out the problem clearly.
>  In the 'send_file' function, I found it sends each line + '\0' + '\n' to
>  the pipe, (I think it's a bug), and the sendmail can happily accept it,
>  while other MTAs will report an error. So your idea about Cc: to a local
>  user will not reveal this problem, because the outputs to the pipe by
>  'sendbug' will be processed (masked) by sendmail. So the copy of local
>  user is not the same what 'sendbug' writes to the pipe.

Thanks for reporting the bug, a fix for this and another bug was committed.

>  Please note that I am not meaning adding this feature is in order to
>  only test the function, it's just an involuntary-side of this feature.
>  Originally, IMHO, sendbug will be better if only produce its raw PR mail
>  file for users, and let the users decide how to send it (use sendmail or
>  others), that is why I suggested the PR_AGENT feature.

I still don't think this should be added, sorry.

-Ray-

 « Return to Thread: sendbug(1) patch