On 30.07.19 12:52, Rob Maidment wrote:
I already have a before-queue content filter (proxy) that I must use:
http://www.postfix.org/SMTPD_PROXY_README.html
must? Are you sure you can't replace it by milter? Note that milter has
better functions than smtp proxy.
I would like to make use of a milter as well:
http://www.postfix.org/MILTER_README.html
I'd like to know if combining both could cause problems. What does the content
filter see, for example, if the milter indicates the message should be rejected
at the RCPT TO stage?
as you can read in http://www.postfix.org/MILTER_README.html:
When you use the before-queue content filter for incoming SMTP mail (see
SMTPD_PROXY_README), Milter applications have access only to the SMTP
command information; they have no access to the message header or body, and
cannot make modifications to the message or to the envelope.
I believe you can reject at RCPT to stage, if milter says so.
-----Original Message-----
From: owner-postfix-us...@postfix.org <owner-postfix-us...@postfix.org> On
Behalf Of Matus UHLAR - fantomas
Sent: 30 July 2019 12:46
To: postfix-users@postfix.org
Subject: Re: combine a milter and a before-queue content filter
** This message has come from an external source. If you do not recognise the
sender, THINK carefully before you CLICK or OPEN any links or attachments.
**
On 30.07.19 11:26, Rob Maidment wrote:
Is it possible to use milters in combination with a before-queue
content filter?
milter does work as before-queue content filter: it does run and is able to
reject messages at SMTP time.
What does the content filter see if the milter indicates a message
should be rejected?
if you are asking about smtp proxy, better don't use that. Milter often won't
indicate that since it won't see most of the message.
you can use two milters instead.
--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Silvester Stallone: Father of the RISC concept.