Hi list, I need to limit the quantity of messages sent by my users from command line (calling sendmail directly), ie: 100 messages by day per user. Looking at the documentation I had thought of using non_smtpd_milters and write a milter filter to do this using the uid as the key to control the number of messages sent by each user.
After playing a little with milter and write a initial filter, everything works great except that I can't find the any symbol provided by postfix containing the uid of sendmail the caller user. Does this symbol exists ? I appreciated any comment on this scenario. Is this a good solution ? Best Regards, Alexandre