我使用的是后缀,需要使用谷歌应用程序smtp发送邮件。 我想我已经正确地设置了所有东西后,我得到错误: May 11 09:50:57 zedsaid postfix/error[22214]: 00E009693FB: to=<[email protected]>, relay=none, delay=2466, delays=2462/3.4/0/0.06, dsn=4.7.0, status=deferred (delivery temporarily suspended: SASL authentication failed; cannot authenticate to server smtp.gmail.com[74.125.155.109]: no mechanism available) May 11 09:50:57 zedsaid postfix/error[22213]: 0ACB36D1B94: to=<[email protected]>, relay=none, delay=2486, delays=2482/3.4/0/0.06, dsn=4.7.0, status=deferred (delivery temporarily suspended: SASL authentication failed; cannot authenticate to server smtp.gmail.com[74.125.155.109]: no mechanism available) May […]
我目前已经设置了postfix来通过gmail从我的网站转发消息,直到最近它完美的工作。 然而,在上周左右(不知道什么时候),当试图发送电子邮件时,我开始得到下面的错误: Jul 20 07:40:46 localhost postfix/smtp[11958]: connect to smtp.gmail.com[2001:4860:800a::6c]:587: Network is unreachable Jul 20 07:40:46 localhost postfix/smtp[11958]: connect to smtp.gmail.com[173.194.76.109]:587: Connection refused Jul 20 07:40:46 localhost postfix/smtp[11958]: connect to smtp.gmail.com[173.194.76.108]:587: Connection refused 这是我的configuration文件: # See /usr/share/postfix/main.cf.dist for a commented, more complete version # Debian specific: Specifying a file name will cause the first # […]
尝试发送电子邮件给一些更严格的设置MX我得到: <local_hostname>: Helo command rejected: need fully-qualified hostname (in reply to RCPT TO command) 当然,在main.cf中设置$ myhostname时,Mail会正确传递,但是这会使我与作为Box本身的主机名的默认虚拟主机名发生冲突,而传入hostname.org的邮件被视为传递由LDA,例如。 到“local_hostname” $ myorigin和$ mydomain似乎并没有改变HELO的回应,任何build议?
我试图使用赛勒斯谋杀,我一直在修复一些错误,但现在我试图从雷鸟访问时发现这一点: “收件箱”上的当前操作没有成功。 用于帐户[email protected]的邮件服务器响应:服务器无法完成操作。 我有一个后端和一个也是mupdate的前端。 查看日志(/ var / log / maillog),在前端服务器中看到以下错误: imap [2099]:无法对后端服务器进行身份validation:没有可用的机制 这是前端服务器(/ var / log / maillog)中的完整日志: Aug 27 14:55:26 frontendlinux mupdate[2098]: login: frontendlinux.ejemplo.org [169.254.220.13] murder PLAIN User logged in Aug 27 14:55:26 frontendlinux mupdate[2098]: login: frontendlinux.ejemplo.org [169.254.220.13] murder PLAIN User logged in Aug 27 14:56:26 frontendlinux mupdate[2101]: Thread timed out waiting for listener_lock […]
我在testing环境中设置了Postfix,从我们的LAN隔离,并在testing环境中转发主机。 最初,我将所有出站电子邮件通过procmail汇集到postfix框中的单个帐户(由开发人员通过Dovecot访问)。 这允许开发人员testing发送电子邮件通知的生产代码,而不需要电子邮件实际到达它的预期收件人。 现在我需要实际允许一个主机转发到现实世界,而不是“漏斗”帐户。 我仍然需要“撒谎”,接受来自任何发件人的邮件到任何地方(当然是在testing环境中),然后将它汇入funneluser账户。 我不太清楚甚至谷歌什么,因为这不是一个典型的后缀设置。 如何给单个发送主机添加一个exception,给定下面的configuration? 更新注意到的“重复问题”在这个时候并不包含postfix 2.9.6-1~12.04一个工作示例。 postconf: warning: /etc/postfix/master.cf: unused parameter: smtpd_client_restriction=check /usr/sbin/postconf: warning: /etc/postfix/master.cf: unused parameter: smtpd_client_restriction=check 我也不确定它实际上是一个重复的答案似乎路由邮件基于用户@域对。 我想根据连接的主机IP地址或DNS主机名进行路由。 为了解决这个问题,我已经向链接的“重复”发布了一个问题。 我的main.conf如下所示: myhostname = cliff.blah.net alias_database = hash:/etc/aliases mydestination = regexp:/etc/postfix/virtual_domains virtual_alias_maps = regexp:/etc/postfix/virtual mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 10.2.1.0/24 mailbox_command = /usr/bin/procmail relay_domains = .blah.net smtpd_recipient_restrictions = permit_mynetworks, permit_auth_destination, reject local_recipient_maps […]
我正在testing我的PostFix设置,通过从我的Gmail帐户发送电子邮件到虚拟域上的帐户。 Postfix的回应总是: NOQUEUE: reject: RCPT from mail-lb0-f177.google.com[209.85.217.177]: 454 4.7.1 <mailATbrokkr.net>: Relay access denied; from=<madspayATgmail.com> to=<mailATbrokkr.net> proto=ESMTP helo=<mail-lb0-f177.google.com> 这是main.cfconfiguration文件: # See /usr/share/postfix/main.cf.dist for a commented, more complete version # Debian specific: Specifying a file name will cause the first # line of that file to be used as the name. The Debian default # is /etc/mailname. […]
我正在尝试使postfix不要授权端口25上的用户,而只能在587上使用STARTTLS。 我已经尝试了可能不同的confs,但迄今为止没有成功。 main.cf: … smtpd_sasl_auth_enable =是 smtpd_sasl_authenticated_header =是 smtpd_sasl_local_domain = $ myhostname smtpd_sasl_security_options = noanonymous smtpd_sasl_type = dovecot broken_sasl_auth_clients =是 smtpd_sasl_path = private / auth allow_mail_to_commands =别名 allow_mail_to_files =别名 smtpd_data_restrictions = reject_unauth_pipelining smtpd_helo_required =是 smtpd_sender_restrictions = permit_sasl_authenticated smtpd_recipient_restrictions = reject_non_fqdn_sender, reject_non_fqdn_helo_hostname, reject_unknown_recipient_domain, reject_non_fqdn_recipient, reject_invalid_hostname, permit_sasl_authenticated, reject_unauth_destination smtpd_use_tls =是 smtp_use_tls =是 #smtpd_tls_security_level = may #smtp_tls_security_level =encryption […]
我试图从旧邮件服务器到iRedMail的域名迁移,无论如何,我认为这个话题是更广泛的Postfix具体。 我已经build立了一个基于iredmail的新服务器,然后我将迁移旧服务器的所有电子邮件帐户。 在迁移期间,即使发件人地址尚未出现在新服务器中,我也需要新服务器接受来自旧服务器的所有电子邮件。 例: 我有domain1.orgconfiguration在老(邮件1)和新(邮件2)服务器。 我仅在NEW(mail2)服务器中将domain2.orgconfiguration为别名域,以便发送到[email protected]的邮件进入[email protected]邮箱。 当我开始“[email protected]”的迁移时,我在新服务器上创build帐户,然后在旧邮件服务器上设置别名,以便将电子邮件转发到[email protected]和新用户1 @ domain2 .org(即与NEW服务器上的[email protected]相同的邮箱。 现在,新的服务器拒绝来自[email protected]的[email protected]的电子邮件(它尚未出现在新的服务器上,因为它尚未被迁移)带有错误消息: host mail2.domain1.org [192.168.0.2] said: 550 5.1.0 <[email protected]>: Sender address rejected: User unknown in virtual mailbox table (in reply to RCPT TO command) 我需要的是,NEW服务器在发件人位于domain @ domain1.org时接受来自旧邮件(mail1,192.168.0.1)的所有电子邮件 它应该基本上绕过检查用户是否存在(virtual_alias_maps?),但只有电子邮件来自旧服务器(特定IP),并且其发件人是@ domain1.org地址(地址尚未在新服务器上创build)。 (我做错了吗?有更简单的方法来迁移用户吗?) 谢谢,任何帮助,不胜感激。
我正在尝试设置一个邮件服务器,我使用了Postfix + dovecot + MySQL来完成大量的教程,但是没有一个是防错的,而且我总是被一个错误卡住,所以我决定configuration邮件服务器一步一步由我自己,到目前为止,我已经安装了Postfix和ViMbAdmin作为我的后缀pipe理界面,我设法与Postfix链接数据库,一切都很好,但一个! Postfix不会自动为传入的邮件创buildMaildir。 以下是传入电子邮件的示例mail.log输出: postfix/smtpd[22086]: connect from mail-lf0-f45.google.com[209.85.215.45] postfix/smtpd[22086]: C92B461E5B: client=mail-lf0-f45.google.com[209.85.215.45] postfix/cleanup[22090]: C92B461E5B: message-id=<[email protected]> postfix/qmgr[21732]: C92B461E5B: from=<[email protected]>, size=4535, nrcpt=1 (queue active) postfix/virtual[22080]: C92B461E5B: to=<[email protected]>, orig_to=<[email protected]>, relay=virtual, delay=0.13, delays=0.13/0/0/0, dsn=4.2.0, status=deferred (delivery failed to mailbox /var/mail/vhosts/XXX.net/BLAH-RCVR/mail: unable to create lock file /var/mail/vhosts/XXX.net/BLAH-RCVR/mail.lock: No such file or directory) postfix/smtpd[22086]: disconnect from mail-lf0-f45.google.com[209.85.215.45] 如果我手动创build/var/mail/vhosts/XXX.net/BLAH-RCVR/目录,一切都会好起来的。 我想要应用程序自动创build目录,所以我不必为每个添加到系统的用户创build它! […]
我取消了/etc/postfix/master.cf的“提交”部分的注释,并且我的防火墙在端口587上打开。 尝试使用TLS通过端口587提交消息时出现以下错误: Sep 30 13:41:05 mailer postfix/smtpd[7577]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory Sep 30 13:41:05 mailer postfix/smtpd[7577]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory Sep 30 13:41:05 mailer postfix/smtpd[7577]: warning: SASL authentication failure: no secret in database […]