I noticed a bug with our installation of QmailAdmin 1.2.9 (as part of
qmailtoaster.com install). If the user which was assigned as the catchall for a
domain is deleted, the .qmail-default file is not updated to reflect a new
catchall settings. This results in delivery errors indicated by this in our
logs:
2007-04-17 18:16:50.481904500 delivery 89249: deferral:
user_does_not_exist,_but_will_deliver_to_/home/vpopmail/domains/xxxxxxxxxx.com/mycatchall//can_not_open_new_email_file_errno=2_file=/home/vpopmail/domains/xxxxxxxxxx.com/mycatchall/Maildir/tmp/1176851810.4223.mx.strangecode.com,S=1926/system_error/
Steps to reproduce:
1. Create a test user: [EMAIL PROTECTED]
2. Set [EMAIL PROTECTED] as the catchall account.
3. Contents of /home/vpopmail/domains/example.com/.qmail-default are set to:
| /home/vpopmail/bin/vdelivermail ''
/home/vpopmail/domains/0/example.com/johndoe
4. Delete user [EMAIL PROTECTED]
5. Contents of /home/vpopmail/domains/example.com/.qmail-default remain set
to:
| /home/vpopmail/bin/vdelivermail ''
/home/vpopmail/domains/0/example.com/johndoe
The user is not notified they should set a new catchall.
Proposed fix:
Upon deletion of an account used as the catchall, update the .qmail-default to
the default setting of bounce-no-mailbox and prompt the user they can set a new
catchall account if they desire.
Quinn
---------------------------------------------------------------------
Strangecode :: Internet Consultancy
http://www.strangecode.com/
+1 530 554 9555