- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sendmail does not send local mail
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2001 01:46 AM
02-13-2001 01:46 AM
I modified sendmail to use a smart relay for external mail delivery, but now my sendmail does not send mail on local user.
I don't want to use external relay for local mail...
The message when I do
sendmail -v root
...
root... connecting to local...
root... insufficient permission
rewrite: map user not found
saving message in .../dead.letter
I also defined CL root but it doesn't run
Anybody can help me??
Regards
Roberto
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2001 04:04 AM
02-13-2001 04:04 AM
Re: sendmail does not send local mail
Also check the ownership and permissions on /usr/lib/sendmail, /usr/mail,
and /bin/mail & /bin/rmail should be similar i think ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2001 05:13 AM
02-13-2001 05:13 AM
Re: sendmail does not send local mail
permissions are ok (775 for /var/mail)
I think it's a problem of sendmail.cf...
On an other host local sending is ok. The difference in the host I have the problem I use the relay host to verify external email address. But for local mail I think local host should know destinations...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2001 05:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2001 06:14 AM
02-13-2001 06:14 AM
Re: sendmail does not send local mail
here's sendmail.cf
Thank's a lot
Regards
Roberto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2001 02:15 AM
02-14-2001 02:15 AM
Re: sendmail does not send local mail
I think my sendmail.cf is correct.
What's the user map file?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2001 03:30 AM
02-14-2001 03:30 AM
Re: sendmail does not send local mail
Have a look at the following:
The current default behaviour of sendmail is:
(i) If DS is set, sendmail will deliver all mail to relay host specified by DS.
(ii) If DS is not set, sendmail will deliver all mail directly to the host for which it is destined.
If the user wishes to have all mail destined for hosts in the local domain to be delivered directly, the user should UNCOMMENT the following ruleset in S0, and restart sendmail.
# See if we are supposed to deliver to hosts in the local domain
R$* < @ $* > $* $: $>check_local <$m> $1 < @ $2 > $3 Local Domain?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2001 03:42 AM
02-14-2001 03:42 AM
Re: sendmail does not send local mail
but I need sendmail uses local mail for local users
Uncommenting lined you indicated in S0
the situation is identical...
Here's the output of sending local mail
dcfe02:/etc/mail#>sendmail -v root
ciao
.
root... Connecting to local...
root... Insufficient permission
rewrite: map user not found
/home/con107/dead.letter... Saved message in /home/con107/dead.letter
(I'm connected with my user con107 and su - root)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2001 04:05 AM
02-14-2001 04:05 AM
Re: sendmail does not send local mail
It was a permission problem...
I don't know the reason, but in /var/mail
root had user root and group sys
I did a
chown root:mail root
and that fixed the problem.
So, Alex thought right at the beginning
Best regards
Roberto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2001 04:46 AM
02-14-2001 04:46 AM
Re: sendmail does not send local mail
sendmail -d11.1 -v root
This will display some more tracing relating to the local mailer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2001 05:12 AM
02-14-2001 05:12 AM
Re: sendmail does not send local mail
Dave thank's for the hint
sincerly
Roberto