Articles of 后缀

Postfix sasl:中继访问被拒绝(状态14)

我有与dovecot安装的后缀。 当我尝试从我的服务器发送电子邮件时,没有任何问题,但所有进入的电子邮件都被拒绝。 我的main.cf文件: queue_directory = /var/spool/postfix command_directory = /usr/sbin daemon_directory = /usr/libexec/postfix mail_owner = postfix inet_interfaces = all mydestination = localhost, $mydomain, /etc/postfix/domains/domains virtual_maps = hash:/etc/postfix/domains/addresses unknown_local_recipient_reject_code = 550 mynetworks = 127.0.0.0/8 alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases home_mailbox = Maildir/ debug_peer_level = 2 debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin xxgdb $daemon_directory/$process_name $process_id & sleep 5 sendmail_path = […]

不能使Dovecot使用SASL与Postfix通信(警告:SASL:连接到私人/身份validation失败:没有这样的文件或目录)

解决了 。 我会把这个作为其他人的参考,因为我已经看到这个错误报告足够在网上。 我必须改变path smtpd_sasl_path = private/auth 在我的 /etc/postfix/main.cf 以相对而非绝对。 这是因为在Debian Postfix中运行chroot(以及如何影响path结构?!任何人?) – 我正试图让Dovecot通过SASL与Postfix进行SMTP通信。 总体规划是使用虚拟用户在我的(Debian Lenny 64位)服务器上托pipe多个电子邮件帐户。 每当我testing我的当前configuration,通过运行 telnet server-IP smtp 我在mail.log上得到以下错误 warning: SASL: Connect to /var/spool/postfix/private/auth failed: No such file or directory 现在,Dovecot应该创buildauth套接字文件,但它没有。 我已经给私人目录权利,甚至尝试手动创build一个身份validation文件。 输出 postconf -a 是 cyrus dovecot 我是否正确地认为该软件包是用SASL支持编译的? 我的dovecot.conf也持有 client { path = /var/spool/postfix/private/auth mode = 0660 user = postfix group […]

如何限制从头来匹配MAIL FROM在后缀?

发送电子邮件到其他域(中继)之前,SMTP客户端需要通过用户身份validation。 我们可以使用smtpd_sender_restrictions来确保MAIL FROM地址与经过身份validation的用户相匹配。 但是,如何确保邮件标题中的发件人地址与邮件发件人地址匹配? 我们也想限制Reply-To标题,所以垃圾邮件发送者几乎不能使用我们的SMTP服务器,即使它们破坏了一些用户密码。

postfix手动弹回消息

可以从邮件队列中彻底删除邮件。 B693A1601A9 154654 Thu Mar 1 16:20:22 [email protected] (connect to gmail.cm[74.125.224.168]:25: Connection timed out) [email protected] 将被postsuper -d B693A1601A9删除。 是否可以手动退回邮件队列中的邮件?

有没有办法在Postfix中暂停邮件递送(在队列中积累)?

当使用Postfix / Dovecot的组合,有没有办法告诉smtp服务器(Postfix)不要将邮件存储在磁盘上,而是将它们添加到队列中直到“维护完成”? 用于磁盘升级,卷扩展,chkdisk等

避免不存在的域指向我国的networking信息中心?

我收到了关于Nagios Mailqueue长度的警报邮件: Additional Info: WARN – Mailqueue length is 18 (More than threshold: 10) 在mailq ,我看到一些这样的消息: -Queue ID- –Size– —-Arrival Time—- -Sender/Recipient——- A7B39BFB01A7 16746 Tue Apr 9 08:54:57 [email protected] (connect to asdasd.vn[203.119.8.111]: Connection timed out) [email protected] smtpd_recipient_restrictions的值: smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination, check_policy_service unix:private/policy, reject_unknown_recipient_domain, reject_unverified_recipient 请注意,我已经启用了reject_unknown_recipient_domain 。 但让我们看看该域映射到哪个IP地址: $ nslookup asdasd.vn Server: 8.8.8.8 Address: […]

我如何在我的后缀别名中使用“catchall”?

我在main.cnf中有这个: alias_maps= regexp:/etc/aliases 在那个文件里面,我有: /^reply*$/: jjj 现在,当我把它发送到[email protected],postfix反弹,因为 Recipient address rejected: User unknown in local recipient table; 如何configuration我的别名,以便人们可以发送reply*@mydomain.com并将其转发到[email protected]

后缀:554 5.7.1中继访问被拒绝

我的问题是这样的:我可以从我的电子邮件([email protected])发送电子邮件到我的其他电子邮件,如@gmail @web @gmx … 但是,当我尝试从GMail发送电子邮件到[email protected]我有错误: Delivery to the following recipient failed permanently: [email protected] Technical details of permanent failure: Google tried to deliver your message, but it was rejected by the server for the recipient domain lars-dev.de by mx1.cw4.me. [195.138.240.200]. The error that the other server returned was: 554 5.7.1 <[email protected]>: Relay access denied 我的main.cf # […]

如何在Ubuntu上configurationpostfix以使用TLS通过Office 365(SMTP)中继邮件

我试图设置一个postfix中继到我们的networking上的一些内部设备的新的Office365设置,需要这个特定的设置。 我已经尝试了各种网站的configuration和疑难解答提示在两天的更好的一部分,但我一直运行在/etc/log/mail.log当我尝试使用发送邮件用户@ domain.com任何帮助将不胜感激。 Jun 19 05:41:16 smtphost postfix/smtp[1357]: warning: smtp.office365.com[157.56.96.22]:587 offered null AUTH mechanism list Jun 19 05:41:17 smtphost postfix/smtp[1357]: warning: SASL authentication failure: No worthy mechs found Jun 19 05:41:17 smtphost postfix/smtp[1357]: 5E7A32034A: to=<[email protected]>, relay=smtp.office365.com[157.56.96.22]:587, delay=7289, delays=7283/0.32/5.6/0, dsn=4.7.0, status=deferred (SASL authentication failed; cannot authenticate to server smtp.office365.com[157.56.96.22]: no mechanism available) 这是我postconf -n的输出 alias_database = […]

Postfix中继到多个服务器和多个用户

我目前已经configuration了postfix,以便所有的用户都能被本地机器转发,除了一个通过gmail转发的用户之外。 就此而言,我已经添加了以下configuration: /etc/postfix/main.cf中 # default options to allow relay via gmail smtp_use_tls=yes smtp_sasl_auth_enable = yes smtp_tls_CAfile = /etc/ssl/certs/ca-bundle.crt smtp_sasl_security_options = noanonymous # map the relayhosts according to user sender_dependent_relayhost_maps = hash:/etc/postfix/relayhost_maps # keep a list of user and passwords smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd /等/后缀/ relayhost_maps user-one@localhost [smtp.gmail.com]:587 /等/后缀/ sasl_passwd [smtp.gmail.com]:587 [email protected]:user-one-pass-at-google 我知道我可以使用smtp_sasl_password_maps将多个用户映射到多个密码,但这意味着所有的中继将由gmail完成,我特别希望所有的中继都由本地主机完成,但有些用户除外。 现在我想有一个用户两个@本地(等)中继通过谷歌自己的密码。 那可能吗?