帮助,我得到这个postfix的错误,这是什么意思? postmap: fatal: bad string length 137 > 1: recipient_delimiter = + mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp_local_destination_recipient_limit = 300 local_destination_concurrency_limit = 5 以及如何解决这个问题?我用centos。 谢谢
我一直收到DMARC报告,显示我的IP通过了所有SPF和DKIM检查。 这只是一个电子邮件,说一切正常或者是一个问题的迹象? 如果是后者,这封电子邮件里没有任何东西可以帮助弄清楚问题所在。 这是一个示例电子邮件(域和IP已更改): <?xml version="1.0" encoding="UTF-8" ?> <feedback> <version>1.0</version> <report_metadata> <org_name>recipient.com</org_name> <email>[email protected]</email> <extra_contact_info>SSC-ICT</extra_contact_info> <report_id>[email protected]</report_id> <date_range> <begin>1456182003</begin> <end>1456268403</end> </date_range> </report_metadata> <policy_published> <domain>mydomain.com</domain> <adkim>r</adkim> <aspf>r</aspf> <p>none</p> <sp>none</sp> <pct>100</pct> </policy_published> <record> <row> <source_ip>1.2.3.4</source_ip> <count>6</count> <policy_evaluated> <disposition>none</disposition> <dkim>pass</dkim> <spf>pass</spf> </policy_evaluated> </row> <identifiers> <header_from>mydomain.com</header_from> <envelope_from>mydomain.com</envelope_from> </identifiers> <auth_results> <dkim> <domain>mydomain.com</domain> <selector>mail</selector> <result>pass</result> </dkim> <spf> <domain>mydomain.com</domain> <scope>mfrom</scope> <result>pass</result> </spf> </auth_results> </record> […]
我们使用Postfix 2.11.0和Dovecot 2.2.9作为MTA / MDA的组合。 作为pipe理邮件域和邮箱的前端,使用了postfix.admin。 由于允许用户添加邮箱到他们的域可以很容易地失去控制我想设置每个域的最大邮箱大小。 举个例子: domain example.com >> Domain quoata = 20000 MB 这将允许用户以任意大小自由设置他们的邮箱,但不允许他们使用超过20 GB(通过所有邮箱传播)。 为了澄清我不想设置每个邮箱配额,这是强制性的。 pipe理员获得x MB的空间,并可以将其分配给他们的喜好。 我的第一个想法是将这个function添加到我自己的postfix.admin,添加一个新的列到存储域配额的域表的方式。 然后每次向特定的域添加一个新的邮箱,包含当前邮箱配额的列将被查询和总结,然后检查这个示例代码(这不是真正的代码!): if (SUM(mailbox_quota) + to_add_mailbox_quota > domain_qouta) { throw_warning and don't proceed } 但也许我错过了一些function,我很高兴能够了解这方面的几种方法。 编辑: 通过评估postfix.admins代码,我发现这个: # TODO: detailed error message ("domain quota exceeded", "mailbox quota too big" etc.) via flash_error? Or "available […]
我正在尝试将我的Amazon EC2实例configuration为接收带有Postfix的电子邮件。 我尝试了几个小时,但我从未收到一封电子邮件。 如果我从同一台服务器terminal发送电子邮件, 这是工作 echo "My message" | mail -s subject [email protected] 但是,如果我尝试从外部发送电子邮件,如Gmail。 我没有收到它。 我的端口25打开。 我也没有收到任何交付失败的消息。 无法从后缀日志find任何相关的问题。 Appriciate如果有人可以帮助我找出问题。 这是我的后缀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 # […]
我在专用服务器上安装了Postfix(2.6)。 当我尝试发送邮件到一个不存在的域,我在我的mail.log中得到这一行: postfix/smtpd[11069]: NOQUEUE: reject: RCPT from [..omitted..][xxxx]: 450 4.1.2 <[email protected]>: Recipient address rejected: Domain not found; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<test.mydomain.com> 在我的configuration中,我有: smtpd_recipient_restrictions = reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_unauth_pipelining, reject_invalid_hostname, reject_non_fqdn_sender, reject_non_fqdn_recipient, check_client_access hash:/etc/postfix/rbl_override,permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_rbl_client tor.dnsbl.sectoor.de=127.0.0.1 所以,邮件日志中的错误是正确的。 目前这封电子邮件并没有排队,并被拒绝。 有没有办法向发件人发送拒绝邮件(发送状态通知?)(例如[email protected])?
我想通过Ubuntu 14.04版本发送邮件到我的Gmail邮箱ID。 Ubuntu在我的Windows机器上通过VMware运行。 请让我知道,如果上述说明不清楚,因为我是新手在使用虚拟机。 我已经安装了VMware Workstation 12 Player。 然后下载了ubuntu-14.04.4-desktop-amd64.iso并为它创build了一个虚拟机。 我试图运行下面的命令: echo "This is the body of the email" | mail -s "This is the subject line" myemailID echo "This is the body of the email" | mail -s "This is the subject line" myemailID 没有错误提示。 我已经在Ubuntu上执行了以下工具: sudo apt-get install mailutils sudo apt-get install postfix mailutils […]
运行在Centos 6.4上。 过去两周,我一直在接收来自位于服务器上的其他电子邮件帐户的电子邮件。 [email protected]发送到[email protected]和[email protected]发送到[email protected]。 他们都包含一个zip文件。 电子邮件最近开始从[email protected]进来(网站甚至没有子域)。 我相当密切地监视服务器,并没有看到任何违反FTP,SSH或PHP代码。 这些电子邮件似乎来自土耳其和其他中东地区。 没有垃圾邮件被送出服务器,他们只被发送和本地交付。 我以为我已经设置为validation所有用户,但它不authentication,仍然发送。 有人可以阐明如何做或改变? 这里是postfix / main.cf文件的一些内容。 mynetworks = 127.0.0.0/32 alias_maps = hash:/etc/aliases smtpd_sasl_type = dovecot smtpd_sasl_path = private/auth smtpd_sasl_auth_enable = yes smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination smtpd_tls_security_level = may smtpd_tls_key_file = /etc/pki/tls/private/site.com.key smtpd_tls_cert_file= /etc/pki/tls/certs/mycert.crt smtpd_tls_CAfile= /etc/pki/tls/certs/gd_bundle-g2-g1.crt smtpd_tls_loglevel = 1 smtpd_tls_session_cache_timeout = 3600s […]
在DigitalOcean的指南中,我在Centos 6.5上安装了postfix / dovecot / mysql。 我有虚拟地址和别名工作得很好,现在我试图添加一个donotreply别名。 在我的虚拟用户表中,我有一个条目[email protected] ,其目的地是devnull 。 在/etc/aliases我有 devnull: /dev/null 在这之后我跑了新的。 检查虚拟别名: $ postmap -q [email protected] mysql:/etc/postfix/mysql-virtual-alias-maps.cf devnull 当我发送邮件到这个地址,我得到一个“用户不存在”[email protected] Mar 25 14:48:12 vps1 postfix/lmtp[7686]: 8543360392: to=<[email protected]>, orig_to=<[email protected]>, relay=host.mydomain.com[private/dovecot-lmtp], delay=0.14, delays=0.07/0.01/0.01/0.05, dsn=5.1.1, status=bounced (host host.mydomain.com[private/dovecot-lmtp] said: 550 5.1.1 <[email protected]> User doesn't exist: [email protected] (in reply to RCPT TO command)) Postfix(和dovecot)在每次更改后都被重新加载,但仍然没有运气。 我的后缀conf: $ postconf […]
我得到了后缀从我的服务器通过控制台使用echo "body example" | mail -s "subject example" my@email发送给我的电子邮件 echo "body example" | mail -s "subject example" my@email ,但是当我尝试从我的网站通过mail() ,PHP函数发送电子邮件,我没有收到电子邮件。 我是新来的Web服务器和邮件服务器,从我的理解,我需要postfix mts运行,以便我使用mail()函数。 我不知道为什么我的表单提交没有通过,没有什么出现在/var/log/mail.log文件中,以帮助我找出错误。 我已经检查了我的联系表单和php本身的任何错误(我从bootstrap模板中得到的,但从那以后被篡改),并且在那里找不到任何问题。 我可以使用一些帮助来find我可以采取的下一步,以找出为什么电子邮件不发送,如果有其他地方的日志,我指出潜在的错误。 为了好的措施,我已经包括我的PHP函数和forms: <?php function send(){ if(empty($_POST['name']) || empty($_POST['email']) || empty($_POST['phone']) || empty($_POST['message']) || empty($_POST['company']) || !filter_var($_POST['email'],FILTER_VALIDATE_EMAIL)) { echo "No arguments Provided!"; return false; } $name = $_POST['name']; $email_address = $_POST['email']; $phone […]
我正在使用iRedMail 0.8.6进行电子邮件实施。 现在出现了以下问题: 在不login的情况下,不能通过telnet从现有邮件帐户发送邮件。但是,如果没有现有邮件帐户存在别名(用作转发地址),则可以通过此alisas发送邮件远程login而不login。 现在我的问题是,如果有可能通过configuration防止这种行为。 或者,我必须为每个用于中继到另一个地址的别名创build禁用的邮件帐户。 这是我的configuration: queue_directory = /var/spool/postfix smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu) biff = no append_dot_mydomain = no readme_directory = no # TLS parameters smtpd_tls_cert_file = /etc/ssl/certs/mail.pem smtpd_tls_key_file = /etc/ssl/private/mail.key smtpd_use_tls=yes smtp_use_tls=yes smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache myhostname = foo.bar.de alias_maps = hash:/etc/postfix/aliases alias_database = hash:/etc/postfix/aliases myorigin = foo.bar.de mydestination […]