bug-mailfromd


Search for: Advanced

Re: [Bug-mailfromd] current_message() returning less than all of the message


I think I found a solution.

Adding the below two lines just before the code block seems to have fixed it.

        set cm current_message()
        set size message_size(cm) + message_lines(cm)
        set fdmsg open(">/tmp/tempfile")
        message_to_stream(fdmsg, current_message(), "CRLF")
        close(fdmsg)

-- 
Mehmet Avcioglu
mehmet@xxxxxxxxxxxxx