---
title: "Discussion on \"Postfix in a Chroot Cannot See Your MySQL Socket — Why Mail Stopped Both Ways\" | Hashnode"
description: "Discussion on \"Postfix in a Chroot Cannot See Your MySQL Socket — Why Mail Stopped Both Ways\". Postfix logs \"virtual_alias_maps map lookup problem\" and mail stops both ways, yet postmap works as root. The cause is the chroot column. One-line fix."
url: "https://hashnode.com/posts/postfix-in-a-chroot-cannot-see-your-mysql-socket-why-mail-stopped-both-ways/6af2087232f9373ba463564f"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Postfix in a Chroot Cannot See Your MySQL Socket — Why Mail Stopped Both Ways](https://quabin.hashnode.dev/postfix-in-a-chroot-cannot-see-your-mysql-socket-why-mail-stopped-both-ways?utm_source=hashnode&utm_medium=feed)

Postfix logs "virtual\_alias\_maps map lookup problem" and mail stops both ways, yet postmap works as root. The cause is the chroot column. One-line fix.

2d ago · 11 min read · quabin.hashnode.dev  
Read the article

-   [#postfix](https://hashnode.com/tag/postfix)
-   [#mysql](https://hashnode.com/tag/mysql)
-   [#email](https://hashnode.com/tag/email)
-   [#linux](https://hashnode.com/tag/linux)

## Written by

[Daanial Farrukh](https://hashnode.com/@daanial)

@daanial

  
[View profile](https://hashnode.com/@daanial)

Field notes from a presales solutions architect

Cloud presales architect — anonymized war stories and frameworks on cloud architecture, security, and the trade-offs that shape real systems.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
