我正在build立一个邮件服务器,我希望得到一些帮助。 它开始与Roundcubenetworking邮件,当我试图用现有的正确的用户名和密码login,它给了我'login失败',所以我检查/var/log/mail.log错误日志,我发现有一个错误说的是 dovecot: auth-worker(10370): Error: sql([email protected],127.0.0.1): Password query failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''maildir:/var/vmail/…' as userdb_mail, 150 as userd' at line 1 当我检查在/etc/dovecot/dovecot-sql.conf.ext的密码查询 password_query = \ SELECT username as user, password, '/var/vmail/%d/%n' as userdb_home, […]
我的Postfix邮件服务器提供两种主要types的邮件 邮件接收自php-cgi(sendmail),localhost中继 邮件从经过身份validation的SASL SMTP用户接收 是否有可能为每种types定义不同的IP? 原因:防止正常邮件因为被黑网站而无法发送邮件。 我的设置:Postfix和Apache与PHP5-CGI
我想为我的域(example.com)部署一个新的(postfix)电子邮件服务来: 允许发送电子邮件到任何域名只有发件人(我们的云应用程序实例)通过身份validation(例如通过SMTP密码) 允许我们的用户回复收到的电子邮件:[email protected] 允许我们通知无法投递的邮件:[email protected] 转发电子邮件到*@example.com到我们的Google Apps电子邮件主机(它也必须能够直接接收发往example.com的电子邮件) …为了避免我们的Google Apps电子邮件主机每天发送限制。 是否有可能configuration一个后缀服务器的身份validation和未经身份validation的访问? 或者我应该使用postmulti? 思路: 我的想法是,configuration后缀, 如果提供密码邮件,新邮件直接发送到目的地。 如果没有提供密码: 将发送到example.com的任何消息转发给我们的Google服务 拒绝所有其他消息。 (还有: 除了 Google Apps服务器之外 ,还要在example.com的MXlogging中注册服务器,以便发送带有*@example.com From / ReplyTo标头字段的已发送邮件可以被目标垃圾邮件所接受。 从我所看到的,如果我有两个后缀服务器,上述情况的postfixconfiguration很简单: 答:密码需要SMTP服务器 B:向我们的Google Apps服务发送example.com地址邮件的无密码中继 但是,我认为这些需要共同托pipe(因为目标服务器将发送服务器的IP地址与MXlogging匹配,但是MXlogging也必须指向B)。 是否可以使用postmulti共同承载这些不同configuration的服务器,并阻止访问防火墙内和非标准端口的“A”服务器? 还是有一些其他的后缀configuration魔术做我想要的?
当试图发送testing邮件时,我的服务器给了我一个“太多的跳跃”反弹 错误 554 5.4.0 Error: too many hops (in reply to end of DATA command) main.cf # 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 = […]
在我的服务器上,我有这个问题:即使domain.com不在我的服务器上托pipe,也有从例如[email protected]发送的邮件。 而且,显然,我的服务器上的电子邮件帐户中没有[email protected]。 我有Plesk通过Postfix,并设置“SMTP需要身份validation”标签与“SMTP”checkbox。 但是,如果[email protected]没有在我的服务器上列出,如何授予访问权限? 感谢您的支持!
我对Debian比较熟悉,一直试图用本教程设置邮件服务器。 现在,我已经通过网站上提供的所有意见,尝试找出问题,但他们似乎并没有工作。 我遇到了一些在serverfault上类似的问题,但他们也不能工作。 我面临的最大挑战就是真正地制作堆栈跟踪的正面或反面。 我看到很多的警告和一些错误,不能告诉路由的原因是什么。 最大的挑战是,这是我第一次处理任何邮件相关/ smtp。 我解决的第一个错误是这个 Fatal: Error reading configuration: Invalid settings: postmaster_address setting not given 通过将"postmaster_address = [email protected]"添加到/etc/dovecot/conf.d/15-lda.conf文件中。 注意 根据许多post,添加这行的文件是不一样的。 现在来了一堆我无法理解的堆栈 Jan 9 00:27:19 xxxxxxxx postfix/smtpd[28713]: warning: cannot get RSA certificate from file /etc/ssl/certs/dovecot.pem: disabling TLS support Jan 9 00:27:19 xxxxxxxx postfix/smtpd[28713]: warning: TLS library problem: 28713:error:02001002:system library:fopen:No such file or directory:bss_file.c:398:fopen('/etc/ssl/certs/dovecot.pem','r'): […]
我运行一个小型邮件服务,目前支持几百个用户。 当有人发送邮件,有人看源头时,实际的IP包含在IIRC X-Originating-IP中。 对于用户隐私,我不希望他们的真实IP显示在标题的任何地方。 我知道这可以做,因为我相信大多数主要的networking邮件服务。 有没有办法在Postfix的SMTP? 谢谢
背景 我想我接近让我的POSTFIX安装程序,我喜欢。 我运行了一些SMTP在线检查,我的SMTP通过了所有基本的安全testing。 我在Thunderbird中收到证书警告。 我正在使用临时自签名证书,所以我知道为什么会出现证书exception。 这不是我的问题。 目标 我想禁用在SMTP服务器上发送的任何未encryption和未经身份validation的邮件。 我只想使用TLS。 问题 我不确定是否有问题,但是当我连接到Thunderbird时,我收到有关25端口证书的警告。 无论使用哪个连接安全性或端口,我都会收到此警告。 我已经尝试了端口465上的SSL / TLS,587上的STARTTLS,以及端口25上的任何一项。我期望证书在端口465或587上。 另一个困惑是我为什么仍然可以设置Thunderbird使用端口25没有安全性,这个安全例外仍然显示在发送。 这封邮件的发送是否仍然是encryption的? 我有一个我不知道的问题吗? 我怎样才能让我的服务器端口465响应呢? 后缀/ master.cf smtp inet n – – – – smtpd -o smtpd_tls_auth_only=yes -o smtp_sasl_auth_enable=no -o smtp_tls_security_level=none # SMTP with TLS on port 587. Currently commented. submission inet n – – – – smtpd -o smtpd_tls_wrappermode=yes -o […]
我有一个脚本,基本上通过telnet连接到我的后缀服务器,并发送电子邮件。 当然,当“RCPT TO”字段与“[email protected]”或“[email protected]”类似时,它只接受电子邮件。 即使RCPT TO字段设置为“[email protected]”或“[email protected]”,是否可以将所有电子邮件转发到“[email protected]”?
我正在使用虚拟域运行一个较旧的Postfix和Courier邮件服务器。 我最近体验到,使用webmail对一个不存在的邮箱进行本地交付会导致创build实际的邮箱 – 比如/var/vmail/domain/notexistinguser – 包含邮件。 在我看来,邮件应该反弹给发件人。 来自外部系统的电子邮件确实会触发反弹。 我不太确定这个问题是否与我的服务器上运行的Postfix,Courier或其他服务有关。 因此,我愿意发送任何你可能需要的configuration,日志等来帮助我解决这个问题。 一些额外的信息 输出postconf -n (主机名已被隐私取代): alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases anvil_rate_time_unit = 43200 append_dot_mydomain = no biff = no body_checks = regexp:/etc/postfix/body_checks bounce_queue_lifetime = 1 broken_sasl_auth_clients = yes config_directory = /etc/postfix content_filter = amavis:[127.0.0.1]:10024 header_checks = regexp:/etc/postfix/header_checks html_directory = /usr/share/doc/postfix/html inet_interfaces = all mailbox_command = […]