|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Tony Holmes (tony
crosswinds.net)
Date: Tue Mar 04 2008 - 09:44:33 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello,
First, I love postfix.
I have SASL auth via dovecot working well (pulling from a pgsql db) and I am
clamping down on possibilities for spam by further rate limiting senders
emails to a daily quota. postfix-policyd-sf is not suitable due to mysql only
and I really don't have the time to hack it.
I CAN do native pgsql maps tho, and have a token bucket schema/views/plpgsql
rules ready to use.
What I'd like to accomplish is this (in english):
1. Authenticate user
2. Reject if not authenticated
3. Check users remaining send quota
4. If number <= 0, reject
5. Else allow
Now the smtpd_*_restrictions work on a first hit basis. So would this mean I
need to set up a second instance on the localhost, bypass all the checks and
do my sending rate limit there? Or is there a simpler way with the restriction
rules?
TIA for you help!
--
Tony Holmes
Ph: (416) 993-1219
Founder and Senior Systems Architect
Crosswinds Internet Communications Inc.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]