Try using '-y' which replaces the old '-r' switch. I'll fix the source.


Максим Черногор wrote:
I try to purge my database but...

Try running dbmail-util with the '-r' option to repair the errors.

But dbmail-util doesn't know about option '-r'

[EMAIL PROTECTED]@14:27:09:/var/db/mysql# dbmail-util -r -f /usr/local/etc/dbmail.conf
*** dbmail-util ***
Use this program to maintain your DBMail database.
See the man page for more info. Summary:

    -a        perform all checks (in this release: -ctubpd)
    -c        clean up database (optimize/vacuum)
    -t        test for message integrity
    -u        null message check
    -b        body/header check
    -p        purge messages have the DELETE status set
    -d        set DELETE status for deleted messages
    -l time   clear the IP log used for IMAP/POP-before-SMTP
              the time is specified as <hours>h<minutes>m
              (don't include the angle brackets, though)

Common options for all DBMail utilities:
    -f file   specify an alternative config file
    -q        quietly skip interactive prompts
              use twice to suppress error messages
    -n        show the intended action but do not perform it, no to all
    -y        perform all proposed actions, as though yes to all
    -v        verbose details
    -V        show the version
    -h        show this help message


[EMAIL PROTECTED]@14:26:07:/var/db/mysql# dbmail-util -ctubpd -f /usr/local/etc/dbmail.conf
Opening connection to database...
Opening connection to authentication...
Ok. Connected.

Checking DBMAIL messageblocks integrity...
Ok. Found [0] unconnected messageblks.

Checking DBMAIL message integrity...
Ok. Found [0] unconnected messages.

Checking DBMAIL mailbox integrity...
Ok. Found [0] unconnected mailboxes.

Checking DBMAIL for NULL messages...
Ok. Found [0] NULL messages.

Checking DBMAIL for NULL physmessages...
Ok. Found [0] physmessages without messageblocks.

Checking DBMAIL for incorrect is_header flags...
Ok. Found [12468] incorrect is_header flags.

Counting messages with PURGE status...
Ok. Found [0] messages with PURGE status.

Counting messages with DELETE status...
Ok. Found [16848] messages with DELETE status.

Vacuum and optimize not performed.

Maintenance done. Errors were found but not fixed.
Try running dbmail-util with the '-r' option to repair the errors.


------------------------------------------------------------------------

_______________________________________________
Dbmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail

--
  ________________________________________________________________
  Paul Stevens                                         [EMAIL PROTECTED]
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands_______________________________________www.nfg.nl

Reply via email to