Discussion:
Filtering on the basis of the relay host
Daniel Hartmeier
2013-05-11 16:39:18 UTC
Permalink
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
JCA
2013-05-11 15:10:09 UTC
Permalink
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?

Loading...