Postfix /etc/systemd/postfix-resolvconf.path

Original ๐Ÿ“‹ Debian 13 (Trixie) 9 lines

Works On

Viewing:
Debian 13 (Trixie)
Same on:
Other versions:

Details

Size
9 lines
MD5
ad6131b40e7a5761e17efbde6ec5c568
SHA256
96149eb1f36d00d4dfe8e93602bb3b95a763f9d1d2bf728f4764dd80a9dad687

Copy & Paste

curl:
curl https://exampleconfig.com/api/v1/config/original/ad6131b40e7a5761e17efbde6ec5c568?hint=postfix-resolvconf.path
wget:
wget -O postfix-resolvconf.path https://exampleconfig.com/api/v1/config/original/ad6131b40e7a5761e17efbde6ec5c568?hint=postfix-resolvconf.path

For AI Agents

You are a DevOps agent. Fetch the default Postfix config for Debian 13 (Trixie) from https://exampleconfig.com/api/v1/config/original/ad6131b40e7a5761e17efbde6ec5c568?hint=postfix-resolvconf.path. Compare with my current /etc/systemd/postfix-resolvconf.path and summarize differences and safe changes.

Copy this prompt into Claude, ChatGPT, or other AI assistants.

/etc/systemd/postfix-resolvconf.path
[Unit]
Description=Watch for resolv.conf updates for postfix
ConditionPathExists=/etc/resolv.conf

[Path]
PathChanged=/etc/resolv.conf

[Install]
WantedBy=multi-user.target

Install Postfix

Alpine Linux

sudo apk add postfix

Debian

sudo apt update && sudo apt install postfix

Red Hat Enterprise Linux

sudo yum install postfix

Ubuntu

sudo apt update && sudo apt install postfix

File Location

File Path
/etc/systemd/postfix-resolvconf.path
Directory
/etc/systemd/
Significance
System-wide configuration directory
Description
Files in /etc/ contain system-wide configuration settings that affect all users.

FAQ

When should I use this postfix-resolvconf.path?

Restore it. Compare it. Start clean.

How do I restore Postfix defaults?

Download, replace, restart.

Is postfix-resolvconf.path safe for production?

Yes. This is exactly what shipped. Safe starting point.

How does this differ from other OS versions?

Defaults change. This one is specific to Debian 13 (Trixie).

Can I use this for Postfix troubleshooting?

Absolutely. Diff this against yours to spot the problem.