PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > ms..win.server.scripting > RE: dag nap it I'm stumped
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
RE: dag nap it I'm stumped

Réponse
 
LinkBack Outils de la discussion
Vieux 01/10/2007, 14h02   #1 (permalink)
J Ford
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut RE: dag nap it I'm stumped

Well depending on how your smtp/exchange server is setup it requires domain
authentication. Instead of running as system through a schedule task set it
up to run as a domain user.

"tonyr" wrote:

> I have the following single line script running from a w2k3 server
> Send-SmtpMail -SmtpHost a.b.com -To dope@b.com -From dope@b.com
> -subject "tm down"
>
> if I run it as a user it works fine if I try to run it as a scheduled tasks
> as "system" nothing happens!
>
> any ideas?
> thanks
> tr
>

  Réponse avec citation
Vieux 01/10/2007, 15h47   #2 (permalink)
tonyr
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut RE: dag nap it I'm stumped

yea unfortuantely this particular smtp server does not require
authentication! So I'm still stumped..
thanks
tr


"J Ford" wrote:

> Well depending on how your smtp/exchange server is setup it requires domain
> authentication. Instead of running as system through a schedule task set it
> up to run as a domain user.
>
> "tonyr" wrote:
>
> > I have the following single line script running from a w2k3 server
> > Send-SmtpMail -SmtpHost a.b.com -To dope@b.com -From dope@b.com
> > -subject "tm down"
> >
> > if I run it as a user it works fine if I try to run it as a scheduled tasks
> > as "system" nothing happens!
> >
> > any ideas?
> > thanks
> > tr
> >

  Réponse avec citation
Vieux 03/10/2007, 04h01   #3 (permalink)
uSlacker
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: dag nap it I'm stumped

tonyr wrote:
> yea unfortuantely this particular smtp server does not require
> authentication! So I'm still stumped..
> thanks
> tr
>
>
> "J Ford" wrote:
>
>> Well depending on how your smtp/exchange server is setup it requires domain
>> authentication. Instead of running as system through a schedule task set it
>> up to run as a domain user.
>>
>> "tonyr" wrote:
>>
>>> I have the following single line script running from a w2k3 server
>>> Send-SmtpMail -SmtpHost a.b.com -To dope@b.com -From dope@b.com
>>> -subject "tm down"
>>>
>>> if I run it as a user it works fine if I try to run it as a scheduled tasks
>>> as "system" nothing happens!
>>>
>>> any ideas?
>>> thanks
>>> tr
>>>


Isn't the local system account restricted from accessing the network?

\\uSlacker
  Réponse avec citation
Vieux 03/10/2007, 04h25   #4 (permalink)
tonyr
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: dag nap it I'm stumped


yep knew that forgot that thanks for reminding me again!!
tr

"uSlacker" wrote:

> tonyr wrote:
> > yea unfortuantely this particular smtp server does not require
> > authentication! So I'm still stumped..
> > thanks
> > tr
> >
> >
> > "J Ford" wrote:
> >
> >> Well depending on how your smtp/exchange server is setup it requires domain
> >> authentication. Instead of running as system through a schedule task set it
> >> up to run as a domain user.
> >>
> >> "tonyr" wrote:
> >>
> >>> I have the following single line script running from a w2k3 server
> >>> Send-SmtpMail -SmtpHost a.b.com -To dope@b.com -From dope@b.com
> >>> -subject "tm down"
> >>>
> >>> if I run it as a user it works fine if I try to run it as a scheduled tasks
> >>> as "system" nothing happens!
> >>>
> >>> any ideas?
> >>> thanks
> >>> tr
> >>>

>
> Isn't the local system account restricted from accessing the network?
>
> \\uSlacker
>

  Réponse avec citation
Vieux 03/10/2007, 17h29   #5 (permalink)
tonyr
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: dag nap it I'm stumped

ah crap thought I new that, but i fixed the powershell issue and now the
command runs fine as "system".

"tonyr" wrote:

>
> yep knew that forgot that thanks for reminding me again!!
> tr
>
> "uSlacker" wrote:
>
> > tonyr wrote:
> > > yea unfortuantely this particular smtp server does not require
> > > authentication! So I'm still stumped..
> > > thanks
> > > tr
> > >
> > >
> > > "J Ford" wrote:
> > >
> > >> Well depending on how your smtp/exchange server is setup it requires domain
> > >> authentication. Instead of running as system through a schedule task set it
> > >> up to run as a domain user.
> > >>
> > >> "tonyr" wrote:
> > >>
> > >>> I have the following single line script running from a w2k3 server
> > >>> Send-SmtpMail -SmtpHost a.b.com -To dope@b.com -From dope@b.com
> > >>> -subject "tm down"
> > >>>
> > >>> if I run it as a user it works fine if I try to run it as a scheduled tasks
> > >>> as "system" nothing happens!
> > >>>
> > >>> any ideas?
> > >>> thanks
> > >>> tr
> > >>>

> >
> > Isn't the local system account restricted from accessing the network?
> >
> > \\uSlacker
> >

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 03h44.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,11283 seconds with 13 queries