Articles of dovecot

Postfix不尊重mysql别名域

所以设置是使用后缀,dovecot,postfixadmin和mysql。 我已经configuration后缀pipe理员别名一个域,“name.co.uk”到“name.net”,我在数据库中看到这个,所以没有问题。 但是,当发送邮件到“name.co.uk”它不会被发送到“name.net”,我可以看到这个事实,它不出现在邮箱,而是如果放在虚拟邮件目录旧的域名(这不应该存在于第一位!)。 在通过日志文件之后,似乎没有考虑到别名。 #~ postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases broken_sasl_auth_clients = yes command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix data_directory = /var/lib/postfix debug_peer_level = 2 debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5 dovecot_destination_recipient_limit = 1 home_mailbox = Maildir/ html_directory = no inet_interfaces = all inet_protocols = all […]

Postfix / Dovecot-LMTPconfiguration混乱

阅读了许多关于configurationPostfix将邮件传递给Dovecot-LMTP的教程,我仍然很困惑,因为它们经常是矛盾的。 main.cf 一些教程说,必须添加以下内容: virtual_transport = dovecot dovecot_destination_recipient_limit = 1 其他人则说: virtual_transport = lmtp:unix:private/dovecot-lmtp 还有人说: virtual_transport = lmtp:unix:private/lmtp master.cf 一些教程暗示,没有什么需要添加到Postfix的configuration文件,以将邮件传递给Dovecot-LMTP,但其他人指示您添加以下内容: dovecot unix – nn – – pipe flags=DRhu user=vmail:mail argv=/usr/lib/dovecot/dovecot-lda -d $(recipient) 我如何validationDovecot-LMTP实际上是正在递交的邮件,而且Postfix并没有将其发送到邮箱本身?

鸽子“地址已经在使用”错误

我在启动dovecot服务器时遇到了一些问题。 我得到以下错误: Failed to start Dovecot : Error: service(imap-login): listen(*, 143) failed: Address already in use Error: service(imap-login): listen(::, 143) failed: Address already in use Error: service(imap-login): listen(*, 993) failed: Address already in use Error: service(imap-login): listen(::, 993) failed: Address already in use Fatal: Failed to start listeners 所以我运行993端口的netstat命令: # netstat -lnp | grep 993 […]

Postfix和Dovecot我无法发送外部电子邮件

我正在尝试使用MySQL数据库安装带有dovecot和postfix的电子邮件服务器。 我可以发送电子邮件给我的域@ eddelus.com的其他用户,我也可以从外部域收到电子邮件,但我不能发送电子邮件到外部域。 我可以使用telnet连接到端口110和587 看看日志(cat /var/log/mail.log)我find这个: Jul 23 15:47:55 eddelus postfix/submission/smtpd[4171]: connect from unknown[90.164.39.14] Jul 23 15:47:56 eddelus postfix/submission/smtpd[4171]: 5A1831C1B22: client=unknown[90.164.39.14], sasl_method=PLAIN, sasl_username=[username]@eddelus.com Jul 23 15:47:56 eddelus postfix/cleanup[4210]: 5A1831C1B22: message-id=<[email protected]> Jul 23 15:47:56 eddelus postfix/qmgr[3798]: 5A1831C1B22: from=<[username]@eddelus.com>, size=640, nrcpt=1 (queue active) Jul 23 15:47:56 eddelus postfix/error[4211]: 5A1831C1B22: to=<[reciever]@gmail.com>, relay=none, delay=0.27, delays=0.25/0.02/0/0, dsn=4.4.1, status=deferred (delivery temporarily […]

用bash脚本中的doveadmvalidationSHA-512散列pw导致“net_connect_unix … permission denied”

我正在尝试使用以下代码validationSHA-512哈希密码: #!/bin/bash … pw_verified=$(/usr/bin/doveadm pw -p 'test' -t '{SHA512-CRYPT}$6$rounds=999999$somehash') … bash脚本具有以下权限: -rwxr-xr– 1 root dovecot 5793 Jul 25 16:13 checkpassword.sh 执行脚本后,我在syslog中得到以下内容: dovecot: doveadm: Fatal: Error reading configuration: net_connect_unix(/var/run/dovecot/config) failed: Permission denied ###(btw: is it possible to get a more detailed log on this like eg: "Permission denied (euid=65534(nobody) egid=65534(nogroup) missing +r perm: /run/dovecot/auth-worker, dir owned […]

如何使用getmail,dovecot和catchall / multidrop邮箱处理“未知收件人”?

我的域名的所有邮件都被发送到由我的提供商托pipe的catchall / multidrop邮箱。 我使用getmail来检索邮件并将它们转发给dovecot-lda 。 我希望所有带有未知收件人的邮件都被删除或发送到例如[email protected] 。 到目前为止, getmail简单地将这些消息留在ISP服务器上,因为它们被dovecot拒绝。 有没有办法使用getmail和dovecot (例如使用sieve )? 或者我需要让getmail提供给另一个mda,如procmail或postfix ? 我宁愿不使用postfix/sendmail而是一个更轻量级的select。

我的鸽舍安装有什么问题?

我有一台SLES 12 SP2机器,我正在设置,它的一个function是作为一个电子邮件服务器,我已经去configuration。 我可以从W10 PC上的Outlook客户端发送和接收电子邮件,但是,我似乎仍然在/var/log/mail.err中收到错误消息。 这些消息似乎并不无害 – 任何人都可以请告知发生了什么问题? dovecot: auth-worker(44838): Error: stats: open(stats-user) failed: Permission denied dovecot: auth: Error: open(/var/run/dovecot/auth-token-secret.dat.tmp) failed: Permission denied dovecot: auth: Error: Failed to write auth token secret file; returned tokens will be invalid once auth restarts dovecot: auth-worker(44838): Error: stats: open(stats-user) failed: Permission denied 非常感谢, 加里

Dovecot设置来自2个不同LDAP查询的正常和共享邮箱

使用后缀 – Dovecot – LDAP组合,我想configuration我的达夫科特,它使用一个查询为用户的“正常”收件箱和另一个查询共享邮箱。 我的目标是让用户拥有一个收件箱“[email protected]”和一个共享的imap文件夹“Shared /”,其中包含每个用户都可以访问的共享文件夹。 用户来自一个LDAP查询(例如,有一个专门的字段或一个特殊的类),另一个查询应该定义共享文件夹的存在(共享文件夹也有自己的电子邮件地址,例如按@,stage @,team @等) 我知道如何configuration正常的邮箱,但我怎样才能从另一个查询设置共享文件夹? 是否有任何简单的方法来设置访问控制从LDAP的一些共享文件夹,例如,用户只有访问的用户和共享文件夹在同一组或共享属性?

发件人地址被拒绝:不属于用户

我在运行Parabola GNU / Linux-libre(Arch和ALARM-based)以及Dovecot的SBC中安装了Postfix。 它工作得很好,我已经在Thunderbird中build立了一个帐户。 我发现的唯一问题是,当发送电子邮件时,我得到: Sender address rejected: not owned by user megver83 而且我到处寻找解决scheme,例如 Postfix拒绝发件人地址 发件人地址被拒绝:在Postfix中不属于用户 Postfix发件人地址被拒绝/使用多个地址 但没有什么,这真的是疯了。 有时他们解决的问题是使用MySQL,但可怜的MySQL不能在我的服务器上工作,所以我安装了PostgreSQL以防万一。 mail.log: Aug 28 16:27:30 localhost postfix/smtpd[12064]: connect from gateway[192.168.50.1] Aug 28 16:27:31 localhost postfix/smtpd[12064]: Anonymous TLS connection established from gateway[192.168.50.1]: TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits) Aug 28 16:27:31 localhost postfix/trivial-rewrite[12070]: warning: do not list […]

如何知道谁访问过电子邮件? 达夫科特

我想知道用户访问了哪个电子邮件。 当电子邮件被访问时,它被标记为已读。 我怎样才能看到谁阅读它,这是可能的? 或者也许它可能与Roundcube?