Adding a notification in the body of transmitted emails

The parameters presented in this section are used by avgatefwd only.

The following configuration parameters allow the insertion of a paragraph stating the AntiVir MailGate status of the forwarded email:

     AddStatusInBody         YES | NO
     ForwardAllEmailAsMIME   YES | NO
        

AddStatusInBody

When AddStatusInBody is NO, no not status notification is inserted in the body of the emails.

When AddStatusInBody is YES:

For plain rfc822 email (non MIME), just insert the notification paragraph in the beginning of the body.

For MIME email, transmit the checked email as a new MIME multipart/mixed email, with a first text/plain section containing the status notification paragraph, and with a second message/rfc822 section containing the whole original message. Most headers from the original are copied to the transmitted message.

Syntax:

     AddStatusInBody    YES | NO
          

Default value:

     AddStatusInBody    NO.
          

ForwardAllEmailAsMIME

When ForwardAllEmailAsMIME is NO, incoming emails that are not MIME emails get out as they came, non-MIME.

When ForwardAllEmailAsMIME is YES:

The behaviour does not change for MIME emails.

However, plain rfc822 emails are encapsulated into a MIME message/rfc822 section of a multipart/mixed email that will inherit all the headers of the user email. If AddStatusInBody is YES too, then our text is added into a text/plain entity inserted before the message/rfc822 entity.

Syntax:

     ForwardAllEmailAsMIME    YES | NO
          

Default value:

     ForwardAllEmailAsMIME    NO