尝试登录到中央 syslog 服务器,或者直接使用 Apache 的 ErrorLog 管道到记录器,或者让 syslog 转发,但没有任何工作,并且错误对我来说没有意义。我可以让自定义日志工作,但不能让 ErrorLog 工作。在 Ubuntu 14.04 和 rsyslogd 7.4.4 上使用 Apache/2.4.7。
在我的 vhost 中配置(记录器选项后有和没有空间没有区别):
LogLevel warn
ErrorLog "|/usr/bin/tee -a /var/log/apache2/error.log | /usr/bin/logger -tapache_err -plocal1.error"
CustomLog "|/usr/bin/logger -p local4.warning -t apache" combined
Run Code Online (Sandbox Code Playgroud)
然后得到这个错误:
/usr/bin/tee: invalid option -- 't'
Run Code Online (Sandbox Code Playgroud)
也试过(有和没有双引号):
ErrorLog "|syslog:local1"
Run Code Online (Sandbox Code Playgroud)
但后来得到:
(2)No such file or directory: AH00089: Couldn't start ErrorLog process 'syslog:local1'.
AH00015: Unable to open logs
Run Code Online (Sandbox Code Playgroud)
甚至尝试过:
ErrorLog "| /usr/bin/tee -a /var/log/apache2/error.log | nc -u -j xxx.xxx.xxx.xxx 514"
Run Code Online (Sandbox Code Playgroud)
但随后 tee 仍在抱怨:
/usr/bin/tee: …Run Code Online (Sandbox Code Playgroud) 多年来,我一直在发送电子邮件,没有任何严重的声誉冲击,但 IP 数量很少(没有群发邮件或自动交易电子邮件),即使有多个域名也是如此。
我的 Gmail 送达率一般,但是我的 hotmail/outlook.com/live.com 和 mail.com 的送达率很差,总是被接受,然后被限制在垃圾邮件文件夹中。
我的发件人主机的 rDNS 设置适当,我是 JMRP 和 SNDS 程序的成员,发送的邮件收到 SPF 和 DKIM 的“PASS”,我的 SenderScore 为 100...
如果没有支付注册 Return Path Certified 的费用(这可能会因为多个域名而失败),任何人都可以提供任何建议,让人们可以在哪里寻找阻碍我前进的线索?
我一直在摆弄main.cf文件很长时间,但仍然找不到原因。我已经使用本教程在 CentOS 7 上使用 Postfix、Dovecot 和 MariaDB设置了电子邮件服务器
这是关于 postfix 的部分:
myhostname = server.example.com
mydestination = localhost, localhost.localdomain
mynetworks = 127.0.0.0/8
inet_interfaces = all
message_size_limit = 30720000
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_mailbox_base = /home/vmail
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_sasl_authenticated_header = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_use_tls = yes
smtpd_tls_cert_file = /etc/pki/dovecot/certs/dovecot.pem
smtpd_tls_key_file = /etc/pki/dovecot/private/dovecot.pem …Run Code Online (Sandbox Code Playgroud) 路由器不转发具有链路本地地址的数据包。
我想知道的是:如果目标是链接本地地址,那是有道理的,但是如果我有一个只有链接本地地址的盒子试图到达全局/站点范围地址怎么办?流量可以返回,还是会失败,因为返回的数据包将发送到链路本地地址?
每当我将文件上传到运行 VSFTP 的 FTP 服务器时,其文件权限默认为 600 ( rw-------)。如何将其更改为 775 ( rwxr-xr-x)?
我们的邮件服务器是一个带有 Postfix/Dovecot 组合的 Ubuntu 服务器盒。我们使用正确的证书启用了 starttls,一切正常。
我们的很多用户都使用 Thunderbird 来通过 IMAP 检索邮件。Thunderbird 尝试猜测我们服务器的配置(或自动检测它),但总是失败,导致我们的用户需要手动提供设置。
我们应该采取哪些步骤来“帮助”雷鸟并启用自动配置?

为什么是“非权威”?甚至当我寻找yahoo.com的IP与ns3.yahoo.com我得到Non-authoritative answer。
为什么雅虎服务器保留 stackoverflow 的 ip?如果不是从ns3.yahoo.com哪里获得 stackoverflow 的 ip ?
我最近在我们的一个 nginx 网络服务器上安装了一个自签名 SSL 证书。如果我尝试 wget 一个文件,--no-check-certificate我会收到以下错误。您可以使用浏览器访问该站点,浏览器会识别出它是自签名的,并且证书会显示所有正确的信息。似乎基于我应该找到一种方法在本地信任证书的消息,但这不会破坏--no-check-certificate的目的吗?
$ wget https://www.example.com/index.html --no-check-certificate
--2015-02-20 14:13:58-- https://www.example.com/index.html
Resolving example.com... 192.0.2.1
Connecting to example.com|192.0.2.1|:443... connected.
WARNING: cannot verify example.com’s certificate, issued by “/C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=COMODO RSA Domain Validation Secure Server CA”:
Unable to locally verify the issuer’s authority.
WARNING: no certificate subject alternative name matches
requested host name “example.com”.
HTTP request sent, awaiting response... Read error (Connection reset by peer) in headers.
Retrying.
Run Code Online (Sandbox Code Playgroud)
任何想法将不胜感激。
在我的 Postfix 上,我试图拒绝使用本地管理域中的虚假地址的发件人。但我只想对本地域进行检查,而不是对每个发件人进行检查。
所以如果example.com在本地管理,我想阻止unknown_address@example.com和让known_address@example.com和anything@gmail.com通过。
我查看了smtpd_sender_restrictions,reject_unverified_sender但我不知道如何仅对本地域进行检查。
MySQL 使用了太多内存,并且从不释放其中的一部分。
尽管 show full processlist 显示所有线程都处于休眠状态,但内存使用率过高。我还看到一些 mysql 命令(通过 htop)运行了 36 小时。
我的服务器是专用服务器,具有以下规格:
/etc/my.cnf:
[mysqld]
max_connect_errors = 800
max_allowed_packet = 64M
federated
max_connections = 300
skip-name-resolve
skip-host-cache
key_buffer_size=1G
thread_cache=16
table_cache=2048
key_buffer=1024M
myisam_repair_threads=2
sort_buffer_size=4M
read_buffer_size=2M
join_buffer_size=2M
query_cache_size=2048M
query_cache_limit=8M
read_rnd_buffer_size=1M
myisam_sort_buffer_size=64M
symbolic-links=0
[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
Run Code Online (Sandbox Code Playgroud)
mysql报告
__ Key _________________________________________________________________
Buffer used 134.39M of 1.00G %Used: 13.12
Current 289.81M %Usage: 28.30
Write hit …Run Code Online (Sandbox Code Playgroud) linux ×3
postfix ×3
dovecot ×2
apache-2.4 ×1
centos ×1
email ×1
ftp ×1
ipv6 ×1
link-local ×1
mysql ×1
networking ×1
nslookup ×1
openssl ×1
permissions ×1
pipe ×1
rsyslog ×1
smtp ×1
spam ×1
ssl ×1
thunderbird ×1
vsftpd ×1
wget ×1