我已经build立了一个postfix守护进程,我可以发送邮件到一个帐户,我也可以通过邮件客户端login并获得这些邮件。 但我想要做的是使用相同的url,例如:mail.mydomain.org为传入和传出的邮件。 到目前为止,当我发送邮件mail.mydomain.org作为我的发送邮件服务器,它不连接。 你如何debugging这个了解它为什么不工作?
我使用的是后缀和一个邮件dns mail.mydomain.org 但是现在我正在添加另一个虚拟域名,我也想为它添加邮件DNS,例如mail.mydomain.org 和 mail.newdomain.org 。 我已经为这个新的邮件域添加了mxlogging – 但是我不知道在postfixconfiguration中我将如何改变,因为mail.mydomain.org已经占据了指令中的空间: 这是postconf -n的输出: alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix data_directory = /var/lib/postfix debug_peer_level = 2 html_directory = no inet_interfaces = all inet_protocols = all mail_owner = postfix mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/share/man mydestination = $myhostname, localhost.$mydomain, localhost, […]
我正在使用虚拟域的后缀。 通常我添加一个系统用户,然后添加电子邮件到/ etc / postfix /虚拟。 然而,对于我添加的最新用户,出现了一个问题,在maillog中说: Error: open(/var/mail/user.name) failed: Permission denied (euid=504(user.name ) egid=504(user.name) missing +w perm: /var/mail, euid is not dir owner) 我检查了/ var / mail,并没有user.name的文件夹 默认情况下,是为安装的每个用户在/ var / mail中创build一个文件夹? 或者后缀设置这个文件夹? 我需要检查一下,为什么这个文件夹突然没有被创build? 我显然已经改变了最近搞砸了系统的东西。
所以我试图让我的头在这方面的工作与人们如何可以通过SMTP和发送邮件发送凭据进行身份validation有关。 与典型的默认设置后缀和dovecot(类似http://wiki.dovecot.org/HowTo/PostfixAndDovecotSASL ),我是否明白,这将validation用户对/ etc / passwd或类似? 因此,什么是过程或用户创build或通过useradd / adduser完成? (这意味着没有用户名到电子邮件别名的直接链接,并且任何将别名转发到邮箱位置都必须以某种方式成功链接到用户名)。 我也有这个问题,即使我设置了一个unix帐户,我无法与服务器进行SMTP连接,并成功通过身份validation发送电子邮件(通过telnet尝试)。 那么可能有什么限制呢? 我知道postfix有一个可信的中继节点(使用variables“mynetworks”)的概念,所以我发送的地方不需要在那里,对吗? (否则几乎没有任何意义,因为“mynetworks”为您提供完整的中继访问)。 对不起,如果我没有解释得很好,但Postfix / Dovecot文档是有点棘手的阅读。
我试图使用Dovecot + Postfix + Mysql到目前为止一切正常。 由于从Debian 6升级到7,我无法发送邮件。 接收仍然是可能的。 /var/log/mail.log Oct 22 15:21:24 XXXXXXXX postfix/smtpd[17765]: warning: XXXXX: SASL PLAIN authentication failed: no mechanism available 我试图研究这个错误,并发现了一些事情,迄今为止并没有真正的帮助。 这是我postconf -n的输出 alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases append_dot_mydomain = no biff = no broken_sasl_auth_clients = yes config_directory = /etc/postfix dovecot_destination_recipient_limit = 1 html_directory = /usr/share/doc/postfix/html inet_interfaces = all mailbox_size_limit = […]
我越来越疯狂configurationPOSTFIX + DOVECOT +validationSMTP(SASL现在)。 stream行/ imap帐户运作良好,以获得邮箱,但我不能login到smtp使用sasl: 这里: [root@mail postfix]# telnet localhost smtp Trying ::1… telnet: connect to address ::1: Connection refused Trying 127.0.0.1… Connected to localhost. Escape character is '^]'. 220 localhost ESMTP ehlo localhost 250-localhost 250-PIPELINING 250-SIZE 10240000 250-VRFY 250-ETRN 250-AUTH PLAIN LOGIN CRAM-MD5 250-AUTH=PLAIN LOGIN CRAM-MD5 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN auth plain aW5mby5jb20AaW5mby5jb20AcG9yY29kZGlv […]
我已经configurationPostfix和Cyrus Imap来启用使用Kerberos和GSSAPI的SSO。 我使用Thunderbird作为支持GSSAPI的邮件客户端,但我也想尝试其他客户端。 我尝试安装Opera Mail,但是这不支持。 这是Thunderbird的另一种select吗?知道一些插件为邮件客户端添加这个function吗? 在这些问题上我没有太多的经验。 我会继续寻找信息,但我想请你给我一个提示,继续或指出任何其他select。 谢谢!。
我们有一个Mdaemon服务器,它将出站邮件redirect到一个外部基本的Postfix中继器。 我们已经configuration了防火墙规则(在postfix服务器之前)只接受来自Mdaemon主邮件服务器的公共IP的smtp请求。 我们还在main.cf mynetworks参数中configuration了这个IP。 mynetworks = 127.0.0.0/8 <public IP Mdaemon SVR>/32 我们注意到,我们收到了From = anyuser @ anydomain从主邮件服务器退回的邮件,并希望仅接受FROM = users @ mydomain的请求,并拒绝其余的邮件。 我们已经阅读了关于它的更简单的方法似乎是使用smtpd_recipient_restrictions,所以我们做了, 在main.cf添加 smtpd_recipient_restrictions = permit_mynetworks, check_sender_access hash:/etc/postfix/sender_access reject_unauth_destination 创build/ etc / postfix / sender_access mydomain确定 postmap / etc / postfix / sender_access和postfix重新加载 不过,我们不断收到日志接受来自其他领域的邮件, postfix/smtpd[27967]: connect from unknown[Public IP MDaemon] postfix/smtpd[27967]: EBC3826081: client=unknown[Public IP MDaemon] postfix/cleanup[27970]: […]
快速的故事,让你更好地了解我目前的状况。 我试图通过本教程在Debian系统上安装Dovecot + Postfix。 我知道这个教程是原创的Ubuntu的,但我几乎移植到debian的一切。 关于Linux的好事,呵? 我当然使用了Debian 6s默认存储库中的所有最新版本。 意思是:Dovecot 2.1.7 Postfix 2.7.1-1 + squeeze1 Postfix-mysql 2.7.1-1 + squeeze1 所以,我在步骤3中遇到了一些问题: apt-get install postfix postfix-mysql dovecot-core dovecot-imapd dovecot-pop3d dovecot-lmtpd dovecot-mysql mysql-server 我没有问题,我已经在服务器上的所有东西,如后缀和MySQL。 但安装“dovecot-pop3d”和“dovecot-imapd”存在问题。 例如: root@server /etc/dovecot # apt-get install dovecot-pop3d Reading package lists… Done Building dependency tree Reading state information… Done Some packages could not be installed. […]
首先,我想感谢你的时间。 我遇到了以下情况: 我有一个名为mx1.domain.com的邮件服务器 这个邮件服务器是虚拟托pipe一些域名的邮件帐户,如[email protected] , [email protected] 只要服务器的主机名是(并且应该是这样的话,那么SMTP Banner就是和IP mx1.domain.com相同的主机名) mx1.domain.com默认Postfix帐号和服务器帐号[email protected] [email protected] …绑定到真正的主机名,而不是虚拟。 我有一个简单的用户通过SSHlogin,我已经设置了我的/ etc /别名,以便所有这些“默认”地址的电子邮件去root用户,然后我设置root邮件进入我的login用户代替。 我怎么能得到所有这些电子邮件,我的系统和用户发送到一个真正的电子邮件帐户的默认地址? 就像我虚拟主机的那个一样。