Xymon Mailing List Archive search

xymon-mailack

list Ralph Mitchell
Tue, 2 Oct 2012 12:23:46 -0400
Message-Id: <CAAEjoCURkaYCRq=user-df3ac2b20ea3@xymon.invalid>

I've tried it going to Postfix and Lotus Notes, and both seem to be OK with
not putting in a blank line.  Looking at the raw email, it puts the Subject
line among the other headers and separates the body from the headers with a
blank line.  It looks like maybe mailers are smart enough to interpret the
first non-header as the start of the body?

A blank line wouldn't hurt, though, and may be necessary for some mailers.

Ralph Mitchell


On Tue, Oct 2, 2012 at 12:09 PM, Andrew Rakowski <user-00c59fc5f1d5@xymon.invalid> wrote:
} On Tue, Oct 2, 2012 at 11:59 AM, Ralph Mitchell <user-00a5e44c48c0@xymon.invalid>
wrote:
}       The sequence appears to be
} HELO server.domain.com
} MAIL FROM: user-4b28831ca997@xymon.invalid
} RCPT TO: user-06bef2435736@xymon.invalid
} DATA
} Subject: this is the subject line
} first line of message
} second line of message
} .
} QUIT
}
}
} I just tried that, and it delivered. with the Subject line among the
headers.  Odd, but
} it worked...
}
} Ralph Mitchell
[...snip...]

You also need a blank (empty) line after the header lines (in your case,
the Subject: line), the remainder of the input then becomes the body of
the mail message.

-Andrew


On Tue, 2 Oct 2012, Ray Reuter wrote:

} I have a feeling the machine I ran the telnet from can not deliver the
email but as in the
} message below it did accept everything i put in the command.
}
}