Noel Jones wrote:
On 11/9/2010 8:39 AM, Lima Union wrote:
clamav-milter operates on the message data, so all postfix
smtpd_*_restrictions -- which operate on the envelope -- will get a
chance to reject mail before the data is transmitted.
sid-milter operates on the envelope. It will probably run before
smtpd_recipient_restrictions, but that's not such a big deal since it's
a fairly lightweight process (minimal CPU, but it does trigger a DNS
lookup).
Not sure. The MTA sequentially calls each milter at each SMTP step.
See :
https://www.milter.org/developers/overview#ControlFlow
So, e.g., for each recipient, postfix will call each milter one after the other.
However, I don't know if postfix checks smtpd_recipient_restrictions before
calling milters or after. I suppose before, but I'm not sure. Wietse ???
José-Marcio
Now that I've had more coffee and can think better, this modifies the
answer I gave earlier -- even though you can't specify sid-miler >
greylist > clamav-milter, that's how it will effectively run.