1832978 Members
3049 Online
110048 Solutions
New Discussion

Re: sendmail and smtp

 
SOLVED
Go to solution
mohammed arafat_2
Frequent Advisor

sendmail and smtp

dear friends
i finaly managed the installation of
DNS , Sendmail and qpopper all on hpux 11i

but i have a problem
on the clint side using outlook express i can recive e-mails frm the server and i can send e-mails to any clint in between my domain from the clint side. ok so far
but from the clinte side i cant send e-mails to any server i.e
arafat@ceb.jo is mail address on my server
i can from the clinte outlook to send e-mails to john@ceb.jo
but not to john@hp.com
the outlook says it is (The message could not be sent because one of the recipients was rejected by the server. The rejected e-mail address was 'john@hp.com'. Subject 'Re: hello 1', Account: 'ceb.jo', Server: '212.154.153.29', Protocol: SMTP, Server Response: '554 buildaddr: no host', Port: 25, Secure(SSL): No, Server Error: 554, Error Number: 0x800CCC79)

from the server it self on unix not the clint it can send to any other mail addresses
the clinte recieve from any but can only send to local domain users

please help
Arafat
6 REPLIES 6
Jordan Bean
Honored Contributor
Solution

Re: sendmail and smtp

I sounds like sendmail is not allowing your clients to relay because it cannot verify that they are within your domain. How exactly is sendmail configured? Can we see either sendmail.mc or sendmail.cf? I always use FEATURE(relay_entire_domain), but this doesn't do any good if your clients do not resolve to your domain via DNS. A quick fix may be to add your corporate IP subnets to the file /etc/mail/relay-domains (or whatever file is defined in sendmail.cf on the ^FR line) and restart sendmail.
Steven E. Protter
Exalted Contributor

Re: sendmail and smtp

From /etc/mail/access

127.0.0.1 RELAY
192.168.0.30 RELAY
192.168.0.40 RELAY
192.168.0.41 RELAY
192.168.0.2 RELAY





There is actually tab between the IP address and the relay command.

As exptected, this defines relay domains.

The prior post may be better, but if that doesn't work, try this and do a hash db rebuild (attached). The script will have to be adapted for HP-UX use.

If relay is permitted on your local network, your clients should be able to send mail whether or not they can actually resolve the target domain.

P
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
mohammed arafat_2
Frequent Advisor

Re: sendmail and smtp

hello

i've added the relay-domains
including my network address
and attached u can see my sendmail.cf
the domain is ceb.jo

the error in the outlook is relying

and in the server i get
cannot creat smtp socket

thnk you
Arafat
Steven E. Protter
Exalted Contributor

Re: sendmail and smtp

Is there a firewall between you client and HP box? There is an HP one called IPfilters. You need to make sure port 110 and 25 are open if you are running it.

swlist -i look for it.

P
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
avsrini
Trusted Contributor

Re: sendmail and smtp

Hi,
Can you pls be little elaborate?.

Is your hp server, connected directly to internet backbone or through ISP?.
If you are connected through ISP, set the DS (smart relay host) to ISP's
Server.

Also try removing Dj setting
for local domain finding.

Srini.
Be on top.
U.SivaKumar_2
Honored Contributor

Re: sendmail and smtp

Hi ,

From the Client .

#telnet 25

Did you get sendmail's banner ?

If you get it then OK.

If not check the sendmail.cf file for

O DaemonPortOptions=Port=smtp,Addr=xx.xx.xx.xx, Name=MTA

where xx.xx.xx.xx should be the IP address of the server.

save the file and restart the sendmail.

try again and come back with results.

regards,

U.SivaKumar

Innovations are made when conventions are broken