BackOffice Products
1820703 Members
2528 Online
109627 Solutions
New Discussion юеВ

Sendmail 8.9.3 and Microsoft Exchange Server 5.5

 
Bob Ferro
Regular Advisor

Sendmail 8.9.3 and Microsoft Exchange Server 5.5

I am trying to send an email from Unix Server(spdprod) to my internet account (xxx@verizon.net) via the Exchanger Server (l3c-xchg-spd). I keep getting 550 Relaying is Prohibited, user unknown. I tried sending an email to my intranet account (robert.ferro@l-3com.com) and the same msg. Does something have to change on the Exchange Server or is there a way to send an email without using the Exchange Server or by faking it out? The Unix Server and the Exchange Server are on the same domain. The sendmail.cf has the DS macro set to DSl3c-xchg-spd, host file has the name and ip address of both spdprod and l3c-xchg-spd, and the sendmail.cw has the entries

localhost
spdprod
spdprod.spd
spdprod.spd.l-3com
spdprod.spd.l-3com.com

What can I do? Do I have to get the Network Admin to work for a living?

Thanks
8 REPLIES 8
Jon Finley
Honored Contributor

Re: Sendmail 8.9.3 and Microsoft Exchange Server 5.5

The relay agent error means that you are sending mail addressed from an outside domain destined to an outside domain.
Example: Exchange domain = ferro.com
sendmail domain = bobferro.com
sent from: bob@bobferro.com
addressed to: hpsupport@hp.com

Exchange WANTS the "from" line to be addressed as: bob@ferro.com, otherwise Exchange believes that it has been asked to reply a message from another domain (spam).

Jon
"Do or do not. There is no try!" - Yoda
Joseph Loo
Honored Contributor

Re: Sendmail 8.9.3 and Microsoft Exchange Server 5.5

hi,

you need smtp services to be up at the exchange server in order to start using?

at the unix server, run this:

# telnet 25

what is the reply?

regards.
what you do not see does not mean you should not believe
Bob Ferro
Regular Advisor

Re: Sendmail 8.9.3 and Microsoft Exchange Server 5.5

Hi Joe,

telnet l3c-xchg-spd returns:

220 l3c-xchg-spd.l-3com.com ESMTP Server (Microsoft Internet Mail Service 5.5.2657.72) ready.
Bob Ferro
Regular Advisor

Re: Sendmail 8.9.3 and Microsoft Exchange Server 5.5

Hi Jon,

I understand but what do I change to get it to work?
Bob Ferro
Regular Advisor

Re: Sendmail 8.9.3 and Microsoft Exchange Server 5.5

I did a sendmail to email address rferro@spd.l-3com.com and I received it thru the intranet. The only problem I have now is how do I send an email thru the internet to a rferro@verizon.net? I want to set up EMS so I can receive system events from home.
Jon Finley
Honored Contributor

Re: Sendmail 8.9.3 and Microsoft Exchange Server 5.5

When you sent the mail to rferro@spd.l-3com.com, who did it appear to be from?

Sendmail needs to send the mail addressed from somebody@spd.l-3com.com for it to be recognised as "from" the same domain as the exchange server.

I'm out of my knowledge area here, as how to configure sendmail in this fashion though. :-(

But..... I'm SURE that some of the linux or HP-UX Guru's can assist.

Jon
"Do or do not. There is no try!" - Yoda
Bob Ferro
Regular Advisor

Re: Sendmail 8.9.3 and Microsoft Exchange Server 5.5

Hi Jon,

The email came fromm root@spdprod.l-3com.com. Spdprod is the Unix Server.
Bob Ferro
Regular Advisor

Re: Sendmail 8.9.3 and Microsoft Exchange Server 5.5

I guess my real problem is forwarding email outside of the domain to verizon.net. Can this be done and what do I have to configure with sendmail if anything?