• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1632
  • Last Modified:

how to set my mail server a relay

i have an exchage server 2003 SP2 in my LAN.ither is a script on my oracle database that sends mails to our company staff.this script is working fine for all internal mails (in my domain) but it is not sending mails for mails outside my domain ex hotmail,yahoo, gmail,....(because i have several users..physicians mainly that check their external mails only ,and i need to send them these mails)

when i tried on one mail for testing purposes, i got this message:
ORA-29279: SMTP permanent error: 550 5.7.1 Unable to relay for user@hotmail.com

how can i fix this issue without removing securiiy from my mail sevrer and not transforming it to open realy server???

how

0
sparks2000
Asked:
sparks2000
  • 4
  • 4
  • 3
  • +1
1 Solution
 
Justin DurrantSr. Engineer - Windows Server/VirtualizationCommented:
0
 
gupnitCommented:
Hi,
You need to allow the IP address to relay.....Goto ESM --> SMTP Virtual Server properties | Access tab | Relay.
Hope this helps
Thanks
Nitin
0
 
sparks2000Author Commented:
well i tried it but it did not work,because this script does not use a specific username ,it does not use a mailbox,i just specified the mail server and oracle has UTL_SMTP package that is used to send mails but still it does not send to external mails ,only to local domain.
Thanks
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
Justin DurrantSr. Engineer - Windows Server/VirtualizationCommented:
no user name is required as long as you have anon selected.
0
 
sparks2000Author Commented:
but i don't want my mail server to be an open relay!!!!!!!!!!!!!
0
 
Justin DurrantSr. Engineer - Windows Server/VirtualizationCommented:
that doesn't make it an open reply... Lock it down via IP restrictions.
0
 
gupnitCommented:
Hi,
Make sure it is like this.....see attachment
Thanks
Nitin

Relay.gif
0
 
ckozloskiCommented:
Well, there has to be a setting in the script that pulls email addresses to send the mail to. Unless you are using a distrubition list on your exchange server that the oracle server is sending to that one address.
Do you have an internet smtp connector set up on your exchange server? Can you send outgoing mail to addresses oustide your organization normally?
0
 
sparks2000Author Commented:
yes i can send normallu to outside my company and teh script reads the list of mails from the oracle database beacuse we already created a table with these mails. i will try what gupnit suggestes and put the IPs of my database servers  in the computers list below.but will it affect other users to be able to send to outside my company???
0
 
ckozloskiCommented:
No, it should not affect your exchange server's relay. Basically all that setting does is allow another mail server to relay mail through your exchange server. It tells exchange that it can be a relay server for your oracle server.
0
 
gupnitCommented:
Hi,
It will not affect anything else and is the solution, unless there is some config issue in your other server or if I have not understood the question !
Thanks
Nitin
0
 
sparks2000Author Commented:
thank you a loy gupnit.it is working fine thanks to you and all the members that contributed to this question
0
 
gupnitCommented:
Glad it helped :-)!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

  • 4
  • 4
  • 3
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now