[exim] Query about writing to a MYSQL database

Top Page
Delete this message
Reply to this message
Author: isolderj
Date:  
To: exim-users
Subject: [exim] Query about writing to a MYSQL database

Hi,

I was wondering if there was a way to be able to write the following to a mysql database.

(mailserveripfrom, rejectcount, last_reject_reason)

where the mailserveripfrom is the mailserver sending the email and the rejectcount is how many times the "mailserveripfrom" has been rejected by any reject code and the last_reject_reason is the error message it got the last time it tried.

Can exim do something like this after the the data check once it has gotten the reject code before it rejects the mail.

That way you can start to build up stats on how many times specific mailserver IP's are rejected by exim.







_________________________________________________________________
Windows Live™: Keep your life in sync.
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_allup_explore_022009