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

Reply via email to