在 Windows 2008 R2 服务器(标准版)上,我需要安装一个网络驱动器,而无需特定用户先登录机器。有点像Unix 机器上的NFSmount via fstab。网络驱动器将通过 BlackArmor(希捷)设备(我认为它运行 Samba)共享。如果需要,设备可以是域的成员。
到目前为止,我已经尝试使用Edit Group Policy-> Configuration-> Windows-> Scripts->Startup我让它执行的地方
net use x: \\server\share /user:username password
Run Code Online (Sandbox Code Playgroud)
没有成功。登录后,网络驱动器在 Windows 资源管理器上被视为断开连接的网络驱动器。
我的服务器正在发送垃圾邮件,但我无法找出发送它们的脚本。
电子邮件全部来自nobody@myhostcpanel,nobody因此不应被允许发送电子邮件
现在至少他们没有出去,我一直在接待他们。这是我收到的邮件:
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:
eckert@clearfieldjeffersonredcross.org
Mail sent by user nobody being discarded due to sender restrictions in WHM->Tweak Settings
------ This is a copy of the message, including all the headers. ------
Return-path: <nobody@cpanel.myserver.com>
Received: from nobody by cpanel.myserver.com with local (Exim 4.80)
(envelope-from <nobody@cpanel.myserver.com>)
id 1UBBap-0007EM-9r
for eckert@clearfieldjeffersonredcross.org; Fri, 01 Mar …Run Code Online (Sandbox Code Playgroud) 有问题的设置如下:运行 VirtualBox 的 Windows 7 64 位主机。来宾计算机运行的是 Windows XP 32 位。
主机盒断电后,来宾机器无法启动并抱怨
粒度表和备份粒度表不一致
无需重新安装即可启动来宾计算机的任何帮助表示赞赏。
PS:什么是谷物表?
我正在尝试使 postfix 正常工作,当我使用它进行测试时,mail user我输入了主题、消息等并收到以下错误:
mail: /usr/sbin/sendmail: No such file or directory
Can't send mail: sendmail process failed
Run Code Online (Sandbox Code Playgroud)
为什么要谈论sendmail?我很久以前删除了它并且正在使用后缀。它是否仍在某处徘徊并且邮件命令认为它应该使用sendmail?
我有一位客户抱怨标记为垃圾邮件的电子邮件。
我在看标题。它显示了正确的发件人:reg@company.com
但是,它不喜欢返回路径。
Return-Path: <apache@servername.mycompany.com>
Received-SPF: neutral (google.com: x.x.x.x is neither permitted nor denied by domain of apache@servername.mycompany.com) client-ip=x.x.x.x;
Authentication-Results: mx.google.com; spf=neutral (google.com: x.x.x.x is neither permitted nor denied by domain of apache@servername.mycompany.com) smtp.mail=apache@servername.mycompany.com
Run Code Online (Sandbox Code Playgroud)
如何配置 sendmail 以将发件人地址用于返回路径?
我正在使用提供商邮件托管来发送电子邮件。在我的网络服务器上,我还运行并配置了 Postfix。这是我的main.cf
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no
append_dot_mydomain = yes
readme_directory = no
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
myhostname = 2-5-8.bih.net.ba
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = bhcom.info, 2-5-8.bih.net.ba, localhost.bih.net.ba, localhost
relayhost =
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_command =
mailbox_size_limit = 10485760
recipient_delimiter = +
inet_interfaces = 80.65.85.114
Run Code Online (Sandbox Code Playgroud)
当我尝试向我的托管域名发送电子邮件时,每封邮件都会因以下错误而被退回:
Nov 4 20:38:34 2-5-8 postfix/pickup[802]: 1492A3E0C6C: uid=0 from=<razvoj@bhcom.info>
Nov 4 20:38:34 2-5-8 postfix/cleanup[988]: 1492A3E0C6C: message-id=<20121104193834.1492A3E0C6C@2-5-8.bih.net.ba>
Nov 4 20:38:34 2-5-8 …Run Code Online (Sandbox Code Playgroud) 我注意到我们的一台服务器(运行 Ubuntu)可以使用简单的“sendmail”命令将邮件发送到任何域(yahoo.com、gmail.com)。
但我无法弄清楚如何在新服务器中配置类似的设置。我在第一台服务器中看不到任何文件,例如“/etc/mail/sendmail.cf”。
这是如何运作的 ?它是否使用其他一些 SMTP 服务器来进行实际的邮件传递?我在哪里可以找到这些设置?
使用哪个 VNC?真、超、紧?服务器计算机是运行 Exchange 2010 的 Windows 2008 R2,只需一名管理员即可连接到它。客户端机器将是 Windows 7 机器。
如果成本小,那就更好了。
先感谢您。
我正在网上搜索以找到配置 Postfix 的最佳方法。
我不想安装完整的 Postfix 服务器,我唯一想要的就是使用 PHP mail() 发送邮件。我知道这可能很棘手,垃圾邮件发送者喜欢错误配置的邮件服务器。所以,我正在寻找最好的方法来做到这一点。
我找到的最好的文档是Archlinux one。
但是在几个博客上我发现了一些像这样更棘手的配置
myhostname = foo.me
mydestination = localhost
mynetworks = 127.0.0.0/8
myorigin = /etc/mailname
mydestination = sd-24300.com , localhost
mail_owner = postfix
smtpd_recipient_restrictions =reject_unknown_sender_domain,reject_non_fqdn_sender,reject_unknown_recipient_domain,reject_non_fqdn_recipient,permit_mynetworks,reject_unauth_destination,permit
smtpd_data_restrictions =reject_unauth_pipelining,permit
inet_interfaces = loopback-only
Run Code Online (Sandbox Code Playgroud)
所以我的问题很简单,最好的方法是什么?最好的我的意思是更安全的。
Ps:我的服务器运行带有 LAMP 的 Ubuntu 12.04
我正在运行 Postfix Sendmail 2.6.6 并且我的 SMTP 日志似乎只能返回一个月。如何配置它以将日志保留更长的时间?
顺便说一句,我指的是 \var\logs\maillog* 中的日志
postfix ×4
linux ×3
smtp ×3
sendmail ×2
centos ×1
cifs ×1
debian ×1
email ×1
exim ×1
ldap ×1
return-path ×1
security ×1
spam ×1
ubuntu ×1
ubuntu-12.04 ×1
virtualbox ×1
vnc ×1
windows ×1
windows-7 ×1
windows-xp ×1