Package list golang-github-farsightsec-go-nmsg / debian/0.2.0-2 nmsg_base / email.proto
debian/0.2.0-2

Tree @debian/0.2.0-2 (Download .tar.gz)

email.proto @debian/0.2.0-2raw · history · blame

syntax = "proto2";
package nmsg.base;
option go_package = "github.com/farsightsec/go-nmsg/nmsg_base";

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

    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;
}