Articles of dovecot

Postfix / Dovecot支持多个域名

我有一台运行Postfix / Dovecot的服务器,后端configuration为使用域名“olddomain.com”。 我正在迁移一切使用另一个域'newdomain.com'和Postfix / Dovecot / Postfixadmin都需要迁移。 不过,我需要支持这两个域名一段时间,这应该是透明的用户。 发送到“[email protected]”的电子邮件需要到达“[email protected]”,用户需要能够使用“[email protected]”和“username @ newdomain”login(Postfixadmin / Dovecot) .com“等。 我不知道如何做到这一点,以支持命名的用例,所以任何帮助,将不胜感激。 相关configuration的东西: postconf -n 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 = / […]

雷鸟从Dovecot断开

我正在pipe理服务于大量用户的Dovecot POP3服务器。 其中一些用户位于偏远地区。 我收到有关Thunderbird客户端显示要下载的邮件数量的用户的报告,但之后断开连接。 服务器日志显示没有关于用户邮箱的损坏。 只有exception是1 RETR被接收,〜10KB的数据作为回复发送,没有下载,没有被删除。 此外,这些用户“断开”而不是“注销”。 我找不到我的问题的任何指针。 networking连接似乎不错,服务器正在处理其他用户没有问题和速度,服务器硬件不饱和。 虽然我不能排除Thunderbird的故障。 我只是没有经验。

dovecot不让我telnet localhost 110 – imap和pop3login不启动

我正在build立一个http://serveraround.org/ispmail/squeeze/setting-up-dovecot的邮件服务器。 过去我已经成功完成了,这次唯一的缺点就是dovecot已经升级到版本2,并且有一些不同的configuration文件。 根据dovecot的文档,我将旧版的dovecot.conf从版本1.2.15转换而来。 从那里我做了什么似乎合乎逻辑的小变化。 Dovecot启动,但不允许我通过命令行通过telnet localhost 110进行简单的手动login。 我得到的错误: Trying 127.0.0.1… Connected to localhost. Escape character is '^]'. Connection closed by foreign host. 当我看看dovecot进程正在运行时,我看到: 116:root 5139 0.0 0.0 21516 884 ? Ss 09:41 0:00 /usr/sbin/dovecot -c /etc/dovecot/dovecot.conf 117:dovecot 5142 0.0 0.0 13044 1044 ? S 09:41 0:00 dovecot/anvil 118:root 5143 0.0 0.0 13172 1212 ? S […]

telnet无法连接到远程主机

我已经在我的一台服务器上安装了postfix和devcot来发送批量邮件(注册时系统消息,密码错误等)。 我使用php_imap函数检查反弹并标记这些电子邮件ID,以便我们不会一直发送电子邮件到那些导致反弹的地址。 我注意到php_imap函数没有读取它在testing服务器上读取的实时服务器上的反弹。 但活服务器能够发送邮件! 两台服务器都有相同的Centos 6.4 OS,并且具有相同的iptableconfiguration。 我比较了“testing”和“实时”域的DNS条目,并且它们具有必要的SPF条目。 主机提供商有必要的PTRlogging。 但是由于某种原因弹跳不能用于php_imap程序。 在这一点上,我不确定是否将反弹传递给服务器,并且dovecot无法读取它们,或者如果反弹没有传递。 所以我比较了“test”和“live”服务器的/etc/postfix/main.cf和/etc/postfix/master.cf中的条目,发现它们除了域名之外都是一样的。 确定我检查了如果postfix运行ps aux | grep后缀,它返回 在线服务器 [root@bw sridhar]# ps aux | grep postfix root 1433 0.0 0.1 13476 2696 ? Ss 09:32 0:00 /usr/libexec/postfix/master postfix 1443 0.0 0.1 13720 2836 ? S 09:32 0:00 qmgr -l -t fifo -u postfix 4724 0.0 0.1 13552 […]

Postfix发送垃圾邮件(Gmail,Hotmail)

我最近在我的debian squeeze系统上安装了postfix + dovecot + dkim多域,多用户,多别名的邮件服务器。 除了基本上使整个事情变得无用的一个大问题之外, 我的服务器发送的每封电子邮件都直接进入垃圾邮件。 (Gmail,Hotmail) 我做的第一件事是做着名的allaboutspamtesting,除了BATV的东西(黄色)之外,所有的都被检查(绿色): Reverse dns: green HELO Greeting: green RBL: green BATV: yellow SPF: green DKIM: green URIBL: green SPAMAssassin: green Greylist: green 我真的很困惑,我看不出解决这个问题的办法。 如果你需要的话可以问我一些细节。 编辑: 标头示例http://pastebin.com/zdcBciXQ 编辑 邮件testing仪给了我9.9(满分10分)。 发送给邮件testing人员的电子邮件的来源 Received: by mail-tester.com (Postfix, from userid 500) id 9FF4F1C8268; Mon, 9 Jun 2014 15:31:28 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin […]

对Active Directory进行validationDovecot

我正在尝试在Windows 2008 R2域控制器上针对Microsoft Active DirectoryvalidationDovecot。 Dovecot(版本2.2.9)在Ubuntu 14.04(3.13.0-30-generic)上运行。 我的configuration: dovecot.conf protocols = imap service imap { inet_listener = *:143 } auth_username_format = %Lu auth_mechanisms = plain login disable_plaintext_auth = no ssl = no mail_location = maildir:/var/vmail/%u/Maildir first_valid_uid = 1001 last_valid_uid = 1001 first_valid_gid = 1001 last_valid_gid = 1001 valid_chroot_dirs = /var/vmail passdb { driver = ldap […]

Postfix / Dove复制传入的传出电子邮件

我必须复制一个邮件帐户的传入和发送到另一个邮件帐户在同一台​​服务器以及。 我怎样才能做到这一点? 服务器是一个debian wheezy运行dovecot,roundcube和后缀。 正如我所说,电子邮件不只是一个别名,而是一个现有的邮箱。 传入邮件的复制可以通过用户configuration文件中的筛选文件轻松完成: 01_forward.sieve require ["fileinto"]; fileinto "Inbox"; redirect "[email protected]"; 但至于获得转发到[email protected]的每个发送的信件的副本。 我不知道如何解决这个问题。

通过StartTLS连接时,获取错误TLS不可用

我正在尝试在我的邮件服务器上configurationTLS(debian上的postfix + dovecot)。 但是每当我尝试通过StartTLS发送,我都有这个错误信息 telnet localhost 25 Trying ::1… Connected to localhost. Escape character is '^]'. 220 Vulcan0.hijackedbrain.com ESMTP Postfix (Debian/GNU) starttls 454 4.7.0 TLS not available due to local problem 这里是我的main.cf后缀,特别是TLS参数 # TLS parameters smtpd_tls_cert_file=/etc/postfix/myCert.cert smtpd_tls_key_file=/etc/postfix/RSA.key smtpd_use_tls=yes smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache smtpd_tls_security_level = encrypt smtpd_tls_received_header = yes smtpd_tls_session_cache_timeout = 3600s tls_random_source = […]

Dovecot / Postfix / SASL:连接到/ var / run / dovecot / auth-client失败:权限被拒绝

Dovecot / Postfixconfiguration在我的服务器上不能正常工作:经过几次检查,我明白了 Imap服务使用本地或桌面客户端进行操作 Postfix正在监听,新的电子邮件在postfix队列中播放 从postfix队列转移到vmail文件夹不起作用,而postfix日志提到这个rec​​rurent错误“SASL:连接到/ var / run / dovecot / auth-client失败:权限被拒绝”。 这是我的鸽舍configuration。 # 2.2.15: /etc/dovecot/dovecot.conf # OS: Linux 3.10.9-xxxx-grs-ipv6-64 x86_64 Gentoo Base System release 2.2 ext4 auth_debug = yes auth_mechanisms = plain login auth_verbose = yes auth_verbose_passwords = yes base_dir = /var/run/dovecot/ debug_log_path = /var/log/dovecot-debug.log first_valid_gid = 12 first_valid_uid = 150 info_log_path = […]

validation错误通过terminal中的openssl连接到邮件服务器

我已经使用Postfix和Dovecotbuild立了一个电子邮件服务器,并且能够使用各种邮件客户端发送和接收邮件,但由于某种原因,当我尝试通过terminal中的openssl进行连接时,出现了身份validation错误。 这几乎是如此: openssl s_client -connect mail.example.com:587 -starttls smtp [build立到服务器的连接] EHLO mail.example.com AUTH PLAIN cGFzc3dvcmQ= 535 5.7.8 Error: authentication failed: 我用下面的每一个来产生我的AUTH PLAIN消息,其中没有一个已经authentication了我: echo -en '\0username\0password!'|base64 echo -en '\000username\000password!'|base64 echo -e '\0username\0password!'|base64 echo -e '\000username\000password!'|base64 我用来设置邮件服务器的教程build议我使用: echo -en '\000username\000password!'|base64 但这从来没有为我工作。 我的用户名格式为[email protected] ,在使用邮件客户端连接服务器时有效。 有谁知道为什么我可能会得到错误? 我假设这是因为我没有正确地生成base64身份validation消息,但我相当新的Linux,所以我可能会忽略一些简单的东西。 我已经按照教程的信,我已经多次检查我的设置。 除了这个问题之外,其他一切都按预期工作。 服务器运行Debian 7(64位),教程在这里: https : //www.howtoforge.com/tutorial/build-your-own-cloud-on-debian-wheezy/ 谢谢。