Am 28.10.2011 03:59, schrieb Fred Kilbourn:
> Hi,
> 
> I have a virtual mailbox environment and mailboxes are mapped into postfix
> from mysql with the following map:
> 
>       virtual_mailbox_maps = proxy:mysql:.../mysql_virtual_mailbox_maps.cf
> 
> The map queries the database as such:
> 
>       SELECT maildir FROM mailbox WHERE username='%s' AND active = '1'
> 
> Right now, when a user is disabled (by setting active = 0), the mailbox is
> not given to postfix and a 5.1.1 / unknown user in virtual mailbox table
> rejection occurs.  Can someone help or point me in the right direction to
> figure out how to check for these disabled boxes and instead send a 4.2.1 or
> 5.2.1 mailbox disabled reply instead?
> 
> Thank you,
> 
> Fred Kilbourn
> 

i found the disabled feature in postfixadmin as nonsense
a user/mailbox/alias should exist or not, so i told my users not to use
this feature
anyway postfix does its job right, in my case it bounces
incomming mail to inactive set mailboxes, but i didnt investigate
in more tests about it, perhaps there may be chances to change the
failure behave ( giving other failure messages ), but i dont think this
is usefull
-- 
Best Regards

MfG Robert Schetterer

Germany/Munich/Bavaria

Reply via email to