[Dovecot] passing quota to deliver via command line
            
            
            
                4 Sep
                
                    2007
                
            
            
                4 Sep
                
                '07
                
            
            
            
        
    
                6:24 p.m.
            
        Is there any way to pass things like "quota=" for the quota plugin to the deliver LDA via the command line or as an environment variable or whatever? I've got all the info I need in my MTA to avoid a userdb lookup in the LDA, but I still have to do the userdb query to get the per-user quota number (the default quota works fine, of course).
bill-dovecot@carpenter.ORG (WJCarpenter) PGP 0x91865119 38 95 1B 69 C9 C6 3D 25 73 46 32 04 69 D6 ED F3
            
            
            
                9 Sep
                
            
            
                9 Sep
                
            
            
            
        
    
                4:43 a.m.
            
        On Tue, 2007-09-04 at 08:24 -0700, WJCarpenter wrote:
Is there any way to pass things like "quota=" for the quota plugin to the deliver LDA via the command line or as an environment variable or whatever? I've got all the info I need in my MTA to avoid a userdb lookup in the LDA, but I still have to do the userdb query to get the per-user quota number (the default quota works fine, of course).
You can pass it in QUOTA environment, which behaves exactly as quota= setting.
With v1.1 you'll need to give -k parameter so that it doesn't clean the environment (added just now).
        6627
        
      
          Age (days ago)
        
      
        6632
        
    
          Last active (days ago)
        
        
        
        1 comments
    
    
        
        2 participants
    
    
    
    
    
    
    
    
    participants (2)
- 
                
                bill-dovecot@carpenter.ORG
- 
                
                Timo Sirainen