Articles of 后缀

什么是saslpasswd2域名?

saslpasswd2做什么,特别是什么域选项: -u domain use domain for user domain (realm). 更新:假设,我: smtplogin到smtp.mydomain.com, 作为[email protected](带有password1) 并想发送和发送电子邮件来自:[email protected], 这应该被转发到谷歌的SMTP服务器:smtp.gmail.com 作为([email protected]与其他密码2)login, 这5个域中的哪一个是sasl关心的域? 事实上,sasl为什么关心域名,而不仅仅是密码string和用户名string(可能包括域名)呢?

Postfixlogin失败,请检查用户名和密码

所以我按照这个指南设置了多个域/ IP的Postfix https://unix.stackexchange.com/a/179175/102085 但是现在我正试图发送电子邮件,我得到以下错误 Login failed, please check the username and password and try again. 日志文件: Jul 2 10:30:59 admin postfix/smtpd[2697]: connect from unknown[176.31.26.12] Jul 2 10:30:59 admin postfix/smtpd[2697]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory Jul 2 10:30:59 admin postfix/smtpd[2697]: warning: unknown[176.31.26.12]: SASL LOGIN authentication failed: generic […]

后缀多个IP:用于SMTP AUTH的?

我正在设置一个邮件服务器,它具有分开的IP地址用于发送和接收邮件。 我的configuration如下所示: # The addresses we send out on: smtp_bind_address = 185.xx.xx.101 smtp_bind_address6 = 2001:BA8:xx:xx:xx:A1 # The interfaces we receive on: inet_interfaces = 127.0.0.1, 185.xx.xx.102, 2001:BA8:xx:xx:xx:A2 我认为inet_interfacesconfiguration监听地址,那么通过SMTP AUTH发送邮件时使用的地址是?

使用Web服务器的日志保护外发电子邮件

在Web服务器上,我将运行rkhunter,tripwire,OSSEC,fail2ban和psad。 所有这些应用程序都需要能够发送电子邮件通知系统pipe理员。 所以,我已经: sudo apt-get install -y mailutils postifx 然后,我configuration了postfix来捕获发送到root @ localhost的邮件,并将这些邮件发送到[email protected]: sudo nano /etc/aliases 而且我添加了这个别名(在postmaster: root之后postmaster: root ): root: [email protected] 我已经允许端口25 / TCP的传出stream量(因为我的默认UFW政策是在input,输出和FORWARD的DROP) sudo ufw allow out 25/tcp 我现在只能发送电子邮件,而且我将仅使用postifx /邮件列出上述应用程序,而我将使用PHPMailer作为Web应用程序本身(login通知,电子邮件validation,密码更改通知等)。 )。 在这一点上,我想知道: 是postfix /邮件,因为我上面设置,一个安全的方式发送日志的安全性? 假设一个攻击者想要得到我的日志,那么用我目前的configuration有多难? 有谁知道一个很好的链接在哪里可以学到一些东西,可以帮助我在这个东西? 我的后缀TLSconfiguration行: smtp_enforce_tls=yes smtp_use_tls=yes smtp_tls_security_level=encrypt smtp_tls_mandatory_ciphers = high smtp_tls_loglevel = 1 smtp_tls_session_cache_timeout = 3600s smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache tls_random_source = […]

后缀与dovecot无法传递消息

我正在试图在我的服务器上安装一个邮件服务, 这个和这篇文章。 完成configuration后,我得到了工作用户帐户 – 它有可能成功login每个帐户与雷鸟,pipe理文件夹等。我可以发送电子邮件从一个帐户到另一个没有错误(至less在客户端) – 但他们无法交付。 在mail.log我有: Aug 31 13:03:46 serwer postfix/virtual[3516]: 4DCB1E132A: to=<[email protected]>, relay=virtual, delay=2117, delays=2117/0.01/0/0.01, dsn=4.2.0, status=deferred (delivery failed to mailbox /home/vmail/%d/%n/1: unable to create lock file /home/vmail/%d/%n/1.lock: No such file or directory) 当然,域名是不同的,现在只需要replace它来隐藏真实域名。 当我在网上search解决scheme时,我注意到在其他类似的日志条目中,maildir的path已完全parsing,如: /home/vmail/example.com/admin/1.lock 在我的日志中仍然有%d和%n – 这是一个问题吗? 后缀conf: smtpd_tls_cert_file=/etc/postfix/ssl/smtpd.cert smtpd_tls_key_file=/etc/postfix/ssl/smtpd.key smtpd_use_tls=yes smtpd_tls_auth_only=yes smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache smtpd_sasl_type=dovecot smtpd_sasl_path=private/auth […]

configuration外发邮件的后缀

我租了一个VPS,一个域名(比方说foo.bar )。 我想使用地址[email protected]发送电子邮件。 我已经安装了postfix ,并开始configurationmain.cf文件; 但它不起作用。 在我看来,参数relayhost是错误的configuration。 事实上,我在互联网上看到,我应该把我的ISP的域名。 但是如果我不拥有一个ISP呢? 我可以理解,如果服务器在我家,但它是一个VPS。 你可以find附上我的configuration文件。 有人可以帮我做到这一点吗? # See /usr/share/postfix/main.cf.dist for a commented, more complete version # MY SERVER myhostname = server.foo.bar mydomain = foo.bar # Transport mod for outgoing mail default_transport = smtp # Aliases alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases # Debian specific: Specifying a file name will […]

通过“Gmail”帐户发送电子邮件的Postfix错误

我试图通过我的个人“Gmail”帐户发送一封电子邮件到其他使用Fedora 23的“Gmail”帐户。这个想法是通过Postfix发送一个电子邮件(用于服务器警报),但我没有公司/个人域名。 我正在使用这个Postfixconfiguration: alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases command_directory = /usr/sbin compatibility_level = 2 daemon_directory = /usr/libexec/postfix data_directory = /var/lib/postfix debug_peer_level = 2 debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5 html_directory = no inet_interfaces = all inet_protocols = all mail_owner = postfix mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/share/man meta_directory = /etc/postfix mydestination […]

用Postfix中继本地邮件

情况 我正在使用SpamExperts进行电子邮件归档。 为了获得邮件存档,邮件必须通过SpamExpert的Smarthost才能到达最终目的地。 如果我想让所有外发邮件归档,我可以使用sender_dependent_relayhost_maps 。 现在我的main.cf的相关部分是: sender_dependent_relayhost_maps = hash:/etc/postfix/securitybox_sender_relay smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix/securitybox_passwd smtp_sasl_security_options = smtp_sender_dependent_authentication = yes 现在问题是,如果发送者和接收者在同一台机器上,Postfix将使用本地传输,并且消息不会被中继,因此不被存档。 我的问题 我怎样才能使从一个特定本地域发送到任何本地域(包括本身)的所有消息在被传送到最终目的地之前通过智能主机被中继?

后缀 – 将经过身份validation的发件人限制在MAIL FROM中的自己的电子邮件地址

如何防止我的(经过身份validation的)用户使用错误或彻底伪造的电子邮件地址发送电子邮件? 我的邮件服务是后缀,我已经设置发件人和收件人的限制,如reject_unlisted account或reject non fqdn domains或主机名,但没有工作! 我怎样才能解决这个问题在我的企业邮件服务? readme_directory = /usr/share/doc/postfix-2.11.5/README_FILES virtual_mailbox_domains = $virtual_mailbox_maps, hash:/var/spool/postfix/plesk/virtual_domains virtual_alias_maps = $virtual_maps, hash:/var/spool/postfix/plesk/virtual virtual_mailbox_maps = , hash:/var/spool/postfix/plesk/vmailbox transport_maps = , hash:/var/spool/postfix/plesk/transport smtpd_tls_cert_file = /etc/postfix/postfix_default.pem smtpd_tls_key_file = $smtpd_tls_cert_file smtpd_tls_security_level = may smtpd_use_tls = yes smtp_tls_security_level = may smtp_use_tls = no smtpd_timeout = 3600s smtpd_proxy_timeout = 3600s disable_vrfy_command = yes mynetworks = […]

如何将postfix设置为忽略不存在的用户邮件

我收到了大量的垃圾邮件尝试随机用户名。 我知道所有的邮件服务器都在某种程度上发生了这种情况,但是在过去的两周内,我的VPS的磁盘分配量已经被填满了,只是因为maillog文件的大小! 一周的日志差不多是7GB,其他的则较小,但不正常。 我是阅读日志的新手,但这是一个随机select的小片段: Sep 11 03:53:16 vps-1011517-5697 postfix/qmgr[31514]: 05DEA31470BF: from=<[email protected]>, size=1165, nrcpt=1 (queue active) Sep 11 03:53:16 vps-1011517-5697 postfix/qmgr[31514]: 05DEA31470BF: to=<[email protected]>, relay=none, delay=358802, delays=358802/0.07/0/0, dsn=4.4.2, status=deferred (delivery temporarily suspended: lost connection with mta5.am0.yahoodns.net[66.196.118.34] while sending RCPT TO) Sep 11 03:53:16 vps-1011517-5697 postfix/qmgr[31514]: 00B053186BAE: from=<[email protected]>, size=1123, nrcpt=1 (queue active) Sep 11 03:53:16 vps-1011517-5697 postfix/local[27246]: 00DAD31454C1: […]