Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




4706 posts

Uber Geek
+1 received by user: 75

Trusted

Topic # 56703 21-Jan-2010 12:42
Send private message

I would like to send mail out from a batch file or a program via an Exchange Server. I used www.blat.net initially and it works fine for mail going to the domain users but going outside the domain Exchange complains about not being authorised to relay mail.

What should I be asking the Exchange Administrators to enable this function?  I am guessing it's some sort of anonymous access to the server which might pose a risk except the Exchange Server is behind the firewall so it cannot be accessed externally anyway.

Any ideas appreciated.

Thanks




System One: Popcorn Hour A200,  PS3 SuperSlim, NPVR and Plex Server running on Gigabyte Brix (Windows 10 Pro), Sony BDP-S390 BD player, Pioneer AVR, Raspberry Pi running Kodi and Plex, Panasonic 60" 3D plasma, Google Chromecast

System Two: Popcorn Hour A200 ,  Oppo BDP-80 BluRay Player with hardware mode to be region free, Vivitek HD1080P 1080P DLP projector with 100" screen. Harman Kardon HK AVR 254 7.1 receiver, Samsung 4K player, Google Chromecast

 


My Google+ page 

 

 

 

https://plus.google.com/+laurencechiu

 

 


Create new topic
2819 posts

Uber Geek
+1 received by user: 235


  Reply # 291858 21-Jan-2010 12:45
Send private message

What version of Exchange is it?
I know, by default, Exchange 2003 allowed anonymous smtp connections from the local lan but Exchange 2007 needs to be setup to allow this.




407 posts

Ultimate Geek
+1 received by user: 17

Trusted
Subscriber

  Reply # 291860 21-Jan-2010 12:49
Send private message

You will need to setup a new SMTP Receive Connector if using Exchange Server 2007 (or reconfigure an existing one).




 
 
 
 




4706 posts

Uber Geek
+1 received by user: 75

Trusted

  Reply # 291882 21-Jan-2010 13:33
Send private message

Exchange 2003 but it won't allow relaying. I get this response from my desktop

The SMTP server does not like the name fred@yahoo.com.
Have you set the 'To:' field correctly, or do you need authorization (-u/-pw) ?
The SMTP server response was -> 550 5.7.1 Unable to relay for fred@yahoo.com




System One: Popcorn Hour A200,  PS3 SuperSlim, NPVR and Plex Server running on Gigabyte Brix (Windows 10 Pro), Sony BDP-S390 BD player, Pioneer AVR, Raspberry Pi running Kodi and Plex, Panasonic 60" 3D plasma, Google Chromecast

System Two: Popcorn Hour A200 ,  Oppo BDP-80 BluRay Player with hardware mode to be region free, Vivitek HD1080P 1080P DLP projector with 100" screen. Harman Kardon HK AVR 254 7.1 receiver, Samsung 4K player, Google Chromecast

 


My Google+ page 

 

 

 

https://plus.google.com/+laurencechiu

 

 


620 posts

Ultimate Geek
+1 received by user: 77

Subscriber

  Reply # 291889 21-Jan-2010 13:48
Send private message

I'm not sure if this will help at all (I don't know much about Exchange at all), but I have used a program called mailsend to send emails via DOS batch files. Just needs a few basic parameters as described on the linked page.



4706 posts

Uber Geek
+1 received by user: 75

Trusted

  Reply # 291914 21-Jan-2010 14:20
Send private message

Thanks but I need to send mail from the Exchange sever so it looks like it's coming from the right domain. I could use an external mail server I guess but that means opening up ports on the corporate firewall to allow traffic on the SMTP port. Plus finding a SMTP server I can use.




System One: Popcorn Hour A200,  PS3 SuperSlim, NPVR and Plex Server running on Gigabyte Brix (Windows 10 Pro), Sony BDP-S390 BD player, Pioneer AVR, Raspberry Pi running Kodi and Plex, Panasonic 60" 3D plasma, Google Chromecast

System Two: Popcorn Hour A200 ,  Oppo BDP-80 BluRay Player with hardware mode to be region free, Vivitek HD1080P 1080P DLP projector with 100" screen. Harman Kardon HK AVR 254 7.1 receiver, Samsung 4K player, Google Chromecast

 


My Google+ page 

 

 

 

https://plus.google.com/+laurencechiu

 

 


53 posts

Master Geek


  Reply # 292267 22-Jan-2010 16:45
Send private message

Ok so just to confirm - the PC sending the mail via batch file / program is on the same domain/network as the exchange server?

If so, all you should have to do is add in the IP address of the PC in quesiton to the mail relay part of exchange 2003.

Open up Exchange system manager > "your exchange server administrative group" > servers > " your server" > protocols > smtp. Double click on "default smtp virtual server", click on the "access" tab and you will see a button called "relate restrictions". You can add in the IP addess of the PC here....

Let me know how you go :)

53 posts

Master Geek


  Reply # 294401 29-Jan-2010 17:04
Send private message

Hi there, how did you get on?



4706 posts

Uber Geek
+1 received by user: 75

Trusted

  Reply # 294465 29-Jan-2010 19:57
Send private message

Turned out to be a permission on the Exchange Server. Once I asked the admins to allow anonymous email from the IP address of the machine sending out mail, it was fine and all the tools mentioned worked okay.




System One: Popcorn Hour A200,  PS3 SuperSlim, NPVR and Plex Server running on Gigabyte Brix (Windows 10 Pro), Sony BDP-S390 BD player, Pioneer AVR, Raspberry Pi running Kodi and Plex, Panasonic 60" 3D plasma, Google Chromecast

System Two: Popcorn Hour A200 ,  Oppo BDP-80 BluRay Player with hardware mode to be region free, Vivitek HD1080P 1080P DLP projector with 100" screen. Harman Kardon HK AVR 254 7.1 receiver, Samsung 4K player, Google Chromecast

 


My Google+ page 

 

 

 

https://plus.google.com/+laurencechiu

 

 


Create new topic



Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

UAV Traffic Management Trial launching today in New Zealand
Posted 12-Dec-2017 16:06


UFB connections pass 460,000
Posted 11-Dec-2017 11:26


The Warehouse Group to adopt IBM Cloud to support digital transformation
Posted 11-Dec-2017 11:22


Dimension Data peeks into digital business 2018
Posted 11-Dec-2017 10:55


2018 Cyber Security Predictions
Posted 7-Dec-2017 14:55


Global Govtech Accelerator to drive public sector innovation in Wellington
Posted 7-Dec-2017 11:21


Stuff Pix media strategy a new direction
Posted 7-Dec-2017 09:37


Digital transformation is dead
Posted 7-Dec-2017 09:31


Fake news and cyber security
Posted 7-Dec-2017 09:27


Dimension Data New Zealand strengthens cybersecurity practice
Posted 5-Dec-2017 20:27


Epson NZ launches new Expression Premium Photo range
Posted 5-Dec-2017 20:26


Eventbrite and Twickets launch integration partnership in Australia and New Zealand
Posted 5-Dec-2017 20:23


New Fujifilm macro lens lands in New Zealand
Posted 5-Dec-2017 20:16


Cyber security not being taken seriously enough
Posted 5-Dec-2017 20:13


Sony commences Android 8.0 Oreo rollout in New Zealand
Posted 5-Dec-2017 20:08



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.