milter reject questions

milter reject questions

am 30.12.2007 01:49:06 von wschow

Dear all,

I tried to setup some milters to reject messages but the users
(receipient and senders) did not know the messages rejected.

Is there any mechanism to control all milters to let users
manage the actions, for example:

sender1@domainA receipient1@domainB milter1 reject
sender2@domainA receipient1@domainB * ok
sender3@domainA receipient1@domainB milter2 changeheader ....
sender4@domainA receipient1@domainB * quarrantined

Thank you for your input.

--
Johnson Chow

Re: milter reject questions

am 30.12.2007 16:37:14 von Joe Maimon

On Dec 29, 7:49 pm, "Mr. Chow Wing Siu"
wrote:
> Dear all,
>
> I tried to setup some milters to reject messages but the users
> (receipient and senders) did not know the messages rejected.
>
> Is there any mechanism to control all milters to let users
> manage the actions, for example:
>
> sender1@domainA receipient1@domainB milter1 reject
> sender2@domainA receipient1@domainB * ok
> sender3@domainA receipient1@domainB milter2 changeheader ....
> sender4@domainA receipient1@domainB * quarrantined
>
> Thank you for your input.
>
> --
> Johnson Chow


I think the closest you would get to what you had in mind, which
sounds like sendmail centralized control of milter actions, is the
milter-rrres patchset, which is not yet compatible with 8.14

milter-rrres supports selective calling of milters and supports having
milters call into sendmail to for example, check the access table and
call rulesets. It also supports rewriting/changing the milter commands/
actions returned to something else, again based on rulesets.

For example, the spamass-milter patch from here
http://www.jmaimon.com/sendmail/spamass-milter/patches/bBrAc tions.v6.031+CVS.patch
could be modified to dynamically lookup into sendmail to build the
actions applicable to this session.

Without patching, you will need to consult the functionality available
to you milter by milter.

For example, most spamassassin and anti-virus milters support
notifications and/or modifications to the original message body or
headers.

You may be able to find a "hypervisor" like milter, or perhaps use
mimedefang in that capacity, to centralize all your control there and
have that milter call all your other actions.

Here is a list of milters I know about:

http://www.jmaimon.com/sendmail/milters