[Help configuring notification sender id]

Hi

I am newbie to djigzo. Thanks for such a wonderful suite. Have just begun
exploring it.

Have successfully setup quarantine rules. The problem is in setting the
sender-id for the "notification mails". I am obviously missing something
trivial in the setup.

The log snipped below shall make my problem clear

INFO DLP checking the message; MailID:
b4237848-5429-42ef-9778-4eed9a43aee8
(mitm.application.djigzo.james.mailets.Default)
[Spool Thread #3]30 Apr 2013 00:13:13 | WARN Policy was violated. Rule: my
first pattern, Priority: QUARANTINE
(mitm.application.djigzo.james.mailets.SenderRegExpPolicyChecker) [Spool
Thread #3]

30 Apr 2013 00:13:13 | INFO A DLP quarantine rule was activated for the
message | MailID: b4237848-5429-42ef-9778-4eed9a43aee8; Originator:
dlp.test(a)xxxxx.com; Sender: dlp.test(a)xxxx.com;
(mitm.application.djigzo.james.mailets.Log) [Spool Thread #3]
30 Apr 2013 00:13:13 | INFO The message was quarantined; MailID:
b4237848-5429-42ef-9778-4eed9a43aee8(mitm.application.djigzo.james.mailets.Default)
[Spool Thread #3]30 Apr 2013 00:13:13 | INFO Mail was quarantined. MailID:
b4237848-5429-42ef-9778-4eed9a43aee8, Quarantine ID:
13672608816850esp3vja3zt4j3jloja4sxvdvze
(mitm.application.djigzo.james.mailets.Quarantine) [Spool Thread #3]30 Apr
2013 00:13:13 | INFO Sending a DLP quarantine notification message; MailID:
b4237848-5429-42ef-9778-4eed9a43aee8
(mitm.application.djigzo.james.mailets.Default)
[Spool Thread #3]
30 Apr 2013 00:13:13 | INFO transport-auto-submitted state | MailID:
b4237848-5429-42ef-9778-4eed9a43aee8; Originator: <>; Sender: <>;
(mitm.application.djigzo.james.mailets.Log) [Spool Thread #1]
30 Apr 2013 00:13:15 | INFO transport state | MailID:
b4237848-5429-42ef-9778-4eed9a43aee8; Originator: <>; Sender: <>; Remote
address: 127.0.0.1; Recipients: [dlp.test(a)xxxxx.com, abc(a)yyy.com]; Subject:
*** DLP quarantine warning ***; Message-ID: <
2016627616.0.1367260993768.JavaMail.djigzo(a)webmail.xxxxxx.com>;
(mitm.application.djigzo.james.mailets.Log) [Spool Thread #1]

Can you pls let me know how to set the "notification sender address" for
quarantine and spam rules...

Thanks in advance...

Regards

Varad

Hi

I am newbie to djigzo. Thanks for such a wonderful suite. Have just begun
exploring it.

Have successfully setup quarantine rules. The problem is in setting the
sender-id for the "notification mails". I am obviously missing something
trivial in the setup.

The log snipped below shall make my problem clear

INFO DLP checking the message; MailID:
b4237848-5429-42ef-9778-4eed9a43aee8
(mitm.application.djigzo.james.mailets.Default)
[Spool Thread #3]30 Apr 2013 00:13:13 | WARN Policy was violated. Rule: my
first pattern, Priority: QUARANTINE
(mitm.application.djigzo.james.mailets.SenderRegExpPolicyChecker) [Spool
Thread #3]

30 Apr 2013 00:13:13 | INFO A DLP quarantine rule was activated for the
message | MailID: b4237848-5429-42ef-9778-4eed9a43aee8; Originator:
dlp.test(a)xxxxx.com; Sender: dlp.test(a)xxxx.com;
(mitm.application.djigzo.james.mailets.Log) [Spool Thread #3]
30 Apr 2013 00:13:13 | INFO The message was quarantined; MailID:
b4237848-5429-42ef-9778-4eed9a43aee8(mitm.application.djigzo.james.mailets.Default)
[Spool Thread #3]30 Apr 2013 00:13:13 | INFO Mail was quarantined. MailID:
b4237848-5429-42ef-9778-4eed9a43aee8, Quarantine ID:
13672608816850esp3vja3zt4j3jloja4sxvdvze
(mitm.application.djigzo.james.mailets.Quarantine) [Spool Thread #3]30 Apr
2013 00:13:13 | INFO Sending a DLP quarantine notification message; MailID:
b4237848-5429-42ef-9778-4eed9a43aee8
(mitm.application.djigzo.james.mailets.Default)
[Spool Thread #3]
30 Apr 2013 00:13:13 | INFO transport-auto-submitted state | MailID:
b4237848-5429-42ef-9778-4eed9a43aee8; Originator: <>; Sender: <>;
(mitm.application.djigzo.james.mailets.Log) [Spool Thread #1]
30 Apr 2013 00:13:15 | INFO transport state | MailID:
b4237848-5429-42ef-9778-4eed9a43aee8; Originator: <>; Sender: <>; Remote
address: 127.0.0.1; Recipients: [dlp.test(a)xxxxx.com, abc(a)yyy.com]; Subject:
*** DLP quarantine warning ***; Message-ID: <
2016627616.0.1367260993768.JavaMail.djigzo(a)webmail.xxxxxx.com>;
(mitm.application.djigzo.james.mailets.Log) [Spool Thread #1]

Can you pls let me know how to set the "notification sender address" for
quarantine and spam rules...

Hi Varad,

The sender is set to the null sender (i.e., empty sender) since this is
an automated message. The main reason for doing this is to prevent
possible mail loops. The from of the message is then set to

postmaster@"My Hostname"

where "My Hostname" is set on the MTA page

If you want to change this you have two options:

1. Change the template.

For example to change the quarantine template for the global settings
click settings -> templates, select the "DLP quarantine" template,
uncheck "inherit", replace From: <${from!""}> by:

2. Change the dlp.xml mail flow config.

Change the line <from> postmaster </from> to <from>
somefromaddress(a)example.com </from>

I strongly suggest you take the first option since it can be done from
the GUI.

If you want to change the sender address you can only do this by
modifying dlp.xml (see <sender> element). However I strongly advise not
to change the sender (only the from).

Kind regards,

Martijn Brinkers

···

On 04/29/2013 05:06 PM, varad gupta wrote:
From: somefromaddress(a)example.com

--
DJIGZO email encryption

Hi Martijn

Many thanks for your mail and your response

/--snipOn Mon, Apr 29, 2013 at 9:05 PM, Martijn Brinkers <martijn(a)djigzo.com

wrote:

> Hi
>
> I am newbie to djigzo. Thanks for such a wonderful suite. Have just begun
> exploring it.
>
> Have successfully setup quarantine rules. The problem is in setting the
> sender-id for the "notification mails". I am obviously missing something
> trivial in the setup.
>
> The log snipped below shall make my problem clear
>
>
> INFO DLP checking the message; MailID:
> b4237848-5429-42ef-9778-4eed9a43aee8
> (mitm.application.djigzo.james.mailets.Default)
> [Spool Thread #3]30 Apr 2013 00:13:13 | WARN Policy was violated. Rule:
my
> first pattern, Priority: QUARANTINE
> (mitm.application.djigzo.james.mailets.SenderRegExpPolicyChecker) [Spool
> Thread #3]
>
> 30 Apr 2013 00:13:13 | INFO A DLP quarantine rule was activated for the
> message | MailID: b4237848-5429-42ef-9778-4eed9a43aee8; Originator:
> dlp.test(a)xxxxx.com; Sender: dlp.test(a)xxxx.com;
> (mitm.application.djigzo.james.mailets.Log) [Spool Thread #3]
> 30 Apr 2013 00:13:13 | INFO The message was quarantined; MailID:
>
b4237848-5429-42ef-9778-4eed9a43aee8(mitm.application.djigzo.james.mailets.Default)
> [Spool Thread #3]30 Apr 2013 00:13:13 | INFO Mail was quarantined.
MailID:
> b4237848-5429-42ef-9778-4eed9a43aee8, Quarantine ID:
> 13672608816850esp3vja3zt4j3jloja4sxvdvze
> (mitm.application.djigzo.james.mailets.Quarantine) [Spool Thread #3]30
Apr
> 2013 00:13:13 | INFO Sending a DLP quarantine notification message;
MailID:
> b4237848-5429-42ef-9778-4eed9a43aee8
> (mitm.application.djigzo.james.mailets.Default)
> [Spool Thread #3]
> 30 Apr 2013 00:13:13 | INFO transport-auto-submitted state | MailID:
> b4237848-5429-42ef-9778-4eed9a43aee8; Originator: <>; Sender: <>;
> (mitm.application.djigzo.james.mailets.Log) [Spool Thread #1]
> 30 Apr 2013 00:13:15 | INFO transport state | MailID:
> b4237848-5429-42ef-9778-4eed9a43aee8; Originator: <>; Sender: <>; Remote
> address: 127.0.0.1; Recipients: [dlp.test(a)xxxxx.com, abc(a)yyy.com];
Subject:
> *** DLP quarantine warning ***; Message-ID: <
> 2016627616.0.1367260993768.JavaMail.djigzo(a)webmail.xxxxxx.com>;
> (mitm.application.djigzo.james.mailets.Log) [Spool Thread #1]
>
>
> Can you pls let me know how to set the "notification sender address" for
> quarantine and spam rules...

Hi Varad,

The sender is set to the null sender (i.e., empty sender) since this is
an automated message. The main reason for doing this is to prevent
possible mail loops. The from of the message is then set to

postmaster@"My Hostname"

where "My Hostname" is set on the MTA page

If you want to change this you have two options:

1. Change the template.

For example to change the quarantine template for the global settings
click settings -> templates, select the "DLP quarantine" template,
uncheck "inherit", replace From: <${from!""}> by:

From: somefromaddress(a)example.com

2. Change the dlp.xml mail flow config.

Change the line <from> postmaster </from> to <from>
somefromaddress(a)example.com </from>

I strongly suggest you take the first option since it can be done from
the GUI.

If you want to change the sender address you can only do this by
modifying dlp.xml (see <sender> element). However I strongly advise not
to change the sender (only the from).

The second method, modifying dlp.xml worked..

Can you let me know why would you recommend against using this method ?

Warm REgards

Varad Gupta

···

On 04/29/2013 05:06 PM, varad gupta wrote:

Kind regards,

Martijn Brinkers

--
DJIGZO email encryption
_______________________________________________
Users mailing list
Users(a)lists.djigzo.com
http://lists.djigzo.com/lists/listinfo/users

--
Varad Gupta

It makes upgrade to new releases somewhat more difficult since a local
file has changed. Also a backup won't backup this change. With the first
option, only a configuration in the database is changed. This change
will be kept when doing an upgrade or a backup/restore.

Kind regards,

Martijn Brinkers

···

On 04/29/2013 06:43 PM, varad gupta wrote:

/--snipOn Mon, Apr 29, 2013 at 9:05 PM, Martijn Brinkers
<martijn(a)djigzo.com <mailto:martijn(a)djigzo.com>> wrote:

    On 04/29/2013 05:06 PM, varad gupta wrote:
     > Hi
     >
     > I am newbie to djigzo. Thanks for such a wonderful suite. Have
    just begun
     > exploring it.
     >
     > Have successfully setup quarantine rules. The problem is in
    setting the
     > sender-id for the "notification mails". I am obviously missing
    something
     > trivial in the setup.
     >
     > The log snipped below shall make my problem clear
     >
     >
     > INFO DLP checking the message; MailID:
     > b4237848-5429-42ef-9778-4eed9a43aee8
     > (mitm.application.djigzo.james.mailets.Default)
     > [Spool Thread #3]30 Apr 2013 00:13:13 | WARN Policy was violated.
    Rule: my
     > first pattern, Priority: QUARANTINE
     > (mitm.application.djigzo.james.mailets.SenderRegExpPolicyChecker)
    [Spool
     > Thread #3]
     >
     > 30 Apr 2013 00:13:13 | INFO A DLP quarantine rule was activated
    for the
     > message | MailID: b4237848-5429-42ef-9778-4eed9a43aee8; Originator:
     > dlp.test(a)xxxxx.com <mailto:dlp.test(a)xxxxx.com>; Sender:
    dlp.test(a)xxxx.com <mailto:dlp.test(a)xxxx.com>;
     > (mitm.application.djigzo.james.mailets.Log) [Spool Thread #3]
     > 30 Apr 2013 00:13:13 | INFO The message was quarantined; MailID:
     >
    b4237848-5429-42ef-9778-4eed9a43aee8(mitm.application.djigzo.james.mailets.Default)
     > [Spool Thread #3]30 Apr 2013 00:13:13 | INFO Mail was
    quarantined. MailID:
     > b4237848-5429-42ef-9778-4eed9a43aee8, Quarantine ID:
     > 13672608816850esp3vja3zt4j3jloja4sxvdvze
     > (mitm.application.djigzo.james.mailets.Quarantine) [Spool Thread
    #3]30 Apr
     > 2013 00:13:13 | INFO Sending a DLP quarantine notification
    message; MailID:
     > b4237848-5429-42ef-9778-4eed9a43aee8
     > (mitm.application.djigzo.james.mailets.Default)
     > [Spool Thread #3]
     > 30 Apr 2013 00:13:13 | INFO transport-auto-submitted state | MailID:
     > b4237848-5429-42ef-9778-4eed9a43aee8; Originator: <>; Sender: <>;
     > (mitm.application.djigzo.james.mailets.Log) [Spool Thread #1]
     > 30 Apr 2013 00:13:15 | INFO transport state | MailID:
     > b4237848-5429-42ef-9778-4eed9a43aee8; Originator: <>; Sender: <>;
    Remote
     > address: 127.0.0.1; Recipients: [dlp.test(a)xxxxx.com
    <mailto:dlp.test(a)xxxxx.com>, abc(a)yyy.com <mailto:abc(a)yyy.com>]; Subject:
     > *** DLP quarantine warning ***; Message-ID: <
     > 2016627616.0.1367260993768.JavaMail.djigzo(a)webmail.xxxxxx.com
    <mailto:2016627616.0.1367260993768.JavaMail.djigzo(a)webmail.xxxxxx.com>>;
     > (mitm.application.djigzo.james.mailets.Log) [Spool Thread #1]
     >
     >
     > Can you pls let me know how to set the "notification sender
    address" for
     > quarantine and spam rules...

    Hi Varad,

    The sender is set to the null sender (i.e., empty sender) since this is
    an automated message. The main reason for doing this is to prevent
    possible mail loops. The from of the message is then set to

    postmaster@"My Hostname"

    where "My Hostname" is set on the MTA page

    If you want to change this you have two options:

    1. Change the template.

    For example to change the quarantine template for the global settings
    click settings -> templates, select the "DLP quarantine" template,
    uncheck "inherit", replace From: <${from!""}> by:

    From: somefromaddress(a)example.com <mailto:somefromaddress(a)example.com>

    2. Change the dlp.xml mail flow config.

    Change the line <from> postmaster </from> to <from>
    somefromaddress(a)example.com <mailto:somefromaddress(a)example.com> </from>

    I strongly suggest you take the first option since it can be done from
    the GUI.

    If you want to change the sender address you can only do this by
    modifying dlp.xml (see <sender> element). However I strongly advise not
    to change the sender (only the from).

The second method, modifying dlp.xml worked..

Can you let me know why would you recommend against using this method ?

--
DJIGZO email encryption