[milters] Archive

Lists Index Date Thread Search

Article: 777
From: Sergey N. Romanov
Date: 2005-12-26 11:39:54 -0500
Subject: milters order

Removal...........: milters-request@milter.info?subject=remove
More information..: http://www.milter.info/#Support
--------------------------------------------------------

Hello,

I have question again. How I can change milters order?
I have installed milter-sender, milter-cli, milter-length, milter-limit 
and milter-error. I would like that milter-sender was after milter-cli, 
milter-length and milter-limit.

I have these lines in .mc file:

define(`_FFR_MILTER', `1')

INPUT_MAIL_FILTER(`milter-cli',`S=unix:/var/run/milter/milter-cli.socket, 
T=C:10s;S:10s;R:60s;E:10s')
INPUT_MAIL_FILTER(`milter-error',`S=unix:/var/run/milter/milter-error.socket, 
T=C:10s;S:10s;R:60s;E:10s')
INPUT_MAIL_FILTER(`milter-length',`S=unix:/var/run/milter/milter-length.socket, 
T=C:10s;S:10s;R:60s;E:10s')
INPUT_MAIL_FILTER(`milter-limit',`S=unix:/var/run/milter/milter-limit.socket, 
T=C:10s;S:10s;R:60s;E:10s')
INPUT_MAIL_FILTER(`milter-report',`S=unix:/var/run/milter/milter-report.socket, 
T=C:10s;S:10s;R:60s;E:10s')
INPUT_MAIL_FILTER(`milter-sender',`S=unix:/var/run/milter/milter-sender.socket, 
T=C:10s;S:10s;R:5m;E:10s')

define(`confMILTER_MACROS_CONNECT', 
confMILTER_MACROS_CONNECT`,{client_resolve}')
define(`confMILTER_MACROS_HELO', confMILTER_MACROS_HELO`, {verify}')

define(`confINPUT_MAIL_FILTERS', 
`milter-limit,milter-length,milter-cli,milter-sender,milter-error,milter-report') 
in my .mc file.

But in sendmail log file I can see that milter-sender is the first milter.
Or this is impossible because of confMILTER_MACROS_CONNECT and 
confMILTER_MACROS_HELO?

-- 

Best regards,
Sergey N. Romanov

Lists Index Date Thread Search