所以我使用sendy + postfix来发送邮件。 最近我将sendy从2.0升级到3.0,但是我的电子邮件服务停止工作。 检查后缀端的debugging日志,看起来像ELHO命令不能正确解码,因此变成???????。 这是一个尝试失败的后缀日志,当我使用sendy的v3.0。 Oct 12 17:33:11 nginx postfix/smtpd[26116]: xsasl_cyrus_server_create: SASL service=smtp, realm=(null) Oct 12 17:33:11 nginx postfix/smtpd[26116]: name_mask: noanonymous Oct 12 17:33:11 nginx postfix/smtpd[26116]: watchdog_pat: 0x7f39a6b2d1d0 Oct 12 17:33:11 nginx postfix/smtpd[26116]: vstream_fflush_some: fd 15 flush 35 Oct 12 17:33:11 nginx postfix/smtpd[26116]: vstream_buf_get_ready: fd 15 got 286 Oct 12 17:33:11 nginx postfix/smtpd[26116]: < […]
我有一个postfix及其configuration的问题。 我可以发送电子邮件到外部网站(Gmail,Outlook,雅虎…),但我不能在本地发送电子邮件。 例如,如果我的网域是myfantasticdomain.com,我无法从[email protected]发送电子邮件到[email protected] 这是我有的configuration: alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases append_dot_mydomain = no biff = no inet_interfaces = all inet_protocols = all mailbox_size_limit = 0 mydestination = localhost, localhost.localdomain myhostname = myfantasticdomain.com mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 myorigin = /etc/mailname readme_directory = no recipient_delimiter = relayhost = smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache smtpd_banner = $myhostname ESMTP $mail_name […]
有没有一种方法,我可以configuration后缀(或任何其他的邮件解决scheme)调用URL的状态提交? ID为123efd的示例消息被反弹,它会调用 https://mailnotifiapi.com/index.php?id=123efd&status=bounce 谢谢
我已经安装了ratelimit-policyd来pipe理我的Postfix邮件服务器上的saslauthentication用户。 守护进程似乎运行正常。 但是,与sasl用户一起,日志会显示大量没有sasl_usernames的protocol_state = RCPT条目。 这是什么原因? Sat Oct 14 18:19:41 2017 New thread started Sat Oct 14 18:19:41 2017 protocol_state=RCPT sasl_username= Sat Oct 14 18:19:42 2017 protocol_state=RCPT sasl_username= Sat Oct 14 18:19:43 2017 protocol_state=RCPT sasl_username= Sat Oct 14 18:19:45 2017 protocol_state=RCPT sasl_username= Sat Oct 14 18:19:48 2017 protocol_state=RCPT sasl_username= Sat Oct 14 18:19:50 2017 protocol_state=RCPT […]
所以我用Postfix设置了OpenDKIM,我仍然可以发送邮件,但是当我这样做时: opendkim-testkey -d example.com -s mail -vvv 我回头: opendkim-testkey: using default configfile /etc/opendkim.conf opendkim-testkey: checking key 'mail._domainkey.example.com' opendkim-testkey: No key 如果我使用[email protected]它说 DKIM check: permerror和result: permerror (no usable key records) 但在电子邮件中,我可以看到我的公钥在电子邮件标题与s =邮件和d = mydomain.com等… / etc / opendkim /被设置为opendkim:opendkim用户和组。 我的opendkim.conf: # This is a basic configuration that can easily be adapted to suit a standard # […]
默认情况下,我的Postfix允许将中继电子邮件发送到我的域(domain1.com),或者只允许密码auth客户端或“myhostname”地址。 这是大多数邮件服务器的正常情况。 如果我在Exchange Online中设置连接器以通过我的后缀发送出站电子邮件,则客户端(例如Outlook)通常使用Exchange凭据发送电子邮件,并将Exchange服务向前发送电子邮件到我的后缀。 main.cf: relay_domains = domain1.com … smtpd_relay_restrictions = reject_non_fqdn_recipient, reject_non_fqdn_sender, reject_unknown_recipient_domain, reject_unknown_sender_domain, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_invalid_hostname, reject_unverified_sender, reject_unknown_client_hostname, reject_unknown_helo_hostname, defer_unauth_destination 后缀将拒绝“454 4.7.1中继访问被拒绝”代码: Anonymous TLS connection established from mail-ve1eur122p0672.outbound.protection.outlook.com[213.199.154.150]: TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits) NOQUEUE: reject: RCPT from mail-ve1eur122p0672.outbound.protection.outlook.com[213.199.154.150]: 454 4.7.1 <[email protected]>: Relay access denied; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<EUR03-VE1-obe.outbound.protection.outlook.com> disconnect from mail-ve1eur122p0672.outbound.protection.outlook.com[213.199.154.150] […]
我需要重写发件人的地址, 如果收件人的地址符合条件 (正则expression式规则) 在这种情况下,我的是这样的:/(. /(.tld)$ (是的,我需要重写所有的地址,如果收件人的tld是东西) 我不知道该怎么做,因为我不知道如何在Postfix中使用发送者和接收者variables进行查询! 其实我正在使用 sender_canonical_maps = hash:/etc/postfix/sender_canonical_maps 但是这样会重写所有的外发电子邮件,我怎样才能实现一个规则? 我认为可以写一个bash脚本,记住收件人的地址,并返回发件人的一个,但我不知道该怎么做,如果postfix进程首先发件人或收件人
我已经search了在后缀服务器上实现多个传出IP地址的方法,并尝试了在StackExchange站点中find的示例。 我失败了 我试图在我的postfix服务器上实现“sender_dependent_default_transport_maps = pcre:/etc/postfix/sender_transport.pcre”的使用,但每次我在configuration文件中启用它时, 所有出站邮件都失败,并显示“status = deferred(邮件传输不可用) “ configuration失败,下面的IP和域被屏蔽,任何人都可以发现问题? postconf mail_version mail_version = 2.9.6 main.cf smtpd_banner = $myhostname ESMTP $mail_name 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 = […]
我想configurationpostfix重写部分的附件,但我不能。 邮件如下所示: Delivered-To: [email protected] Received: by 10.79.105.2 with SMTP id e2csp165490ivc; Wed, 18 Oct 2017 11:12:06 -0700 (PDT) X-Google-Smtp-Source: ABhQp+TMK//6NjfuOypNhxCQAQHvUrdWZcxAZh3saC0FNpk0rdE6pFXcp7oR0GXf5lt+sn4bZ/pU X-Received: by 10.55.162.198 with SMTP id l189mr3754805qke.168.1508350326477; Wed, 18 Oct 2017 11:12:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508350326; cv=none; d=google.com; s=arc-20160816; b=jC/vVQs5NQsonzZNWfcjVdkwAAPn2MqqCf3vpiYYukZWcj1YfUUGF6DUpHVlFpC88j bstQWyj452iRvLKcQKc86mO2sI9z2tg24mP//VAOQ7vrmP+hc4XEgaEzvHM5QJlS3sFY NHUSz+RfZ0mXbsqkzDtcS01IUc0gzigvBTT7qb/3iM8KwlSLRmelaaZJcq/uiGfcIBYo BcY5mgY+YCSPY76p4Tg45IlhtL2AjX+jGzA790ccG5El9U+Uy7DW2mmjIrJx6KDwYvaP HW7YkFEpnp0Um8lMy1InM5niShjf7su8akxTXgjx1nTtWCiXAuqG3Lwoo0xZynkxvSv1 jYxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=from:message-id:subject:date:mime-version:to :arc-authentication-results; […]
我在我的arch linux pc上安装了postfix。 我使用systemd-resolved和systemd-networkd来build立networking连接。 我想用postfix作为卫星系统发送一些邮件,如果我的raid系统坏了。 所以,当我想发送一些testing邮件与echo "Body" | mail -s "Header" [email protected] echo "Body" | mail -s "Header" [email protected]后缀写入我的日志中,他不能parsing我的域后,A或MXlogging 01:22:16:54 markus-pc postfix / error F1C6E2E0C10:to =,orig_to =,relay = none,delay = 360970,delay = 360969 / 0.57 / 0 / 0.02,dsn = 4.4.3,状态=延期(交付暂时中止:未find主机或域名。name = smtp1.example.com的名称服务错误type = AAAA:找不到主机,请重试) Okt 21 22:16:54 markus-pc postfix / error [0434E2E0C0E:to =,relay = […]