RE: [SA-list] SMTP sends to wrong IP

2006-12-05 Thread Dolinar, Jon
Can you do an ALT print screen while you have the email setup window selected in SA and then do paste? Just to make sure on something. From: Servers Alive Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Bob Ianson Sent: Tuesday, December 05, 2006 5:25 PM To: Servers Alive Disc

RE: [SA-list] AD Scripting

2006-12-05 Thread Vogl, Tom
Whoops. Typo. The SAMPLE QUERY should read: SELECT * FROM OPENQUERY( ADSI, 'SELECT name, adsPath FROM ''LDAP://DC={companynameinAD},DC=com'' WHERE objectCategory = ''Person'' AND objectClass= ''user''') (and >NOT< ADSI2 as shown below). Also - make sure you use your

RE: [SA-list] AD Scripting

2006-12-05 Thread Vogl, Tom
Anyone familiar with the "LINKED SERVERS" capability of SQL 2000 and later? Two quick lines of code and you can query Active Directory like a SQL database. Then you can write all your AD checks and SQL COM checks. 1) Create the link (run once) sp_addlinkedserver 'ADSI', 'Active Direc

Re: [SA-list] SMTP sends to wrong IP

2006-12-05 Thread Bob Ianson
mail.cableone.net (http://mail.cableone.net) requires authentication in order to send mail and I have configured the username/password into SA. The email address that I am sending to is [EMAIL PROTECTED] (mailto:[EMAIL PROTECTED]). The nslookup of mail.cableone.net (http://mail.cableone.net) r

RE: [SA-list] SMTP sends to wrong IP

2006-12-05 Thread Dolinar, Jon
If the send direct is not set then it (SA) would just forward the email to mail.cableone.net and it would then do the MX resolution to find the message path. From: Servers Alive Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Michael Shook Sent: Tuesday, December 05, 2006 4:40 PM To:

RE: [SA-list] SMTP sends to wrong IP

2006-12-05 Thread Michael Shook
Well if you do an ANY lookup on cableone.net it shows that the MX records point to a 3rd party. So, mail.cableone.net must be the final mailserver, not the frontend server. I wonder, Dirk, do you use the DNS raw output for the mailserver or do you request the ip of the recipients supposed mai

RE: [SA-list] SMTP sends to wrong IP

2006-12-05 Thread Dolinar, Jon
Does mail.cableone.net allow non authenticated clients to relay email? Outlook may work because you are authenticated. Also what is the email address you are sending to from SA? When you do an nslookup of mail.cableone.net from SA what does it return (sorry if this was sent before). If it resolv

Re: [SA-list] SMTP sends to wrong IP

2006-12-05 Thread Bob Ianson
You may be on to something here. The problem is not related to the receipent's email domain (since I am not using 'Send direct' in SA), but rather in resolving the IP address of the mail server ( mail.cableone.net (http://mail.cableone.net)). SA seems to resolve mail.cableone.net (http://mail

RE: [SA-list] AD Scripting

2006-12-05 Thread Dolinar, Jon
Well here is a quick Vbscript thrown together and chopped from other scripts to count locked out users. You may need to tweak it for your environment. In SA you can create an external error level check for now and alarm when the error returned by wscript ReturnLocked.vbs is > 0 Th

RE: [SA-list] AD Scripting

2006-12-05 Thread Dirk Bulinckx
It will indeed be like the convertion scripting. And it will be as a COM check. I just want to see some examples so I can determine some scenario's and see what can fit them all. Dirk Bulinckx. From: Ser

RE: [SA-list] AD Scripting

2006-12-05 Thread Michael Shook
oh, I see. Hmm What if you set it up like you have now with the conversion scripting? As far as pass back, I suppose you could go one of 3 ways: 1) treat it as a external errorlevel check, have the SA GUI determine UP/DOWN from the errorlevel, then use a translation script to turn

RE: [SA-list] AD Scripting

2006-12-05 Thread Dirk Bulinckx
I wasn't talking about an addon for AD scripting, but one for scripting in general (vb scripting that is). What I will need is some examples of vbscripts that you would like to do, that way we can see what type of parameters are used and what type of return is needed (from the script towards

RE: [SA-list] AD Scripting

2006-12-05 Thread Michael Shook
Well, I guess we should start a conversation about what we want a AD check to look for. My list of potentials: 1) How many users are locked out 2) How many users haven't logged in since xx/yy/zz 3) How many machines haven't logged in since xx/yy/zz 4) How many days until "myAccount" expir

RE: [SA-list] AD Scripting

2006-12-05 Thread Tobie Fysh
That would be brilliant if there was one just lying around waiting to be used! -Original Message- From: "Dirk Bulinckx" <[EMAIL PROTECTED]> To: "Servers Alive Discussion List" Sent: 05/12/06 18:05 Subject: RE: [SA-list] AD Scripting Do I understand correctly that this would be a COM chec

RE: [SA-list] AD Scripting

2006-12-05 Thread Dirk Bulinckx
Do I understand correctly that this would be a COM check that executes a VBScript (written by "you") and that checks for the return value of a function? Dirk Bulinckx. From: Servers Alive Discussion List [ma

RE: [SA-list] SMTP sends to wrong IP

2006-12-05 Thread Dolinar, Jon
I have been reading this thread and have an idea although I am not sure if I remember all the logging you sent before. But you said that you see in the firewall the mail is going to a host not defined in your Servers Alive setup. Is it possible that Servers Alive forwards the mail to mail.yourdo

RE: [SA-list] SMTP sends to wrong IP

2006-12-05 Thread Dirk Bulinckx
and can you try with I suggested yesterday? (with the sniffer) Dirk Bulinckx. From: Servers Alive Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Bob Ianson Sent: Tuesday, December 05, 2006 5:11 PM To:

Re: [SA-list] SMTP sends to wrong IP

2006-12-05 Thread Bob Ianson
The only entry in hosts is: 127.0.0.1 (http://127.0.0.1) localhost and there is no lmhosts file. I am also not running a VPN client. --Bob-- On 12/5/06, Michael Shook <[EMAIL PROTECTED] (mailto:[EMAIL PROTECTED])> wrote: Just to check, make sure there are no relevent entries in the "

RE: [SA-list] Host names or IP Addresses (was: SMTP sends to wrong IP)

2006-12-05 Thread Dirk Bulinckx
For the checks as such we use the name (the 1st time) and from that point on the IP address. This can however be changed. Via the setup-startp settings, you can disable the IP caching and also define when IPs should expirer. If you want to check a mailserver farm, then I would check each IP

Re: [SA-list] SMTP sends to wrong IP

2006-12-05 Thread Jason Passow
I guess I was wrong. Looking at the mail (sent to my client instead of my mobile phone) I see it was sent from my primary server. I had configured mail.cableone.net as my alternate. Here is the debug View log. 00105.48914242[572] Message: 1442170620061205.SA602053-1, Failed to Se

RE: [SA-list] SMTP sends to wrong IP

2006-12-05 Thread Michael Shook
Just to check, make sure there are no relevent entries in the "C:\WINDOWS\system32\drivers\etc\hosts" or "C:\WINDOWS\system32\drivers\etc\lmhosts" files. Michael D. Shook Systems Analyst - Data Integration Saddle Creek Corporation [EMAIL PROTECTED] (mailto:[EMAIL PROTECTED]) 863 668 4477 (wor