Articles of 后缀

交易失败554

我通过这个教程创build了邮件服务器http://www.unixmen.com/install-postfix-mail-server-with-dovecot-and-squirrelmail-on-centos-6-4/ 我可以发送电子邮件给自己它工作正常,但是当我想发送到另一个域邮件显示错误: Message not sent. Server replied: Transaction failed 554 5.7.1 <[email protected]>: Relay access denied 在该教程中,它表示设置DNS服务器并添加邮件服务器MXlogging。 需要吗? 要发送邮件到另一个域? 也许这是一个问题? 邮件日志 Jun 27 07:14:52 mobifor postfix/smtpd[1822]: connect from localhost[::1] Jun 27 07:14:52 mobifor postfix/smtpd[1822]: NOQUEUE: reject: RCPT from localhost[::1]: 554 5.7.1 <[email protected]>: Relay access denied; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<[129.233.111.73]> Jun 27 07:14:52 mobifor postfix/smtpd[1822]: lost connection […]

如何使用SSL设置postfix / dovecot从iPhone发送接收邮件

我刚刚在我的VPS上安装了一个新的dovecot副本。 我也运行后缀,我第一次通过这个指南,我按照解释一切。 但是,当我尝试从我的iPhone发送电子邮件时出现以下错误, postfix/smtpd[5017]: warning: SASL: Connect to private/auth failed: Permission denied dovecotconfiguration文件, https ://ghostbin.com/paste/c9he3

有Postfix / OpenDKIM标志只authentication和本地的起源

我正在签署电子邮件很好,但我不想签署中继邮件,当“发件人”地址是我正在签署的域名之一。 什么是正确的方式来configurationPostfix / OpenDKIM只能从这些来源签名? 本地主机 通过提交端口的stream量(只允许SASLauthentication的来源) 备份MX服务器(使用relay_clientcert进行身份validation) 我可以想象一个解决scheme,通过安装两个OpenDKIM实例,一个用于validationpipe道,另一个用于签名,但我希望有一个更简单,更直接的解决scheme。

Postfix中继到本地而不是relayhost

我正在尝试通过SMTP服务器的邮件简单的后缀中继。 但我从日志中看到邮件被中继到本地而不是中继主机。 main.cfconfiguration如下, smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu) biff = no # appending .domain is the MUA's job. append_dot_mydomain = no # Uncomment the next line to generate "delayed mail" warnings #delay_warning_time = 4h readme_directory = no # TLS parameters smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.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 # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for # […]

rDNS和主机名冲突

我的服务器有3个IP:2个用于DNS的东西,例如192.0.2.1和192.0.2.2 ,还有一个用于发送电子邮件,比如192.0.2.3 。 我的主机名是mail.mydomain1.com 。 当我为第三个IP创build了rDNS而另一个域比第一个mydomain2.com创build了问题时,问题就开始了。 当我从第一个域发送电子邮件到电子邮件testing仪时,它告诉我邮件服务器是在postfix中configuration的mail.mydomain1.com,但是IP 192.0.2.3的rDNS与另一个域mydomain2.com相关联。 rDNS应该总是和邮件服务器的主机名一样吗?

我没有Sendmail,但端口25仍然由Sendmail使用

我正在运行这个命令: telnet 87.106.xxx.xxx 25 它说 Trying 87.106.xxx.xxx… telnet: Unable to connect to remote host: Connection refused 但是, telnet localhost运行正常。 然后我跑这个命令 sudo netstat -plntu 它给了我: tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 9518/sendmail: MTA: 但问题是我没有Sendmail。 我使用的是后缀。 我试图用apt-get purge sendmail卸载sendmail但是它给出错误: Package sendmail is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 0 […]

Trac通知(smtp)和Postfix

我有两个独立的Ubuntu 12.04服务器。 运行Trac(homeserver / Dyndns) 运行后缀(VPS / staticIP) 我configurationtrac使用TLS并连接到postfix服务器。 Tracconfiguration: admit_domains = always_notify_owner = true always_notify_reporter = true always_notify_updater = true ambiguous_char_width = single email_sender = SmtpEmailSender ignore_domains = mime_encoding = base64 sendmail_path = sendmail smtp_always_bcc = smtp_always_cc = [email protected] smtp_default_domain = smtp_enabled = true smtp_from = [email protected] smtp_from_name = Trac smtp_password = randompassstring== smtp_port […]

如何从SMTP智能中继免除本地主机?

我有一个邮件服务器(mail.mydomain.com),其中设置了一个中继: /etc/postfix/main.cf : # Smarthost relayhost = [smtpcorp.com]:2525 smtp_sasl_password_maps = hash:/etc/postfix/smtpcorp_passwd 因此,我的任何使用mail.mydomain.com作为SMTP服务器的用户,基本上都会使用自己的用户名和密码进行身份validation(与dovecot使用的用户名和密码相同),然后他们会转到smtpcorp.com ,该用户名/密码是他们从未见过的。 这很好。 但是,当mail.mydomain.com运行cron脚本并尝试发送别名到我的电子邮件地址的根目录时,它将失败,因为没有进行身份validation。 Jul 27 08:34:06 mail postfix/smtp[5058]: D37641FA98: to=<[email protected]>, relay=smtpcorp.com[207.58.147.66]:2525, delay=0.96, delays=0/0/0.86/0.1, dsn=5.0.0, status=bounced (host smtpcorp.com[207.58.147.66] said: 550 Relay denied for unauthenticated sender (in reply to RCPT TO command)) 我如何免除localhost和mail.mydomain.com : 必须使用SMTP智能中继 或者根本不需要使用SASLauthentication来使用智能中继 / etc / aliases : mailer-daemon: postmaster postmaster: root […]

有没有办法只使用端口465发送电子邮件?

我试图通过端口465发送电子邮件,因为我的ISP已经阻止了端口25。 openssl s_client -crlf -connect example.com:465 EHLO example.com AUTH LOGIN sdgfsdgfdgdfg dfgdfgdf mail from: [email protected] rcpt to: [email protected] data From: Karmo <[email protected]> To: Karmo <[email protected]> Subject: Email from Postfix Hi! . quit 但根据系统日志,它仍然尝试使用端口25连接到GMail: Jul 29 21:58:26 vagrant postfix/smtp[30536]: connect to alt1.gmail-smtp-in.l.google.com[2a00:1450:4010:c04::1a]:25: Network is unreachable 有没有办法发送电子邮件到GMail或任何使用端口465的外部服务器? 当我用sudo运行它时,结果也是一样的。

邮件去垃圾邮件。 请看详情

我的主机名正确设置。 主机文件有适当的条目。 邮件头显示SPF通行证。 IP不是白名单。 邮件正文也很好。 唯一没有的是DKIM设置。 现在我在同一台服务器上有两个域。 邮件将从一个域到另一个域的垃圾邮件。 另一个是一个新的域 – 所以没有机会,该域被标记为垃圾邮件域。 在Internet上search我发现邮件头中的localhost / 127.0.0.1可能会产生问题,也可能导致DKIM不存在。 但是我认为对我来说不是这样的 – 否则来自这两个域的邮件都会被发送到垃圾邮件。 有人能帮我find问题吗? 我有Postfix,Dovecot,Amavisd安装。 使用Squirrelmail。 服务器在Ubuntu 12.04上运行 以下是邮件标题。 工作标题: x-store-info:7YsnRco0gQJ3EyekdHv0zlwbSFmh6T19OKG2DRa1LmMeJxgQn9G9daCVjxHTsWMJwpb2etzRAJxKhZtUNYv5S5RsM10528BoXPAgw37zh+mdEjmglV3TbqC8MzZd864j+qmai+dU3Xg= Authentication-Results: hotmail.com; spf=pass (sender IP is 106.187.99.77) [email protected]; dkim=none header.d=kolkataonweb.com; x-hmca=pass [email protected] X-SID-PRA: [email protected] X-AUTH-Result: PASS X-SID-Result: PASS X-Message-Status: n:n X-Message-Delivery: Vj0xLjE7dXM9MDtsPTA7YT0wO0Q9MTtHRD0yO1NDTD0w X-Message-Info: NhFq/7gR1vTbh6GeR4A77FFvq26uYbApmtayJTspM6NE6ojfcCRXKgmUwuuCSuH/f1I+30q4S8f4EWWAeXg3E+GbKLrVtBXyWYFmzlvelmtn7H6+5LiCFtnKtM/1aCHHGoTJoIsbIdKVW+Sbe3D5N0Pl/SXj90jMtsYsL+HZtDbYGZw2tZDJeIqXOPBgtPWu6Sqt7Bxq8f1w3kLX3vzDm0LV3wcQL7ta Received: from unicorn.kolkataonweb.com ([106.187.99.77]) by BAY004-MC2F29.hotmail.com […]