Operating System - HP-UX
1833059 Members
2873 Online
110049 Solutions
New Discussion

Exchange cant send mail to local sendmail server

 
Neil Harris
Regular Advisor

Exchange cant send mail to local sendmail server

I am trying to send mail from an exchange server to a local
sendmail server (HP_UX11i). The exchange server connects to send mail and produces the following log entry.

NOQUEUE: Null connection from Hostname.domain

exchange reports
host does not suport auth

I can mail from the sendmail host to exchange and I can send and receive mail from other hp-ux servers localy

any ideas how to solve this.
An inveterate hacker
11 REPLIES 11
Julio Yamawaki
Esteemed Contributor

Re: Exchange cant send mail to local sendmail server

Neil,

If you want to receive e-mail in your UNIX box, you must install a POP3 server.
But, if you want to relay e-mails, you must configure sendmail to accept relaying.
Ron Brown_2
Frequent Advisor

Re: Exchange cant send mail to local sendmail server

What version of sendmail is installed on the HP box?
should work...
Steven E. Protter
Exalted Contributor

Re: Exchange cant send mail to local sendmail server

The HP-UX server has been set up to deny relay.

from my /etc/mail/access file

localhost RELAY
Sabra2564i86@yahoo.com 550 Spam reject. We charge $500/spam message.

besides localhost RELAY you need this:

IP_ADDRESS_OF_EXCHANGE_SERVER RELAY


Then you need to rebuild the hash databases and restart sendmail.

This thread goes into further detail.

http://search.hp.com/redirect.html?url=http%3A//forums.itrc.hp.com/cm/QuestionAnswer/1,,0x8720b941255cd71190080090279cd0f9,00.html&qt=sendmail+%2Brelay+%2Baccess&hit=1

This thread contains a solution:
http://search.hp.com/redirect.html?url=http%3A//forums.itrc.hp.com/cm/QuestionAnswer/1,,0xc5a93a7b3682d611abdb0090277a778c,00.html&qt=sendmail+%2Brelay+%2Baccess&hit=13

Here is my itrc search
http://us-support2.external.hp.com/emse/bin/doc.pl/sid=e286ba580d3137aaf3?todo=search&searchtext=sendmail+relay+access&x=26&y=16&searchcriteria=allwords&searchtype=SEARCH_TECH_DOCS&searchtype=SEARCH_MANUAL&searchtype=SEARCH_FORUMS&searchcategory=ALL&rn=25&presort=rank

SEP

Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Neil Harris
Regular Advisor

Re: Exchange cant send mail to local sendmail server

Just to clarify I am not trying to relay I am trying to send mail to the user on the box running sendmail
An inveterate hacker
Ron Brown_2
Frequent Advisor

Re: Exchange cant send mail to local sendmail server

Take a look at the following URL for more information regarding configuration of your mail servers to deny spam:

http://ordb.org/faq/#usage
should work...
Neil Harris
Regular Advisor

Re: Exchange cant send mail to local sendmail server

A complete explanation.

We are running Oracle workflow on a HP-UX server. Workflow needs to send and receive mail to and from workflow users. This requires that our exchange server is able to send mail to the box running workflow via sendmail runing in backgroud ie started as sendmail -bd.
I am able to send mail from workflow to the exchange server, I am though unable to receive mail from the exchange server. Exchange returns a system administration mail which says that "host does not suport auth" ie the sendmail on the workflow server does not support AUTH which the exchange server seems to require. So I need to activate AUTH in sendmail. The sendmail log shows "NOQUEUE: Null connection from Hostname.domain" implying that the exchange connected but did not transmit the mail because ehol did not return 250-auth.


Some further information all mail from the exchange server has to send mail to the National health service mail relay so we can only set exchange to send to local servers by adding the to the exchange configuration. I can not turn AUTH off on exchange, it has to be implemented in sendmail.

This problem has nothing to do with spam or mail relaying. it simple needs to be able to accept smtp connections from exchange to sendmail and the deliver mail to one user on the workflow server.

I think I have to implement the ?sasl lib into sendmail I have though no idea how to do it.
An inveterate hacker
Steven E. Protter
Exalted Contributor

Re: Exchange cant send mail to local sendmail server

The issue here is that your target user is an HP-UX user.

I though that by default, the sendmail configuration of the server does not facilitate the relay of inbound mail from off the box.

I just sent mail from one HP-UX server to another with the following command:

sendmail -v -d8.99 -d38.99 root@hebron.juf.net

Typed a line of text


.



The server accepted the mail, no problem.

This sort of punches a little hole in my default configuration idea above because I have not enabled that server to relay mail.

Try te command above HP-UX server to the HP-UX server that needs to accept the mail.

This will at least verify that the target server is rejecting relayed mail.

I'm going to poke around and try and figure this out. HP doesn't use sendmail.mc like Linux does, at least not out of the box.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Neil Harris
Regular Advisor

Re: Exchange cant send mail to local sendmail server

Hi Steven,

I can send mail from HP-UX to HP-UX no problem using the default sendmail configuration and this has always been the case.

Neil
An inveterate hacker
Steven E. Protter
Exalted Contributor

Re: Exchange cant send mail to local sendmail server

My skull is thick today.

The exchange server is getting rejects.

Okay.

Check the following log files.

mail.log

/var/adm/syslog/syslog.log

Could be clues there.

If HP-UX to HP-UX is working fine, then this may be an exchange server problem.

host does not support auth.

The HP-UX server is never going to accept mail the way exchange sends it between exchange servers. That is proprietary Bill Gates magic. You are going to need to tell it to use smtp or esmtp

This can be done.

Two answers:
You may want to post a question in the Microsoft Forum.

You might want to look at support.microsoft.com and pull up docs on how to send mail to unix servers with smtp or esmtp

Since you can send mail HP-UX to HP-UX there is no issue with relay. I'm suprised the default configuration on HP-UX is so wide open. Going to have to do some tightening.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Neil Harris
Regular Advisor

Re: Exchange cant send mail to local sendmail server

Hi Steven,

The problem is with sendmail not having AUTH implemented. I have been doing some reading else where and it seems that the standard compile of sendmail does not include AUTH as shown in the list below.
derived from the implementation on HP-UX

250-EXPN
250-VERB
250-8BITMIME
250-SIZE
250-DSN
250-ONEX
250-ETRN
250-XUSR

It would apear I am going to have to compile my own version of sendmail and inclued the Cyrus SASL Library in the compile which will implement AUTH in order to make this work.... unless you have another idea.
An inveterate hacker
U.SivaKumar_2
Honored Contributor

Re: Exchange cant send mail to local sendmail server

Hi,

Exactly. your exchange server expects AUTH negotiation But your current sendmail does not have that feature. This can be checked by your method. if sendmail supports AUTH then it emits

250-AUTH DIGEST-MD5 CRAM-MD5

regards,

U.SivaKumar



Innovations are made when conventions are broken