1833555 Members
3165 Online
110061 Solutions
New Discussion

Re: sendmail problem

 
Ronelle van Niekerk
Regular Advisor

sendmail problem

We can't seem to send mail to any of the users on the machine except root.

If root send a mail to the users, it gets a message back saying "User Unknown"

Any ideas?
I am sendmail illiterate.
rm -r /it/managers
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: sendmail problem

sendmail is fun.

check the /etc/mail/aliases file for entries that would confuse sendmail.

try this diagnostic

sendmail -v -d8.99 -d38.99 username
type some text

.



you'll get a better idea whats wrong.

whence sendmail to get the full path in case you get a not found message.

mailq

shows mail waiting for delivery.

I bet you have a DS directive in /etc/mail/sendmail.cf

That tells the server to relay all mail, but local users are still not supposed to go outside

Hmm. I'd like to see some diagnostic posts.

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
Mobeen_1
Esteemed Contributor

Re: sendmail problem

Can u check and see if all your mails (that you tested ) can be seen in mailq.

Did you make any changes recently? If Yes, what changes.

regards
Mobeen
Ronelle van Niekerk
Regular Advisor

Re: sendmail problem

Thanks guys,

we ran the sendmail -v -d8.99 -d38.99 username command and it came up with something very interesting:

seq_map_lookup(aliases, sabpmgr)
seq_map_lookup(aliases.files, sabpmgr)
impl_map_lookup(Alias0, sabpmgr)
db_map_lookup(Alias0, sabpmgr)
sabPmgr... User unknown

The username is sabPmgr.
Can sendmail handle caps in user names?
rm -r /it/managers