Operating System - HP-UX
1820485 Members
2485 Online
109624 Solutions
New Discussion юеВ

Returned mail: Insufficient permission

 
Thomas Schler_1
Trusted Contributor

Returned mail: Insufficient permission

Hi,

we have a problem with "Returned mail: Insufficient permission".

We define a mail alias "all" within /etc/mail/aliases containing about 50 users. The users use different operating systems and different mail programs on their client machines.

Sometimes it happens that one of the various mail programs changes file permissions to e.g. "-rw------- 1 guy mail 2933 Apr 11 22:24 /var/mail/guy". Now, if someone tries to send a mail to the alias "all", /var/mail/guy cannot be changed by the mail daemon and an error message is sent to the mail sender. But some members of "all" do get the mail and some do not even when having correct file permissions, possibly depending on the order of the members listed in /etc/mail/aliases's "all" with respect to the position of the member "guy" within the member list.

Since some members do get the mail addressed to "all" and some do not, it should be possible, in general, to sent the mail to all the "all" members but those with wrong mailbox file permissions.

What can be done to have a tolerant mail daemon that is able to send mails to all mail alias members with correct mailbox file permissions even when one or more members do have wrong permisions on their mailboxes?

We're running HPUX 10.20 on K460 servers. The latest sendmail patch is PHNE_22672.
no users -- no problems
5 REPLIES 5
Pedro Sousa
Honored Contributor

Re: Returned mail: Insufficient permission

Hi!
Check your permissions on /usr/lib/sendmail. They should be 755.
good luck.
Thomas Schler_1
Trusted Contributor

Re: Returned mail: Insufficient permission

Permissions of sendmail are:
lr-sr-sr-t 1 root sys 18 Apr 25 1997 /usr/lib/sendmail -> /usr/sbin/sendmail

This should be ok.
no users -- no problems
Pedro Sousa
Honored Contributor

Re: Returned mail: Insufficient permission

Hi again.
my file is like this:
lrwxr-xr-t 1 root sys 18 Dec 16 19:36 /usr/lib/sendmail -> /usr/sbin/sendmail

-r-sr-sr-t 1 root mail 823296 May 10 2000 usr/sbin/sendmail
check this:
http://europe-support.external.hp.com/cki/bin/doc.pl/sid=7edc3c4b1df6691a52/screen=ckiDisplayDocument?docId=200000006401202

and this:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x977937f45ef7d4118fef0090279cd0f9,00.html

good luck.
Thomas Schler_1
Trusted Contributor

Re: Returned mail: Insufficient permission

Pedro,

I do have a file permission problem as I described in my first message. But the file permissions of my sendmail is ok. I think you are pointing to another direction that is not of my interest.

I need a tolerant mail daemon that is able to send mails to all members of a mail alias that have correct permissions on their mailboxes even if one mailbox exists that has not correct file permissions set.

Thanks.
no users -- no problems
Pedro Sousa
Honored Contributor

Re: Returned mail: Insufficient permission

You're right... I din not quite understand your question before. I'll try to find out another way to solve this problem.