# Manual upload

# Manual upload

Not every DMARC report arrives through the scheduled IMAP pipeline. Reports sent to a different mailbox, pulled from an archive, or shared by a partner can be ingested from the Manual Upload screen.

## Uploading

Drop one or more report files onto the Upload page. Supported inputs:

- Raw XML `.xml` files.
- Gzipped XML `.xml.gz`.
- `.zip` archives containing one or more of the above.

Each file is parsed with the same `mail-auth` library the scheduled pipeline uses. Successfully parsed reports land in the database the same way; they appear in the dashboard and in the [record browser](/docs/drillmark/features/record-browser) alongside scheduled ingests.

## History

The Upload page keeps a per-user history of recent uploads:

- Uploaded at timestamp.
- Original filename.
- Byte count.
- Outcome (`parsed`, `failed`, `duplicate`).
- Short error when the parser rejected the file.

## Analysis-only paste

Uploaded reports are flagged as analysis-only on the record browser filter. Treat them as a diagnostic side channel: the alerts pipeline evaluates them the same way scheduled records are evaluated, but the Include analysis-only rows toggle lets you hide them from routine views.

## Failed emails screen

The Failed Emails screen (separate page in the sidebar) shows every email the scheduled incoming-queue job could not parse, per data source. Each row carries:

- Data source and the folder the email came from.
- Subject and sender of the original email.
- Parser error.
- Buttons: Retry (re-attempts parse on next failed-queue run), Download (saves the raw MIME), Delete (removes the row and leaves the email in the mailbox for manual handling).

The failed-queue job also retries these on its schedule (`SCHEDULE_FAILED_QUEUE`, default every 12 hours). Manual Retry is useful when you have fixed the underlying cause (a mailbox permission, a missing folder) and want to drain the backlog now.
