| |||||||||||||||||||||||||||||||
|
I'm finishing and doing last checks to my policy done in perl for postfix... it's used for rejecting mail at smtp time if the mailbox you're gonna deliver is overquota... but have found a little problem... sometimes when connection is hung after finishing receiving mail or someone does ehlo, mail from, rcpt to, quit... the instance with this recipients is not removed from the table of my database wich has the next format : instance, recipient, timestamp. one line per recipient of email. So I though could be a nice idea adding the field seen before with the timestamp and remove all records older than one hour from the mysql table. And at the end my doubt : wich frecuency can an instance be repeated in postfix? I say this because if the connection is hung or someone types what I have set before the record is not deleted from the table till it has more than an hour old... could within an hour be repeated the instance?? it's difficult setting lower times because if a mail is big and you're connection has a little bandwitdh it's easy the transaction to take half an hour or so... so could with in an hour period repeat the instance given to a mail transaction by postfix? Thanks a lot mates!!
| ||||||||||||||||||||||||||||||
© 2004-2008 readlist.com