Archive-Date: Wed, 20 Nov 2002 22:58:23 -0800 Message-ID: <3DDC8428.9020509@SMTP.DeltaTel.RU> Date: Thu, 21 Nov 2002 09:58:48 +0300 From: "Ruslan R. Laishev" Reply-To: MX-List@MadGoat.com MIME-Version: 1.0 To: MX-List Subject: Intercept all incoming local mail Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Hi All! I looking for a way to intercept or a to get copy of all incoming mail for local users. Is there any tips & triks ? TIA. -- Cheers, +OpenVMS [Sys|Net] HardWorker .......................................+ Delta Telecom Inc., NMT-450i, IMT-MC-450(CDMA) cellular operator Russia,191119,St.Petersburg,Transportny per. 3 Cel: +7 (812) 116-3222 +http://starlet.deltatel.ru ................. Frying on OpenVMS only + ================================================================================ Archive-Date: Thu, 21 Nov 2002 03:41:35 -0800 Message-ID: <3DDCC65E.5020002@atm.com.pl> Date: Thu, 21 Nov 2002 12:41:18 +0100 From: Jacek Tobiasz Reply-To: MX-List@MadGoat.com MIME-Version: 1.0 To: MX-List@MadGoat.com Subject: Re: Intercept all incoming local mail References: <3DDC8428.9020509@SMTP.DeltaTel.RU> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Ruslan R. Laishev wrote: > Hi All! > I looking for a way to intercept or a to get copy of all incoming > mail for local users. Is there any tips & triks ? Sure, you may use SITE interface, or better (at least for me) look at FILTER example. And see my old mail and Matt's response. With filter you may add BCC: to the mail and do other things. Is it OK for you ? Share your solution with others. Regards Jacek -------- Original Message -------- Subject: RE: Router filter callout Date: Thu, 2 May 2002 10:12:09 -0700 From: Matt Madison Reply-To: MX-Support@MadGoat.com To: MX-Support@MadGoat.com >Just installed MX 5.3 on one system (thanks again !) and look again at >[.EXAMPLES] files. Now it was time for filter.c. >Yes, it's unsupported, etc. > >Some time ago (5.0) filter was used by SPAMFILTER, right ? >In FILTER function I see 'msgfile' parameter. Does it mean we >have access to message body ? Yes, the idea is still alive: we >would like to filter e-mails based on message body/mime/attachments. >The simple answer is: use SITE interface. But what about >FILTER callout ? Yes, the filter callout does have access to the message body. >One more question. In FILTER we have access to all headers. >Now, I can look at Content-Type: in FILTER. It possible to >use FLTR__REWRITE to redirect mails with specific Content-Type: >to SITE interface ? Or, ROUTER is choosing PATH before FILTER >callout and we can not change it ? You should be able to rewrite the destination address(es). That's how the original SPAMFILTER worked, before that filtering was integrated into the SMTP server. >Questions about filtering message body comes from time to time ? >Is anyone filtering attachments/message body with SITE interface >or any other way ? > >Matt, what do you think about MX (not) being able to filter >message body (not counting SITE) ? The question was asked so >frequently. Matt, what's your point of view ? The SITE interface is certainly easier to use, but the filter callout interface was designed to do just this sort of thing. -Matt -- Matthew Madison | MadGoat Software | PO Box 556, Santa Cruz, CA 95061 USA madison@madgoat.com http://www.madgoat.com ================================================================================ Archive-Date: Thu, 21 Nov 2002 03:47:10 -0800 Message-ID: <3DDCC7D9.4020308@SMTP.DeltaTel.RU> Date: Thu, 21 Nov 2002 14:47:37 +0300 From: "Ruslan R. Laishev" Reply-To: MX-List@MadGoat.com MIME-Version: 1.0 To: MX-List@MadGoat.com Subject: Re: Intercept all incoming local mail References: <3DDC8428.9020509@SMTP.DeltaTel.RU> <3DDCC65E.5020002@atm.com.pl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hi Jacek, let me get some investigation about SITE... Jacek Tobiasz wrote: > > > Ruslan R. Laishev wrote: > >> Hi All! >> I looking for a way to intercept or a to get copy of all incoming >> mail for local users. Is there any tips & triks ? > > > Sure, you may use SITE interface, or better (at least for me) > look at FILTER example. And see my old mail and Matt's response. > With filter you may add BCC: to the mail and do other things. > > Is it OK for you ? Share your solution with others. > > Regards > Jacek > > -------- Original Message -------- > Subject: RE: Router filter callout > Date: Thu, 2 May 2002 10:12:09 -0700 > From: Matt Madison > Reply-To: MX-Support@MadGoat.com > To: MX-Support@MadGoat.com > > >Just installed MX 5.3 on one system (thanks again !) and look again at > >[.EXAMPLES] files. Now it was time for filter.c. > >Yes, it's unsupported, etc. > > > >Some time ago (5.0) filter was used by SPAMFILTER, right ? > >In FILTER function I see 'msgfile' parameter. Does it mean we > >have access to message body ? Yes, the idea is still alive: we > >would like to filter e-mails based on message body/mime/attachments. > >The simple answer is: use SITE interface. But what about > >FILTER callout ? > > Yes, the filter callout does have access to the message > body. > > >One more question. In FILTER we have access to all headers. > >Now, I can look at Content-Type: in FILTER. It possible to > >use FLTR__REWRITE to redirect mails with specific Content-Type: > >to SITE interface ? Or, ROUTER is choosing PATH before FILTER > >callout and we can not change it ? > > You should be able to rewrite the destination address(es). > That's how the original SPAMFILTER worked, before that filtering > was integrated into the SMTP server. > > >Questions about filtering message body comes from time to time ? > >Is anyone filtering attachments/message body with SITE interface > >or any other way ? > > > >Matt, what do you think about MX (not) being able to filter > >message body (not counting SITE) ? The question was asked so > >frequently. Matt, what's your point of view ? > > The SITE interface is certainly easier to use, but the filter > callout interface was designed to do just this sort of thing. > > -Matt > -- Cheers, +OpenVMS [Sys|Net] HardWorker .......................................+ Delta Telecom Inc., NMT-450i, IMT-MC-450(CDMA) cellular operator Russia,191119,St.Petersburg,Transportny per. 3 Cel: +7 (812) 116-3222 +http://starlet.deltatel.ru ................. Frying on OpenVMS only + ================================================================================ Archive-Date: Thu, 21 Nov 2002 07:02:15 -0800 Message-ID: <156a01c2916e$c3adc2d0$ea0c210a@si.com> From: "Brian Tillman" Reply-To: MX-List@MadGoat.com To: References: <3DDC8428.9020509@SMTP.DeltaTel.RU> Subject: Re: Intercept all incoming local mail Date: Thu, 21 Nov 2002 10:00:43 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="KOI8-R" Content-Transfer-Encoding: 7bit >I looking for a way to intercept or a to get copy of all incoming mail for >local users. Is there any tips & triks ? The freeware PMDF should be able to handle this, but unless you write a site interface, MX can't. Brian Tillman Internet: tillman_brian at si.com Smiths Aerospace tillman at swdev.si.com 3290 Patterson Ave. SE, MS Addresses modified to prevent Grand Rapids, MI 49512-1991 SPAM. Replace "at" with "@" This opinion doesn't represent that of my company ********************************************************************** This e-mail and any files transmitted with it are confidential and may be legally privileged or otherwise exempt from disclosure under applicable law. This e-mail and its files are intended solely for the individual or entity to whom they are addressed and their content is the property of Smiths Aerospace. If you are not the intended recipient, please do not read, copy, use or disclose this communication. If you have received this e-mail in error please notify the e-mail administrator at postmaster@si.com and then delete this e-mail, its files and any copies. This footnote also confirms that this e-mail message has been scanned for the presence of known computer viruses. ***********************************************************************