AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / server / 问题 / 568485
Accepted
Gewürzwiesel
Gewürzwiesel
Asked: 2014-01-21 02:27:19 +0800 CST2014-01-21 02:27:19 +0800 CST 2014-01-21 02:27:19 +0800 CST

Maildrop 投递到邮件地址的用户部分,而不是用户邮件目录

  • 772

我的后缀配置有问题。我已将其设置为从活动目录中获取用户和密码。几乎一切正常。我几乎可以为每个帐户发送和接收电子邮件。有一些例外。所有用户都有他们的姓氏作为用户名。现在,我让所有用户都拥有 [email protected] 的电子邮件帐户。这些地址有效,因为电子邮件地址的用户部分与用户名匹配。但是有些用户已经给出了[email protected]。这些都行不通。Postmap 显示正确的目录。

postmap -q [email protected] ldap://....
surname/Maildir/

postmap -q [email protected] ldap://....
surname/Maildir/

但是:maildrop 尝试投递到 /home/vmail/given_name.surname/Maildir/

postfix/pipe[30831]: 252B8161FC1: to=<[email protected]>, relay=maildrop, delay=71444, delays=71443/0.02/0/0.02, dsn=4.3.0, status=deferred (temporary failure. Command output: ERR: authdaemon: s_connect() failed: No such file or directory maildirmake: /home/vmail/given_name.surname/Maildir/.Junk: No such file or directory chmod: missing operand after `/home/vmail/given_name.surname/Maildir/.Junk' Try `chmod --help' for more information. bash: /home/vmail/given_name.surname/Maildir/courierimapsubscribed: No such file or directory maildirmake: /home/vmail/given_name.surname/Maildir/.Faxe: No such file or directory chmod: missing operand after `/home/vmail/given_name.surname/Maildir/.Faxe' Try `chmod --help' for more information. bash: /home/vmail/given_name.surname/Maildir/courierimapsubscribed: No such file or directory /usr/bin/maildrop: Unable to create a dot-lock at /home/vmail/given_name.surname/30936.0.server-s03.  )

master.cf 中的配置:

maildrop  unix  -       n       n       -       -       pipe
  flags=DRhu user=vmail argv=/usr/bin/maildrop -d vmail ${user}

有什么建议么?

postfix
  • 1 1 个回答
  • 562 Views

1 个回答

  • Voted
  1. Best Answer
    Gewürzwiesel
    2014-01-21T03:40:10+08:002014-01-21T03:40:10+08:00

    发现了错误。这是 ldap-users.cf 和 ldap-alias.cf 的错误配置。

    在 ldap-users.cf 我正在寻找属于该帐户的每个地址。因此,两封电子邮件都将用户“姓氏”作为帐户返回。诀窍是:ldap-users.cf 只能找到邮件“[email protected]”。邮件“[email protected]”应由 ldap-aliases.cf 找到,然后映射到“[email protected]”

    • 0

相关问题

  • Postfix 在特定端口上接受邮件

  • 让 Postfix 以两种方式处理垃圾邮件

  • Postfix 或 exim:自动/程序化和转发电子邮件设置

  • 后缀电子邮件地址

  • 什么是最好的开源电子邮件解决方案包

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve