Package list golang-github-farsightsec-go-nmsg / b42ffe10-85cc-4b60-bb2b-1564e215832c/main nmsg_base / email.proto
b42ffe10-85cc-4b60-bb2b-1564e215832c/main

Tree @b42ffe10-85cc-4b60-bb2b-1564e215832c/main (Download .tar.gz)

email.proto @b42ffe10-85cc-4b60-bb2b-1564e215832c/mainraw · history · blame

syntax = "proto2";
package nmsg.base;

enum EmailType {
    unknown = 0;
    spamtrap = 1;
    rej_network = 2;
    rej_content = 3;
    rej_user = 4;
}

message Email {
    optional EmailType  type = 8;
    optional bytes      headers = 2;
    optional bytes      srcip = 3;
    optional bytes      srchost = 4;
    optional bytes      helo = 5;
    optional bytes      from = 6;
    repeated bytes      rcpt = 7;
    repeated bytes      bodyurl = 9;
    optional bytes      body = 10;
}