Hi Martijn Many thanks for your mail and your response
/--snipOn Mon, Apr 29, 2013 at 9:05 PM, Martijn Brinkers <[email protected] > 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: > > [email protected]; Sender: [email protected]; > > (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: [[email protected], [email protected]]; > Subject: > > *** DLP quarantine warning ***; Message-ID: < > > [email protected]>; > > (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: [email protected] > > 2. Change the dlp.xml mail flow config. > > Change the line <from> postmaster </from> to <from> > [email protected] </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 > Kind regards, > > Martijn Brinkers > > > -- > DJIGZO email encryption > _______________________________________________ > Users mailing list > [email protected] > http://lists.djigzo.com/lists/listinfo/users > -- Varad Gupta _______________________________________________ Users mailing list [email protected] http://lists.djigzo.com/lists/listinfo/users
