|
RE: Stop the smtp service on an Exchange 2007 server? I'd look at using a scheduled task to start the script, and periodically
check to make sure it's still running, but write the script itself to start
up and stay resident, using a sleep timer to trigger a processing cycle.
"SuneR" wrote:
> We are in the process of getting a good mail reputation with hotmail.com, and
> hotmail.com wants us to stop sending them mail if they send us a 421 smtp
> code. That means we reached the limit, and that we should stop further
> sending to avoid getting a negative rep for that delivery.
>
> I am already looking into a solution with rules on an Exchange 2007 Edge
> Transport server, but so far no luck. But because I figure that no matter
> what, Powershell is a good approach to stop the mails from being sent to
> hotmail, that is why I ask here.
>
> What I have in mind is something like this:
>
> Make a powershell script that parses the logfile at intervals, and if it
> finds an smtp code 421 from hotmail, it will simply stop the smtp service on
> the server, I know that this means that mail to all other domains will be
> stopped also, but stopping mail to hotmail is top priority in this process,
> so a solution where the script stops the outgoing queue or enables a filter
> to stop outgoing mail to hotmail would be better but I dont know if thats
> easier/possible.
>
> However, I am not skilled enough to make this script without help - and I
> dont even know if this is a usable solution. So if anyone can give me some
> tips, a script that can do some or all of what I am looking for I would be
> very grateful!
>
> I know this is not an Exchange forum, but if someone knows about Exchange
> and knows of a better way to solve this, I am also very interested in
> learning more about it. |