Dear all, I have a Debian server with postfix 2.3.8 & postfix-policyd
1.80-2 as part of my mail system. I need to set up message size limits
to different users from my mail server (they are virtual users because
my postfix has virtual domains), i.e.:

[EMAIL PROTECTED] --- message size 2 MB
[EMAIL PROTECTED] --- message size 10 MB

vdomain.com is one of my virtual domains.

I follow the installation documentation but I can't put the system to
work. I tell you the relevant data in order to get your help:

1) SENDER Throttle by (envelope) From address:

INSERT INTO throttle \
 
(_from,_count_max,_count_cur,_date,_quota_cur,_quota_max,_time_limit,_mail_size,_count_tot,_rcpt_max,_rcpt_cur,_rcpt_tot,_abuse_cur,_abuse_tot,_log_warn,_log_panic,_priority)
 VALUES ('[EMAIL PROTECTED]',  # from address                             
          ....    
          ....    
          ......  
          2500000,          # maximum message size (10 meg)
          ......  
        
Same to [EMAIL PROTECTED]

2) In my main.cf:

smtpd_recipient_restrictions =
        check_recipient_access hash:/etc/postfix/access
        permit_mynetworks
        reject_unauth_destination
        check_policy_service inet:127.0.0.1:10031

3) In my postix-policyd.conf I have these main lines:

MYSQLHOST="localhost"
MYSQLDBASE="postfixpolicyd"
WHITELISTING=0
BLACKLISTING=0
BLACKLIST_HELO=0
BLACKLISTSENDER=0
SPAMTRAPPING=0
GREYLISTING=0
SENDERTHROTTLE=1
RECIPIENTTHROTTLE=0

Finally, the throttle table is fullfilled with external mail accounts and I 
have not my virtual mail acounts I have set up, they dissapeared.

What do I have to do in order to set up message size limit for my virtual 
domains users ???

Thanks in advance,

Alejandro









-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
policyd-users mailing list
policyd-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/policyd-users

Reply via email to