🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: bit.listserv.openbsd-pf
2 messages
2 total messages Started by JCA Sat, 11 May 2013 17:06
Filtering on the basis of the relay host
#195
Author: JCA
Date: Sat, 11 May 2013 17:06
22 lines
1945 bytes
--089e0149495cf1a2d204dc72ad61
Content-Type: text/plain; charset=ISO-8859-1

I would be interested to use milter-regex to filter incoming emails
according to the relay host. When an email arrives, sendmail logs a line
containing several fields, like 'from', 'size', 'msgtype', etc. and their
values. One of those fields is 'relay'. Can milter-regex filter emails
depending on the value of this field?

--089e0149495cf1a2d204dc72ad61
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">I would be interested to use milter-regex to filter incomi=
ng emails according to the relay host. When an email arrives, sendmail logs=
 a line containing several fields, like &#39;from&#39;, &#39;size&#39;, &#3=
9;msgtype&#39;, etc. and their values. One of those fields is &#39;relay&#3=
9;. Can milter-regex filter emails depending on the value of this field?<di=
v>
<br></div><div><br></div></div>

--089e0149495cf1a2d204dc72ad61--
Re: Filtering on the basis of the relay host
#194
Author: Daniel Hartmeier
Date: Sat, 11 May 2013 17:04
12 lines
1484 bytes
On Sat, May 11, 2013 at 09:10:09AM -0600, JCA wrote:

> I would be interested to use milter-regex to filter incoming emails
> according to the relay host. When an email arrives, sendmail logs a line
> containing several fields, like 'from', 'size', 'msgtype', etc. and their
> values. One of those fields is 'relay'. Can milter-regex filter emails
> depending on the value of this field?

That's simply the peer of the SMTP connection, which is matchable with the
'connect' expression.

Daniel
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads