On 04/11/2012 23:34, P.V.Anthony wrote:

I did set the debuggin level to 4. I also did a restart for policyd.

I am guessing that the error may not be policyd. Could it be that the
spam email does not have a proper "sender" value?

Now I understand what I did wrong with regards to the debug setting.

I did set the log to log_level=4 but I did not set anything for log_detail. Once I set to log_detail=modules,protocols,policies,tracking all the information started coming into the log. Phew!

Found the following error and it looks like the sender is sending without a proper "sender" value. Tt seems like the the sender value is missing the ">". For example "admin <[email protected]". I wonder why the email server is sending like that. It must be some spam.

What does policyd do with such email?

---------------- start ---------------------------
[2012/11/07-20:43:49 - 30361] [PROTOCOLS/Postfix] ERROR: Error, parameter 'sender' cannot be 'admin <[email protected]' [2012/11/07-20:43:49 - 30361] [CBPOLICYD] ERROR: Protocol data validation error, required parameter 'sender' was not found or invalid format [2012/11/07-20:44:00 - 30388] [PROTOCOLS/Postfix] ERROR: Error, parameter 'sender' cannot be 'admin <[email protected]' [2012/11/07-20:44:00 - 30388] [CBPOLICYD] ERROR: Protocol data validation error, required parameter 'sender' was not found or invalid format [2012/11/07-20:44:01 - 30340] [PROTOCOLS/Postfix] ERROR: Error, parameter 'sender' cannot be 'admin <[email protected]' [2012/11/07-20:44:01 - 30340] [CBPOLICYD] ERROR: Protocol data validation error, required parameter 'sender' was not found or invalid format [2012/11/07-20:44:01 - 30388] [PROTOCOLS/Postfix] ERROR: Error, parameter 'sender' cannot be 'admin <[email protected]' [2012/11/07-20:44:01 - 30388] [CBPOLICYD] ERROR: Protocol data validation error, required parameter 'sender' was not found or invalid format [2012/11/07-20:44:02 - 30340] [PROTOCOLS/Postfix] ERROR: Error, parameter 'sender' cannot be 'admin <[email protected]' [2012/11/07-20:44:02 - 30340] [CBPOLICYD] ERROR: Protocol data validation error, required parameter 'sender' was not found or invalid format [2012/11/07-20:44:02 - 30388] [PROTOCOLS/Postfix] ERROR: Error, parameter 'sender' cannot be 'admin <[email protected]' [2012/11/07-20:44:02 - 30388] [CBPOLICYD] ERROR: Protocol data validation error, required parameter 'sender' was not found or invalid format [2012/11/07-20:44:02 - 30331] [PROTOCOLS/Postfix] ERROR: Error, parameter 'sender' cannot be 'admin <[email protected]' [2012/11/07-20:44:02 - 30331] [CBPOLICYD] ERROR: Protocol data validation error, required parameter 'sender' was not found or invalid format

----------------- end ----------------------------

P.V.Anthony

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

Reply via email to