Articles of 后缀

Postfix + Dovecot + IMAP SSL:imap-login:中止login

熟悉电子邮件服务器组件和configuration。 知道了对Dovecot 2.x的configuration更改,并且愿意使用SSLencryption,我已经遇到了这个指南 。 Postfix,Dovecot和带有SSLconfiguration的POP。 IMAP和SSL的区别仅仅是“/etc/dovecot/conf.d/10-master.conf”中的软件包(dovecot-imapd和dovecot-pop3d)和参数的区别。 完全按照指南,创build2个电子邮件用户帐户。 当试图连接OSX邮件程序时,我首先遇到以下问题。 dovecot: auth: Error: passwd-file /etc/dovecot/passwd: User xx@domain is missing userdb info 注意到用户名和密码存储在单独的文件中,我更改了“/etc/dovecot/conf.d/auth-system.conf.ext”,以包含用户文件,如下所示 passdb { driver = passwd-file args = scheme=cram-md5 username_format=%u /etc/dovecot/passwd #driver = pam #[session=yes] [setcred=yes] [failure_show_msg=yes] [max_requests=<n>] #[cache_key=<key>] [<service name>] #args = dovecot } userdb { driver = passwd-file args = username_format=%u /etc/dovecot/users #<doc/wiki/AuthDatabase.Passwd.txt> #driver […]

为安全IMAP和SMTPconfigurationpostfix和dovecot

我在Debian 8操作系统上安装了一个干净安装的postfix和dovecot-core dovecot-imapd dovecot-lmtpd。 我想configuration邮件使用PAM,但我想限制它是用户邮件组的一部分,因此不是每个Linux用户都有邮件访问。 我也想确保以下文件configuration正确。 我想确保用户/密码不是以纯文本forms发送的,而是encryption的。 我只显示我修改过的行。 对于一个我不确定的部分,我问了一个问题。 的dovecot / 10-auth.conf disable_plaintext_auth = yes auth_username_chars = abcdefg….AbCdefg…0123…@ 应该plain login用于安全SMTP和IMAPS或只是plain ? auth_mechanisms = plain login 这个如果用于PAMauthentication !include auth-system.conf.ext 的dovecot / 10-master.conf 所有其他人都注释掉,所以只有IMAPS将工作。 service imap-login { inet_listener imaps { port = 993 ssl = yes } | postfix是正确的用户,还是应该在这里使用dovecot? service lmtp { unix_listener /var/spool/postfix/private/dovecot-lmtp { mode = […]

后缀:如何阻止通过telnet发送电子邮件和太有效的电子邮件地址?

我的邮件服务器有问题。 我可以通过telnet从一个有效的电子邮件地址发送一封电子邮件到一个有效的电子邮件地址(这两个电子邮件地址来自我的域名)从我的本地计算机。 这里是一个例子: root@mylocalpc:/etc/postfix# telnet example.com 25 Trying XXX.XXX.XXX.XXX… Connected to example.com. Escape character is '^]'. 220 example.com ESMTP Postfix ehlo example.com 250-example.com 250-PIPELINING 250-SIZE 10240000 250-VRFY 250-ETRN 250-STARTTLS 250-AUTH PLAIN LOGIN 250-AUTH=PLAIN LOGIN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN mail from:<[email protected]> 250 2.1.0 Ok rcpt to:<[email protected]> 250 2.1.5 Ok data 354 End data with <CR><LF>.<CR><LF> test […]

SPF,SRS和Gmail及其他外部服务上的别名

我的很多邮件服务器用户都使用Gmail来发送我的域名上的地址作为他们的别名。 为了打击电子邮件伪造,我实施了一项SPFlogging,并build议将~all “ ~all改为“ -all 在这种情况下,SRS是否有帮助?还是我只需要通知我的所有用户停止在Gmail上使用别名?

如何使不良拒绝邮件

我使用Postfix发送邮件。 我已经configuration了只允许在/ etc / aliases或/ etc / postfix / login_maps中列出的用户接收邮件,并且用户必须经过身份validation,只能从其帐户发送邮件,而不能发送其他人的邮件。 由于我无法将邮件作为[email protected]发送出去,所以我必须将noreply添加到/ etc / aliases文件中。 我将其别名为'nobody'用户,但是当我发送邮件到[email protected]时,它只是从noreply循环到没有noc到root,我收到一封电子邮件说太多的循环。 有没有另一个用户或另一种方式去完全拒绝邮件,而不是无休止地转发?

发送邮件为[email protected]而不是[email protected]

我正在尝试以[email protected]的forms发送电子邮件。 主机名称是机器的名称。 这样我知道哪些机器发送警报。 在Debian 8上运行postfix。我创build了一个通用文件并列出 [email protected] [email protected] 在修改main.cf以引用通用文件后,运行后映射generics并重新启动后缀。 当我以root身份发送邮件时,它仍以[email protected]身份到达postfix服务器。 任何想法我做错了什么? 在一个非postfix的机器上,只运行exim4,电子邮件将作为[email protected]发送,但是在from字段(名称)中发送根。 我怎样才能删除名称? 我只是从/ etc / passwd中删除名称根?

postfix在服务器popup电子邮件发送到相同的域名电子邮件,外部域名工作

我的@ example.com电子邮件由Google Apps托pipe。 我能够发送和接收电子邮件给我为@ example.com创build的所有4个账户。 我也拥有www.example.com。 问题是无法发送电子邮件到以@ example.com为结尾的域名。 我已经将联系表单中的设置切换为指向我的个人地址,一个不以@ example.com结尾,并发送表单。 我进入terminal并使用#echo SERVER MAIL TEST | 邮件[email protected]和电子邮件发送。 但是,如果使用相同的命令并发送到[email protected],则会出现问题。 我有日志,我有一个偷偷的怀疑我搞砸了main.cf,这里是日志和main.cf的pastebins http://pastebin.com/bysqpY4E http://pastebin.com/x2GK9pPZ 有任何想法吗? 我甚至正确地解释自己?

使用后缀拒绝电子邮件到特定的电子邮件地址

我想拒绝任何入站电子邮件到[email protected],一个更多的人会希望这将是内部分配组/别名的一个例子。 我试过header_checks没有成功: zmlocalconfig -e postfix_header_checks="pcre:/opt/zimbra/conf/custom_header_checks" / opt / zimbra / conf / custom_header_checks的内容 /^To:[email protected]/ REJECT Mailbox no longer valid 但是我还是没有被拒绝。 我也尝试了一些从拒绝的configuration发送电子邮件给特定的收件人Postfix,因为他有东西configuration在我正在寻找的东西。 zmlocalconfig -e smtpd_recipient_restrictions=check_recipient_access hash:/opt/zimbra/conf/custom_recipient_blocklist /select/ Zimbra公司/ conf目录/ custom_recipient_blocklist [email protected]/ REJECT 这也没有按预期工作。

两个相同的Postfix main.cf文件,但从CLI发送邮件的方式不同

我最近一直在testingPostfix并将其configuration为虚拟环境中的发送专用邮件客户端。 我一直在使用几台虚拟机上的设置,直到我开始工作,终于find了我应该join的适当的值。我们的configuration是非常基本的,我会掩盖或域代码如下,我们正在使用。 # 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. #myorigin = /etc/mailname smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu) biff = no # appending .domain is […]

后缀smtp远程 – 连接超时

我有一个在亚马逊远程服务器上安装的Ubuntu服务器。 我试图允许远程连接发送电子邮件每个用户/密码由Ubuntu系统configuration。 意味着我系统中的每个用户都可以使用自己的凭据发送电子邮件 首先我打开了亚马逊防火墙的端口25。 然后我configuration了以下文件: master.cf在后缀 我添加了以下几行: submission inet n – – – – smtpd -o syslog_name=postfix/submission -o smtpd_tls_wrappermode=no -o smtpd_tls_security_level=encrypt -o smtpd_sasl_auth_enable=yes -o smtpd_recipient_restrictions=permit_mynetworks,permit_sasl_authenticated,reject -o milter_macro_daemon_name=ORIGINATING -o smtpd_sasl_type=dovecot -o smtpd_sasl_path=private/auth 然后我configurationdovecot,但在/etc/dovecot/conf.d/10-auth.conf中添加以下行 disable_plaintext_auth = no service auth { unix_listener /var/spool/postfix/private/auth { group = postfix mode = 0660 user = postfix } } ssl=required ssl_cert = […]