milter reject questions

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 [at] domainA receipient1 [at] domainB milter1 reject
sender2 [at] domainA receipient1 [at] domainB * ok
sender3 [at] domainA receipient1 [at] domainB milter2 changeheader ....
sender4 [at] domainA receipient1 [at] domainB * quarrantined

Thank you for your input.

--
Johnson Chow
wschow [ So, 30 Dezember 2007 01:49 ] [ ID #1896365 ]

Re: milter reject questions

On Dec 29, 7:49 pm, "Mr. Chow Wing Siu" <wsc... [at] Comp.HKBU.Edu.HK>
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 [at] domainA receipient1 [at] domainB milter1 reject
> sender2 [at] domainA receipient1 [at] domainB * ok
> sender3 [at] domainA receipient1 [at] domainB milter2 changeheader ....
> sender4 [at] domainA receipient1 [at] 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
Joe Maimon [ So, 30 Dezember 2007 16:37 ] [ ID #1896371 ]
Miscellaneous » comp.mail.sendmail » milter reject questions

Vorheriges Thema: overriding a reject rule in the access list
Nächstes Thema: masquerade as anything specified in "From:" line