可能重复:
Server 2008 Web 版限制
Windows Server 2008 Standard 和 Windows Server 2008 Web 之间有什么区别?
我需要阻止 postfix 中的外部电子邮件地址向我发送电子邮件。这是我无法控制的第三方域名的外部电子邮件地址。
我需要阻止它的原因是因为他们配置错误,我收到一条消息,说“警告,您的消息尚未发送”,每隔一秒左右。我已经联系了他们的技术支持,但他们花了很长时间来修复它,与此同时,我的服务器和我的用户正在受苦。
我试过这样做。在我的 mail.cf 中,我添加了:
smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/sender_access, permit
Run Code Online (Sandbox Code Playgroud)
在 /etc/postfix/sender_access 中,我添加了:
mailfilter@iomart.com REJECT
Run Code Online (Sandbox Code Playgroud)
我跑
postmap hash:sender_access
Run Code Online (Sandbox Code Playgroud)
并重新启动postfix,但似乎没有效果。
我也试过:
smtpd_recipient_restrictions = check_sender_access hash:/etc/postfix/sender_access
Run Code Online (Sandbox Code Playgroud)
在 main.cf 中,失败并出现此错误:
postfix/smtpd[2144]: fatal: parameter "smtpd_recipient_restrictions": specify at least one working instance of: check_relay_domains, reject_unauth_destination, reject, defer or defer_if_permit
Run Code Online (Sandbox Code Playgroud)
试:
smtpd_recipient_restrictions = check_sender_access hash:/etc/postfix/sender_access, permit
Run Code Online (Sandbox Code Playgroud)
给了我同样的错误。
我可以直接更改文件的权限:
# chmod --changes --recursive ug+rwX /var/www/shared/tmp/cache/assets/BA0/280/sprockets%2F286302903364106648b609d708884f78
Run Code Online (Sandbox Code Playgroud)
我还可以更改包含该文件的目录的权限:
# chmod --changes --recursive ug+rwX /var/www/shared/tmp/cache/assets/BA0/280
Run Code Online (Sandbox Code Playgroud)
当我尝试以递归方式更改包含该目录的目录的权限时,出现有关未找到上一个目录的错误:
# chmod --changes --recursive ug+rwX /var/www/shared/tmp/cache/assets/BA0
chmod: getting new attributes of `280': No such file or directory
Run Code Online (Sandbox Code Playgroud)
当前的权限,即使我不知道这有什么影响,看起来像这样:
# ls -alR /var/www/shared/tmp/cache/assets/BA0
/var/www/shared/tmp/cache/assets/BA0:
total 20
drwxrwsr-x 3 rails rails 4096 Jun 4 09:54 .
drwxrwsr-x 569 rails rails 12288 Jun 4 09:54 ..
drwxrwsr-x 2 rails rails 4096 Jun 4 09:54 280
/var/www/shared/tmp/cache/assets/BA0/280:
total 12
drwxrwsr-x 2 rails rails 4096 Jun 4 09:54 .
drwxrwsr-x …Run Code Online (Sandbox Code Playgroud) 我的组织不使用 GSuit,但我们仍想使用 Google Cloud Platform。我使用我的非 gsuit 电子邮件地址在那里注册,并且我有一个可以登录的 GCP 帐户。
我看到了两个可能相关的问题。当我尝试邀请我组织的其他成员使用他们的非 gsuit 非 gmail 电子邮件地址时,我收到此错误:
电子邮件地址和域必须与有效的 Google 帐户或 Google Apps 帐户相关联。
我如何邀请他们成为 Google 或 Google Apps 帐户?
我创建的项目似乎不属于任何组织:
为非 gsuit 公司设置此设置的正确方法是什么?
当我去IAM & Admin> 时Identity and Organization,我看到:
当我尝试注册 Cloud Identity 时,我最终会看到以下屏幕:
感觉就像我正在注册 GSuite,我对它不感兴趣(但我不确定是否是这种情况)。
如果我尝试注册,则会收到此错误:
我必须创建该帐户才能开始使用 Google Cloud Platform,但现在我无法创建组织?这有点令人困惑。
如果我去管理用户或组,这就是我看到的:
我已将本地 IIS 7 指向本地 ASP.Net MVC 项目,除了静态内容外,一切正常。转到http://localhost:8080/Content/Site.css会给我一个 404。我可以在 IIS 管理器上看到该文件夹。
任何想法可能有什么问题?
我希望当人们使用 IP 地址访问我的 Web 服务器时,例如http://10.0.0.1,被重定向到域名,例如http://example.com. 我正在使用 Apache Web Server,并且尝试过:
<VirtualHost 10.0.0.1:80>
Redirect / http://example.com
</VirtualHost>
Run Code Online (Sandbox Code Playgroud)
它生成了一个无限重定向循环,因为它的优先级高于
<VirtualHost *:80>
ServerName example.com
...
</VirtualHost>
Run Code Online (Sandbox Code Playgroud)
这是我最终想要服务的虚拟主机。
我也试过
<VirtualHost 10.0.0.1:80>
ServerName 10.0.0.1
Redirect / http://example.com
</VirtualHost>
Run Code Online (Sandbox Code Playgroud)
认为也许它只会匹配http://10.0.0.1但不会匹配http://example.com。但它也会产生无限循环。任何想法如何实现这一目标?
IP虚拟主机之所以不是主要且唯一的虚拟主机,是因为我希望服务器上的其他IP也能够服务example.com。
您如何在远程服务器中安装 SQL Server,而您无法选择在机器上放置 CD 或 DVD(或让任何人为您安装)?也就是说,拥有 ISO 映像。
我可以考虑安装一个 CD 模拟器,但大多数看起来像讨厌的软件,我不希望在服务器上。
我的 DNS 中有通常的 Google Apps SPF 记录:
v=spf1 include:_spf.google.com ~all
Run Code Online (Sandbox Code Playgroud)
现在,由于我们使用的是 ZenDesk,我还应该添加:
v=spf1 include:support.zendesk.com ~all
Run Code Online (Sandbox Code Playgroud)
它们是否应该像这样合并为一个:
v=spf1 include:_spf.google.com include:support.zendesk.com ~all
Run Code Online (Sandbox Code Playgroud) 我配置 rsyslog 来加载 TLS 模块(与 loggly 对话),但收到此错误:
Jun 20 13:14:00 feynman rsyslogd-2068: could not load module '/usr/lib/rsyslog/lmnsd_gtls.so', rsyslog error -2078
[try http://www.rsyslog.com/e/2068 ]
Run Code Online (Sandbox Code Playgroud)
该页面http://www.rsyslog.com/e/2068表示附近应该有另一个错误消息。至少在 /var/log/syslog 中,这就是我看到的全部:
Jun 20 13:17:01 feynman rsyslogd: [origin software="rsyslogd" swVersion="5.8.6" x-pid="22276" x-info="http://www.rsyslog.com"] start
Jun 20 13:17:01 feynman rsyslogd: rsyslogd's groupid changed to 103
Jun 20 13:17:01 feynman rsyslogd: rsyslogd's userid changed to 101
Jun 20 13:17:01 feynman rsyslogd-2039: Could not open output pipe '/dev/xconsole' [try http://www.rsyslog.com/e/2039 ]
Jun 20 13:17:01 feynman rsyslogd-2068: could not …Run Code Online (Sandbox Code Playgroud) 有两台机器,利润率和修正主义者,我在利润率中创建了一个卷:
root@profitmargin:~# gluster volume info
Volume Name: uploads
Type: Distribute
Status: Started
Number of Bricks: 1
Transport-type: tcp
Bricks:
Brick1: profitmargin:/var/lib/gluster/brick01
Run Code Online (Sandbox Code Playgroud)
在修正主义者中,我将此行添加到 fstab 以在启动时安装它:
profitmargin:/uploads /mnt/uploads glusterfs defaults,_netdev 0 0
Run Code Online (Sandbox Code Playgroud)
但是当计算机启动时它没有安装:
root@revisionist:~# mount
/dev/mapper/revisionist-root on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts …Run Code Online (Sandbox Code Playgroud) 如果我想让我的本地 Windows 用户被识别,我应该在我的工作站中运行的 SQL Server Express 2008 上使用什么“登录”来进行开发?
我看到的选项是“内置帐户”,让我在“本地系统”、“本地服务”或“网络服务”之间进行选择。另一个选项“此帐户”似乎允许我指定用户名和密码,但似乎用户是从系统上的帐户中选择的,我不确定。
我跟着这个教程:
将 Django 应用程序部署到 Google App Engine。它在那里,它正在工作,但我需要运行迁移并创建一个用户。我应该如何manage.py在这些服务器上运行?我找到了如何从 Google Cloud Platform 控制台通过 SSH 连接到它们,但是一旦我进入服务器,我就找不到如何加载正确的 Python 环境和/或运行manage.py.
我还阅读了在 App Engine 柔性环境中运行 Django,它没有解释如何做到这一点,他们的配置文件似乎假设数据库凭据最终会出现在应用程序的 git 存储库中,这是一个很大的问题。我没有这样做,这意味着从我的工作站连接到生产数据库很麻烦。
例如,如果这是 Heroku,我会在我的开发工作站上执行此操作:
heroku run python manage.py migrate
Run Code Online (Sandbox Code Playgroud)
或者
heroku run python manage.py createsuperuser
Run Code Online (Sandbox Code Playgroud)
它会在服务器中执行这些命令。我正在尝试使用 Google App Engine 灵活(以及标准)做同样的事情。
ubuntu ×3
sql-server ×2
apache-2.2 ×1
asp.net-mvc ×1
chmod ×1
django ×1
email ×1
glusterfs ×1
google ×1
iis-7 ×1
linux ×1
permissions ×1
postfix ×1
redirect ×1
rsyslog ×1
security ×1
spf ×1
ssh ×1
tls ×1
ubuntu-12.04 ×1
unix ×1
virtualhost ×1
windows ×1