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.




5219 posts

Uber Geek

Trusted

#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




Staying in Wellington. Check out my AirBnB in the Wellington CBD.  https://www.airbnb.co.nz/rooms/32019730  Mention GZ to get a 10% discount

 

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, Denon AVRS730H 7.2 Channel Dolby Atmos/DTS-X AV Receiver, Samsung 4K player, Google Chromecast, Odroid C2 running Kodi and Plex

 

 


Create new topic
3232 posts

Uber Geek

Subscriber

  #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.

413 posts

Ultimate Geek

Trusted
Lifetime subscriber

  #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).




Paul Spain
Founder: Gorilla Technology, NZ Tech Podcast


 
 
 
 




5219 posts

Uber Geek

Trusted

  #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




Staying in Wellington. Check out my AirBnB in the Wellington CBD.  https://www.airbnb.co.nz/rooms/32019730  Mention GZ to get a 10% discount

 

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, Denon AVRS730H 7.2 Channel Dolby Atmos/DTS-X AV Receiver, Samsung 4K player, Google Chromecast, Odroid C2 running Kodi and Plex

 

 


699 posts

Ultimate Geek

Subscriber

  #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.



5219 posts

Uber Geek

Trusted

  #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.




Staying in Wellington. Check out my AirBnB in the Wellington CBD.  https://www.airbnb.co.nz/rooms/32019730  Mention GZ to get a 10% discount

 

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, Denon AVRS730H 7.2 Channel Dolby Atmos/DTS-X AV Receiver, Samsung 4K player, Google Chromecast, Odroid C2 running Kodi and Plex

 

 


53 posts

Master Geek


  #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


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

Hi there, how did you get on?

 
 
 
 




5219 posts

Uber Geek

Trusted

  #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.




Staying in Wellington. Check out my AirBnB in the Wellington CBD.  https://www.airbnb.co.nz/rooms/32019730  Mention GZ to get a 10% discount

 

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, Denon AVRS730H 7.2 Channel Dolby Atmos/DTS-X AV Receiver, Samsung 4K player, Google Chromecast, Odroid C2 running Kodi and Plex

 

 


Create new topic



Twitter and LinkedIn »



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 »

Withings launches three new devices to help monitor heart health from home
Posted 13-Feb-2020 20:05


Auckland start-up Yourcar matches new car buyers with dealerships
Posted 13-Feb-2020 18:05


School gardens go high tech to teach kids the importance of technology
Posted 13-Feb-2020 11:10


Malwarebytes finds Mac threats outpace Windows for the first time
Posted 13-Feb-2020 08:01


Amazon launches Echo Show 8 in Australia and New Zealand
Posted 8-Feb-2020 20:36


Vodafone New Zealand starts two year partnership with LetsPlay.Live
Posted 28-Jan-2020 11:24


Ring launches indoor-only security camera
Posted 23-Jan-2020 17:26


New report findings will help schools implement the digital technologies curriculum content
Posted 23-Jan-2020 17:25


N4L to upgrade & support wireless internet inside schools
Posted 23-Jan-2020 17:22


Netflix releases 21 Studio Ghibli works
Posted 22-Jan-2020 11:42


Vodafone integrates eSIM into device and wearable roadmap
Posted 17-Jan-2020 09:45


Do you need this camera app? Group investigates privacy implications
Posted 16-Jan-2020 03:30


JBL launches headphones range designed for gaming
Posted 13-Jan-2020 09:59


Withings introduces ScanWatch wearable combining ECG and sleep apnea detection
Posted 9-Jan-2020 18:34


NZ Police releases public app
Posted 8-Jan-2020 11:43



Geekzone Live »

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


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



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.