# DKIM: signature expired (x= tag in the past) — signed message too old when verified

**Code:** `x= expired` · **Category:** Email / SMTP · **Seen on:** DKIM, Email

The DKIM signature has an expiry time and it passed before the message was verified.

## Meaning

Delayed delivery (long retry queues), replays or archived messages hit the `x=` expiry. Use a reasonable signature lifetime (days, not minutes) or omit `x=`; fix the delay that caused the old message to arrive late. Check that the sender's clock is correct.

## Common causes

- Signature lifetime too short
- Message delayed in queue/retries
- Wrong sender clock
- Message re-verified from archive
- Signer configured with a tiny expiry

## Quick fix

1. Remove or lengthen the `x=` expiry
2. Fix mail queue delays
3. Sync clocks (NTP)

## Detailed fix by platform

### Config

1. `# OpenDKIM: SignatureTTL 604800   # 7 days`

## How to diagnose

1. **x=** — In the past?
2. **Delay** — Where?
3. **Clock** — Correct?

---
Source: [WhatIsMyError](https://whatismyerror.com/errors/email/dkim-signature-expired-x-tag)
