Bob Hutchinson wrote: > On Friday 09 Dec 2005 13:30, Nikki Locke wrote: > > One of the domains on my server only exists to route mail sent to a > > particular old email address on to its new owner. All other mail addressed > > to that domain is junk (even postmaster mail). No mail is ever sent from > > that domain. > > > > I therefore went in to the qmailadmin web page, opened the postmaster > > account, chose it in the modify user list, and selected the "All mail > > deleted" radio button. > > > > However, mail still appears in the squirrelmail mailbox! > > > > What do I do to ensure the mail is quietly accepted and then completely > > ignored, not taking up any disk space? > > Have a look at the .qmail-default for that domain and see what it did, some > (older) versions of qmailadmin didn't do it right IIRC > > I use an alias 'drop' > echo '#' > .qmail-drop > Then point any accounts that collect unwanted mail to 'drop'
[EMAIL PROTECTED] cat .qmail-default | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox [EMAIL PROTECTED] cat postmaster/.qmail # delete -- Nikki Locke, Trumphurst Ltd. PC & Unix consultancy & programming http://www.trumphurst.com/