On 09/11/09 10:12, Simon Hobson wrote:
> Would it be possible to add the Postfix message ID to the policyd 
> logs (ie what goes into mail.log) ?
>
> When the new server goes live, it's going to be handling between 15 
> and 20k messages per day, and I relay on being able to "grep 
> <messageid> mail.log" to extract log lines related to a specific 
> message. When the system is running at over 600 messages/min (that's 
> over 10 messages/sec) at peak times, it's just not practical to look 
> through the logs and try to figure out what goes with what.
>   

You after the message ID or queue ID?

I do have planned a script, or plugin for Policyd which will monitor the
logs and log to database all messages inbound and outbound and their
status (including tracking through amavis). This will more than likely
require the above to be implemented. I think this may help aswell.

-N

_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users

Reply via email to