- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
我正在尝试使用 SSL 配置 postfix。我已经按照本教程进行操作: https://www.cloudjojo.com/how-to-install-mail-server-on-ubuntu-14-04-part2/
我的主.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 = /etc/mailname
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
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_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.
smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
myhostname = street-sport-base
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
# myorigin = /etc/mailname
relayhost =
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all
queue_directory = /var/spool/postfix
mail_owner = postfix
mydomain = street-sport.pl
myorigin = street-sport.pl
mydestination = $myhostname, street-sport-base, localhost.$mydomain, localhost
home_mailbox = Maildir/
sendmail_path = /usr/sbin/sendmail
newaliases_path = /usr/sbin/newaliases
mailq_path = /usr/sbin/mailq
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /etc/postfix
biff = no
virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual-mailbox-domains.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual-mailbox-maps.cf
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual-alias-maps.cf,mysql:/etc/postfix/mysql-virtual-email2email.cf
smtpd_tls_key_file=/usr/local/nginx/ssl/1710371.key
smtpd_tls_cert_file=/usr/local/nginx/ssl/1710371.cert
smtpd_tls_CAfile=/etc/ssl/certs/certificate_and_key.crt
smtpd_use_tls=yes
smtpd_tls_auth_only = no
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_auth_enable = yes
smtpd_recipient_restrictions =
permit_sasl_authenticated,
permit_mynetworks,
reject_unauth_destination
virtual_transport = lmtp:unix:private/dovecot-lmtp
smtpd_tls_security_level = may
smtp_tls_security_level = may
smtp_tls_key_file=/usr/local/nginx/ssl/1710371.key
smtp_tls_cert_file=/usr/local/nginx/ssl/1710371.cert
smtp_tls_CAfile=/etc/ssl/certs/certificate_and_key.crt
smtp_use_tls = yes
smtpd_tls_received_header = yes
smtpd_tls_ask_ccert = yes
smtpd_tls_loglevel = 1
tls_random_source = dev:/dev/urandom
大师.cf
submission inet n - y - - smtpd
-o syslog_name=postfix/submission
-o smtpd_tls_security_level=encrypt
-o smtpd_sasl_auth_enable=yes
# -o smtpd_reject_unlisted_recipient=no
-o smtpd_client_restrictions=permit_sasl_authenticated,reject
# -o smtpd_helo_restrictions=$mua_helo_restrictions
# -o smtpd_sender_restrictions=$mua_sender_restrictions
# -o smtpd_recipient_restrictions=
# -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
-o milter_macro_daemon_name=ORIGINATING
smtps inet n - y - - smtpd
-o syslog_name=postfix/smtps
-o smtpd_tls_wrappermode=yes
-o smtpd_sasl_auth_enable=yes
# -o smtpd_reject_unlisted_recipient=no
-o smtpd_client_restrictions=permit_sasl_authenticated,reject
# -o smtpd_helo_restrictions=$mua_helo_restrictions
# -o smtpd_sender_restrictions=$mua_sender_restrictions
# -o smtpd_recipient_restrictions=
# -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
-o milter_macro_daemon_name=ORIGINATING
当我将消息从控制台发送到我的 gmail 邮箱时,消息已送达,但已进入垃圾邮件。 Gmail 表示此邮件具有标准的 tsl 加密(灰锁)。我究竟做错了什么?我需要完全加密,确保电子邮件不会变成垃圾邮件。
文件 1710371.key 只包含 key 文件 1710371.cert 包含我的域的证书文件 certificate_and_key.crt 包含我的域的证书、 key 和两个中间证书:1. http://repository.certum.pl/hsha2.pem2. http://repository.certum.pl/gscasha2.pem
最佳答案
如果您想使用比“标准 TLS 加密”更好的东西,您需要使用 S/MIME 形式的端到端加密。端到端意味着从邮件发件人到收件人,这意味着这只能通过您的邮件客户端进行,而不能通过您的邮件服务器进行,这只是一个跃点,而不是邮件传输的端点。
参见 Google Help了解各种符号的含义以及您需要做什么才能拥有 S/MIME。
I need full encrytion that emails doesn't go to spam.
只有一小部分邮件使用 S/MIME。应该可以使用标准的 TLS 加密或根本不加密而不被归类为垃圾邮件。更有可能的是你的服务器在一些早期发送垃圾邮件的黑名单上,你正试图从一个普通的私有(private)系统(即 DSL、电缆或类似的而不是互联网上的真实服务器)发送邮件,其他东西被弄乱了根据您的设置或只是根据内容将您尝试发送的邮件视为垃圾邮件。
关于ubuntu - Postfix SSL 不工作,邮件变成垃圾邮件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50100542/
关闭。这个问题是 off-topic 。它目前不接受答案。 想改进这个问题? Update the question 所以它是 Stack Overflow 的 on-topic。 9年前关闭。 Im
我使用 postfix 作为“myDomain.com”的邮件服务器。此外,我已经为 gmail 安装了转发服务。到目前为止效果很好。但是当有人向我发送电子邮件时,例如一个可执行文件,gmail 会退
我已经回答了我自己的问题,稍后可能会更新这个问题以反射(reflect)我的出发点/我为获得解决方案所采取的步骤,但我想我会问一个我开始的问题和采取的结果我花费了不合理的大量时间进行研究,反复试验。请
是否有可能在 /etc/postfix/recipient_bcc_maps 中有多个收件人? ? /etc/postfix/recipient_bcc_maps : source@domain.tl
关闭。这个问题不满足Stack Overflow guidelines .它目前不接受答案。 想改善这个问题吗?更新问题,使其成为 on-topic对于堆栈溢出。 3年前关闭。 Improve thi
已关闭。这个问题是 off-topic 。目前不接受答案。 想要改进这个问题吗? Update the question所以它是on-topic用于堆栈溢出。 已关闭10 年前。 Improve th
关闭。这个问题是off-topic .它目前不接受答案。 想改进这个问题吗? Update the question所以它是on-topic用于堆栈溢出。 关闭 9 年前。 Improve this
关闭。这个问题是off-topic .它目前不接受答案。 想改进这个问题吗? Update the question所以它是on-topic用于堆栈溢出。 关闭 11 年前。 Improve th
Closed. This question does not meet Stack Overflow guidelines。它当前不接受答案。 想改善这个问题吗?更新问题,以便将其作为on-topic
关闭。这个问题是off-topic .它目前不接受答案。 想改善这个问题吗? Update the question所以它是 on-topic对于堆栈溢出。 8年前关闭。 Improve this q
似乎我的全能别名不起作用。 当我使用 postmap -q test@example.org mysql:/etc/postfix/mysql-virtual-alias-maps.cf 没有输出。
我正在编写一个程序,它读取 Infix 表示法,将其转换为 Postfix,然后评估该 Postfix。这是我的程序: #include #include #define SIZE 50
大家好!我是 C++ 的新手(这里也是 stackoverflow 的新手),我需要各位专家的帮助。 我这里有一个代码,它应该向用户询问中缀表达式,然后将其转换为后缀并输出结果(后缀计算器)。但是,我
我正在尝试让 postfix 将邮件发送到 gmail。我已经按照这篇文章进行了配置,但仍然给我一个错误: relay=smtp.gmail.com[173.194.66.108]:587, dela
我正在使用 postfix v3.3.0 设置新服务器 (Ubuntu 18.04.1 LTS)。 我遵循了 postfix 到只发送设置的标准部署。 http://www.postfix.org/S
我的客户是一家旅行社,有数千封选择加入的电子邮件(没有垃圾邮件)。他们每周向所有客户发送一次消息,但我遇到了一些供应商的问题,我想对所有传出域的整个服务器进行速率限制。 我发现一些配置可以限制每个域每
我一直在尝试设置 postfix,以便它可以向我网站上的用户发送(不需要接收)电子邮件(例如帐户验证电子邮件)。 我通过 mailutils 安装 postfix(安装 postfix 和其他东西)。
突然我打破了我的后缀: 我正在运行,CentOs,Postfix,Dovecot。 我的 Postfix main.cf 文件:http://pastebin.com/STLNRYUK hostnam
关闭。这个问题是off-topic .它目前不接受答案。 想改善这个问题吗? Update the question所以它是 on-topic对于堆栈溢出。 8年前关闭。 Improve this q
我不确定我这样做是否正确。我正在尝试将中缀方程转换为后缀方程,例如: (3 + 4) * 2 在后缀中是: 4 3 + 2 * 如果可能的话,我试图用一种方法来完成这一切。 现在我收到一个 array
我是一名优秀的程序员,十分优秀!