1829461 Members
2256 Online
109992 Solutions
New Discussion

permissions in sendmail

 
Keith Floyd
Advisor

permissions in sendmail

Hi

I have set sendmail up and the error I am getting is

fredm@nowhere.co.uk... Connecting to homer.nowhere.co.uk via relay...
220 homer.nowhere.co.uk ESMTP Sendmail 8.9.3 (PHNE_18979)/8.9.3; Fri, 21 Jul 20
00 14:00:53 +0100 (BST)
>>> EHLO pitstop.nowhere.co.uk
250-homer.nowhere.co.uk Hello smsa02.nowhere.co.uk [193.39.47.11], pleased to
meet you
250-EXPN
250-VERB
250-8BITMIME
250-SIZE 100000000
250-DSN
250-ONEX
250-ETRN
250-XUSR
250 HELP
>>> MAIL From: SIZE=4
501 ... Sender domain must exist
fredm@nowhere.co.uk... Data format error
/dead.letter... cannot open: Permission denied
root... Connecting to local...
root... Sent
Closing connection to homer.nowhere.co.uk
>>> QUIT
221 homer.nowhere.co.uk closing connection

Note
I have set several boxes up this one doesnt seem to work

nsswitch.conf is set files on all FQDN is set in hosts
and have restardted senmail

Any ideas

Steve
3 REPLIES 3
John Palmer
Honored Contributor

Re: permissions in sendmail

Sounds like pitstop.nowhere.co.uk doesn't like mail emanating from fredm@nowhere.co.uk because this last address is not a valid subdomain. i.e. shouldn't it be from
.nowhere.co.uk?
Hence sender domain must exist!

Hope this helps
John
Keith Floyd
Advisor

Re: permissions in sendmail

Thanks John

But I think the problem is in the relay server HOMER using DNS to resolve my new server and not being able to do so

Thanks

Keith

Kofi ARTHIABAH
Honored Contributor

Re: permissions in sendmail

You might want to set up your relay server to have nowhere.co.uk defined in the /etc/hosts table; also if you are not using dns, rename /etc/resolv.conf ; and if you are using dns, you might want to set your nsswitch.conf as:

hosts: files [NOTFOUND=continue] dns

also make sure that your /etc/mail/sendmail.cw only contains the short hostname of your server and not its domain.

good luck
nothing wrong with me that a few lines of code cannot fix!