Questions about Exchange logs
Forgive me if this question is placed in the wrong forum, but this is the best place I've found.I have been told, that some domains (hotmail.com for instance) can send an smtp code 421. I am trying to make a script that will trigger when this code is recieved. But I cant seem to find any such codes in the logfiles located in c:\program files\microsoft\exchange server\transportroles\logs\messagetracking. But I have started to doubt that this error will ever be noted in the messagetracking logs.The reason I doubt this is because I today took at look at the queue in the Exchange Management Console - and here I can see that some messages sit and wait, and that the last error they had was Code Snippet 451 4.4.0 Primary target IP address responded with: "421 4.2.1 Unable to connect." Attempted failover to alternate host, but that did not succeed. Either there are no alternate hosts, or delivery failed to all alternate hosts.I have not been able to figure out where this information is stored, and if this indeed is the 421 I am looking for. If I understand correctly, this 421 is because the mail is being sent to a domain that does not exist at all. Will the system react the same way if a domain is somehow blocking my ip, could this result in a 421 and would that mean the mail would end up in the queue like this?I am by no means an expert in Exchange 2007, and everything is very new to me, so I would be very grateful if someone could help me figure out where I can see if a domain deliberately sends a 421 reply when I try to send mail.
July 25th, 2007 2:51pm

I don't think you will see this type of event in the message tracking logs. You will need to enable the protocol logging on the Send connector that sends mail to the Internet. That might be your Hub Transport, it might be an Edge Transport, of some other type of SmartHost. By the way, the only domain I know of that always sends out a 421 on every first connect is Yahoo. But, then again, Yahoo is becoming the evil mail empire.
Free Windows Admin Tool Kit Click here and download it now
July 26th, 2007 3:22am

Thank you, that helped a great deal!
July 27th, 2007 10:01am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics