- Remove From My Forums
Проверка свободного места на дисках и отправка на почту
-
Вопрос
-
Добрый день ,может есть у кого скрипт который делает :
Проверяет свободное место на на всех дисках которые есть и отправляет отчет :
Тема письма : %Имя сервер% (место на дисках)
тело письма :
Диск С: свободно ХХХ%
Диск Д: свободно ХХХ%
итд.
Заранее благодарен.
Сначала Вас игнорируют, потом над Вами смеются, потом с Вами борются, а затем Вы победили.
Ответы
-
А поставить на серверах квоту — не позволяет религия?
Система сама будет отсылать отчеты о свободном месте и распределении файлов.
-
Помечено в качестве ответа
14 июня 2012 г. 11:57
-
Помечено в качестве ответа
-
У меня очень много точек продаж , нужно контролировать место на дисках , вот и подумал что скриптом сделать .
вот к тому и спрашивал, как выше верно заметили, правильнее будет использовать квоты. FSRM начиная с 2003R2 позволяет отслеживать размер папок и места на дисках реалтайм, отправлять отчеты и предупреждения по почте и тд и при грамотной настройке вообще возложить
большую часть проблем с контролем места на самих пользователей.-
Помечено в качестве ответа
MR.Minion
14 июня 2012 г. 11:57
-
Помечено в качестве ответа
-
Нужно создать на эксчейнже такого пользователя дать соответствующие права.
То есть адрес, с которого Вы шлете уведомления, должен существовать в организации.
-
Помечено в качестве ответа
MR.Minion
17 июня 2012 г. 9:31
-
Помечено в качестве ответа
check
Best Answer
I had to go back and look at our setup.
It appears FSRM does not allow you specify authentication settings when configuring SMTP and requires an open relay SMTP server.
You could add the IIS/SMTP role to an internal server and use that to forward to the Google SMTP server.
1 found this helpful
thumb_up
thumb_down
View Best Answer in replies below
9 Replies
-
Your SMTP server requires credentials for authentication.
Is the SMTP server internal or external?
Was this post helpful?
thumb_up
thumb_down
-
Have you done/checked port entry for email configured with 587 (or 465.).
Was this post helpful?
thumb_up
thumb_down
-
(InkMaster) The SMTP server is external (google)
(Ishwar) I’ve used Telnet to connect to port 25 and that worked except when I got to STARTTLS it would disconnect a few seconds after TLS began.
Was this post helpful?
thumb_up
thumb_down
-
I had to go back and look at our setup.
It appears FSRM does not allow you specify authentication settings when configuring SMTP and requires an open relay SMTP server.
You could add the IIS/SMTP role to an internal server and use that to forward to the Google SMTP server.
1 found this helpful
thumb_up
thumb_down
-
How does one go about adding that role? That seems to be the best bet at this point
Was this post helpful?
thumb_up
thumb_down
-
Assuming Windows Server 2008 or 2012 —
Add Role — SMTP Server. It will include any prerequisites when you select it and click next.
Was this post helpful?
thumb_up
thumb_down
-
Okay I’m installing the role. Will test tomorrow after I restart the server tonight and let you know how it goes.
Was this post helpful?
thumb_up
thumb_down
-
InkMaster Restarting and setting up IIS/SMTP worked! Thank you so much!
Was this post helpful?
thumb_up
thumb_down
-
Awesome. Glad to help!
Was this post helpful?
thumb_up
thumb_down
I’m trying to setup «Email Notifications» on one of our File Servers (STOR350). This is what I’ve done so far without any luck of it working.
Exchange 2013 — I’ve created a Receive Connector called «Internal-Relay». Keep in mind this connector works with other servers needing to send emails.
Security: Transport Layer Security (TLS)
Permission groups: Exchange users/Anonymous users
Remote network settings: ###.##.###.## (our file server’s IP)
Network Adapter bindings: (All available IPv4) Port 2525
File Server (STOR350) — File Server Resource Manager Options
SMTP IP address = xxx.xx.xxx.xx
Default administrator recipient = me@domain.com
Default «From» email address = me@domain.com
Selected Test E-mail = Received the following error…
Error: IFsrmEmailExternal::SendMail, 0x8004531c, Mailbox unavailable. The server response was: 5.7.1 Client does not have permissions to send as this sender
I’ve seen on the web that I need to add «Send As» permissions, I did that and it hasn’t made a difference either.
Add-Adpermission -Identity me@domain.com -user «domain.comstor350$» -extendedrights «Send-as»
Fun fact… In the Windows 2003 world we didn’t have to do anything at all on either the Exchange server or the file server rather than specify the obvious settings in “File Server Resource Manager”.
File Server (STOR350) — Win2008 R2
Exchange Server — Win2012/Ex2013 build 1076.9/GFI MailEssentials/No Antivirus
Skip to content
I was working on FSRM (File Server Resource Manager) today and I was trying to get e-mail notifications working. Using the test button, the following error appeared:
Further investigation in the Windows (application)eventlog showed me the following information:
A File Server Resource Manager Service email action could not be run.
Error-specific details:
Error: IFsrmEmailExternal::SendMail, 0x8004531c, Mailbox unavailable. The server response was: 5.7.1 Client does not have permissions to send as this sender
As it turns out you need give send permissions to the computer running FSRM. You need set this send permission on the mailbox you specified in the “Default From e-mail address”. To do this, type the following command from the Exchange Management Shell:
Add-ADPermission -Identity "MailboxName" -User "DOMAINComputeraccount$" -ExtendedRights "Send-as"
After setting this send permission the error no longer occurred!
Maarten
Hi, I am Maarten and I am the owner of this weblog. I post on various IT subjects that matter in my life as an IT professional.
Recent Posts
FSRM can’t send email notification
so I’ve tried every link on the first 2 pages of google that comes close to this error message.
error: ifsrmemailexternal::sendmail, 0x8004531c, the smtp server requires a secure connection or the client was not authenticated. The server response was: 5.7.1 Client was not authenticated.
yes I did the command line
Add-Adpermission -Identity «backup» -user «DomainClusternode1$» -extendedrights «Send-as»
I also changed the receive connector to allow basic authentication and anonymous users and still didn’t work
using ws2012 r2 (what’s fsrm running on)
exchange 2013
Any help from you wizards would be appreciated.
Archived post. New comments cannot be posted and votes cannot be cast.
On Fri, 15 Oct 2010 11:47:30 +0000, Trikz wrote:
>Thanks for your prompt replies. I have tried both of your suggestions one at a time — but none of them make any difference.
>
>Interestingly though, I did a manual Telnet to port 25 default connector to test smtp communication using the same mail from: address and rcpt to: as those I have set in FSRM and it works fine. I have tried another new 2008 R2 server with FSRM and that
also fails with same errors — despite creating a separate recv connector, focused to the single IP address of the FSRM server, set to allow Anonymous, No authentication boxes ticked.
>
>I wish I could be done with this! I am beginning to wonder if this is an issue with FSRM?
So you have a 2nd Receive Connector now? And the IP Range is set to
only the IP address of the FSRM server? If so, try turning off ALL
authentication except «anonymous».
It may be that FSRM will try to authenticate using some other scheme
if it sees the AUTH keyword.
I’d also check the SMTP receive protocol log to verity that FSRM is
connecting to the new receive connector. If it isn’t then you’ve got
the remote ip range on the connetor incorrect.
You may do better to ask this question in one of the O/S forums. Maybe
someone has already done this and knows a way to make this work.
—
Rich Matheisen
MCSE+I, Exchange MVP
— Rich Matheisen MCSE+I, Exchange MVP
-
Marked as answer by
Saturday, October 16, 2010 8:03 PM
-
Unmarked as answer by
Trikz
Saturday, October 16, 2010 8:03 PM -
Marked as answer by
Trikz
Saturday, October 16, 2010 8:15 PM
File Server Resource Manager — SMTP cannot send email to Exchange Server 2010
Problem:
Event ID: 12306
Event Source: SRMSVC
Event Viewer Application logs:
A File Server Resource Manager Service email action could not be run.
Error-specific details:
Error: IFsrmEmailExternal::SendMail, 0x8004531c, Mailbox unavailable. The server response was: 5.7.1 Client does not have permissions to send as this sender.
Solution:
As of WS08 R2, FSRM attempts to authenticate against an Exchange Server using the computer account (domaincomputername$ format) account of the server. This computer account must be granted send as permissions on the mailbox that you are trying to send as, or it will fail with this error (where the same configuration will work on WS03 R2 without failing, assuming your receive connectors are already configured correctly).
I ran the following Powershell command on my Exchange 2010 server to grant the necessary permissions on the mailbox I was trying to send as, after which it began working:
Add-ADPermission -Identity «Mailbox Display Name» -user «DomainServerName$» -extendedrights «Send-as»
You can also substitute by using a domain group that contains the server computer accounts you want to allow.
FSRM 2008 R2 — Error ID: 12306 Source: SRMSVC!!!
При настройке «Email Notification» на очередном серваке столкнулся с проблемой, при нажатии «Send Test E-mail» вывалилось окно с ошибкой.
Полез смотреть «Application event log», а там вот так:
Решение проблемы помогли найти коллеги net_andy и blic дав ссылку на форм, где подобное явление уже обсуждалось.
Решение проблемы простое. В редакторе реестра открываем ветку «HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlLsa» и создаем параметр «DWORD» с именем «LmCompatibilityLevel» и значением «2».