Operating System - HP-UX
1838163 Members
3392 Online
110124 Solutions
New Discussion

sendmail or dns I'm not sure

 
SOLVED
Go to solution
David Johnson_5
Occasional Advisor

sendmail or dns I'm not sure

Hello,
I am having a problem sending mail from GroupWise to Unix.
My unix server will execpt mail from gwxxx.domain.com, but not gwxxx.mail.domain.com.
And all my mail is from the latter.
6 REPLIES 6
Ross Zubritski
Trusted Contributor

Re: sendmail or dns I'm not sure

Hi,

Put an entry in /etc/mail/access

gwXXX.mail.domain.com RELAY

makemap hash access.db
Then restart sendmail.

Regards,

RZ
David Johnson_5
Occasional Advisor

Re: sendmail or dns I'm not sure

Do I need to add the exact address to /etc/mail/acces like guy@mail.domain.com or just mail.domain.com.
because I did the latter and
makemap, stop/start sendmail.
When i sent a message got.
501 Sender domain must exist
Ross Zubritski
Trusted Contributor

Re: sendmail or dns I'm not sure

only XXX.mail.domain.com

Regards,

RZ
David Johnson_5
Occasional Advisor

Re: sendmail or dns I'm not sure

ok.
I think the problem is how the unix host sees mail.domain.com. i added the entry in /etc/hosts
###.###.### domain.com mail1 mail 2
only thing is domain.com has 6 aliases for on IP.
It works, but it dosn't seem right.
Steven E. Protter
Exalted Contributor
Solution

Re: sendmail or dns I'm not sure

If you are using /etc/hosts for network resolution you probably don't have a dns issue.

what's in your nsswitch.conf file

Are hosts dns,files

or files,dns

With regards to incoming mail, it should not make a difference. The relay info above should solve the problem.

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
David Johnson_5
Occasional Advisor

Re: sendmail or dns I'm not sure

The /etc/mail/access and access.db didn't seem to do anything.
I did make some chane to /etc/hosts that help some thoug.

Groupwise mailbox are
mailbox1.domain.com
mailbox2.domain.com
mailbox3.domain.com ..etc

dns show the addrees the server
###.###.### domain.com

so i added this to /etc/hosts
###.###.### domain.com mailbox mailbox2 ..etc
seems to work.

below is nssswitch.conf
# /etc/nsswitch.files:
#
# An example file that could be copied over to /etc/nsswitch.conf; it
# does not use any name services.
#
#hosts: dns #files
hosts: files[notfound=continue] dns
passwd: files
group: files
services: files
networks: files
protocols: files
rpc: files
publickey: files
netgroup: files
automount: files
aliases: files