Operating System - HP-UX
1834847 Members
2467 Online
110070 Solutions
New Discussion

Re: How can i enable the local users to send the mail?

 
SOLVED
Go to solution
praveen..
Super Advisor

How can i enable the local users to send the mail?

Hi,
I am able to send the emails with "root" using sendmail

But not able to send the emails with Local users like "oracle"

Please let me know how can i enable the local user "oracle" to send the emails
8 REPLIES 8
Peter Godron
Honored Contributor

Re: How can i enable the local users to send the mail?

Hi,
not much to go on !
Can you check permissions on sendmail executable, queue directories etc.
On my machine, for example:
-r-sr-sr-t 1 root mail 864256 Nov 3 2003 /usr/sbin/sendmail
Dr-xr-xr-x root bin etc
Drwxr-xr-x root bin mail
-r-x-r-s-r-x root smmsp /usr/sbin/sendmail
drwxrwx--- smmsp smmsp /var/spool/clientqueue
drwxr-xr-x root bin /var/spool/mqueue

What does your mail.log file say ?
Have you tried sendmail -v ?
Sunil Sharma_1
Honored Contributor

Re: How can i enable the local users to send the mail?

Praveen,

Some of the mail relay all ows the mail coming from specific address so if Peter's suggestion not work then you need to discuss this with your mail administrator if any such policy in place.

Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
praveen..
Super Advisor

Re: How can i enable the local users to send the mail?

file permissions are ok...
but not able to send the mail using local user.
Peter Godron
Honored Contributor
Solution

Re: How can i enable the local users to send the mail?

Hi,
please provide details from:
What does your mail.log file say ?
Have you tried sendmail -v ?
Andrew Young_2
Honored Contributor

Re: How can i enable the local users to send the mail?

Hi.

Is the UserDatabaseSpec line uncommented in your sendmail.cf file?

Regards

Andrew Y
Si hoc legere scis, nimis eruditionis habes
Coolmar
Esteemed Contributor

Re: How can i enable the local users to send the mail?

use sendmail -v and paste the output so we can maybe get a better picture of what is happening.

# sendmail -v to@who.com
This is a test
.

praveen..
Super Advisor

Re: How can i enable the local users to send the mail?

Yes, I am able to send the mails using #sendmail -v to@who.com
test
.


Thanks
dattu_1
Regular Advisor

Re: How can i enable the local users to send the mail?

hi,
Use elm utility wherein u can create a header say oracle for a user called oracle to send a mail.

Bye.