- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Root Mail Problem.
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
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
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
тАО03-08-2005 05:09 AM
тАО03-08-2005 05:09 AM
Root Mail Problem.
NOTE: Back in January I was trying to upgrade my OS from 11.0 to 11.i but wasnтАЩt able to complete the upgrade due to some kernel files that were out of sync and needed to be reloaded. Management told me not to proceed at that point so I stopped.
In case this makes a difference, I have other users that are still getting their mail forwarded thru the server to their exchange mailbox using their тАЬ.forwardтАЭ file. Right now the problem seems to only exist with root.
Th
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2005 05:19 AM
тАО03-08-2005 05:19 AM
Re: Root Mail Problem.
tail -f /var/adm/syslog/mail.log
Then direct a mail that should be forwarded.
You will get error diagnostics right on the screen.
You could also get interesting information on the machine itself with:
sendmail -v -d8.99 -d38.99 root
type some text
.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2005 05:22 AM
тАО03-08-2005 05:22 AM
Re: Root Mail Problem.
Does file /etc/mail/aliases exists??
Can you send email to the address that you mentioned in .forward file directly??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2005 05:43 AM
тАО03-08-2005 05:43 AM
Re: Root Mail Problem.
Mar 8 09:32:36 diomede sendmail[16661]: Warning: .cf file is out of date: sendmail 8.9.3 (PHNE_29773) supports version 8, .cf file
is version 6
Mar 8 09:32:36 diomede sendmail[16661]: JAA16661: forward /home/root/.forward.diomede: World writable directory
Mar 8 09:32:36 diomede sendmail[16661]: JAA16661: forward /home/root/.forward: World writable directory
Mar 8 09:33:32 diomede sendmail[16661]: JAA16661: from=root, size=28, class=0, pri=30028, nrcpts=1, msgid=<200503081832.JAA16661@di
omede.>, relay=root@localhost
Mar 8 09:33:32 diomede sendmail[16661]: JAA16661: to=root, ctladdr=root (0/3), delay=00:00:56, xdelay=00:00:00, mailer=local, stat=
Sent
root: /etc ==> sendmail -v -d8.99 -d38.99 root
seq_map_parse(aliases.files, )
map_init(sequence:aliases.files, NULL, 0)
sequence:aliases.files NULL: valid
map_init(implicit:Alias0, /etc/mail/aliases, 0)
wrong pass (pass = 0, rebuildable = 1)
map_init(host:host, NULL, 0)
host:host NULL: valid
map_init(switch:aliases, aliases, 0)
switch_map_open(aliases, aliases, 0)
switch_map_find => 1
files
map_stack[0] = sequence:aliases.files
switch:aliases aliases: valid
map_init(dequote:dequote, NULL, 0)
dequote:dequote NULL: valid
map_init(sequence:aliases.files, NULL, 1)
wrong pass (pass = 1, rebuildable = 0)
map_init(implicit:Alias0, /etc/mail/aliases, 1)
impl_map_open(Alias0, /etc/mail/aliases, 0)
hash_map_open(Alias0, /etc/mail/aliases, 0)
impl_map_lookup(Alias0, @)
db_map_lookup(Alias0, @)
implicit:Alias0 /etc/mail/aliases: valid
map_init(host:host, NULL, 1)
wrong pass (pass = 1, rebuildable = 0)
map_init(switch:aliases, aliases, 1)
wrong pass (pass = 1, rebuildable = 0)
map_init(dequote:dequote, NULL, 1)
wrong pass (pass = 1, rebuildable = 0)
seq_map_lookup(aliases, root)
seq_map_lookup(aliases.files, root)
impl_map_lookup(Alias0, root)
db_map_lookup(Alias0, root)
root... forward: /home/root/.forward.diomede: World writable directory
root... forward: /home/root/.forward: World writable directory
this is a test
only a test
.
root... Connecting to local...
root... Sent
closemaps: closing aliases.files (NULL)
closemaps: closing Alias0 (/etc/mail/aliases)
impl_map_close(Alias0, /etc/mail/aliases, 12a3)
db_map_close(Alias0, /etc/mail/aliases, 12a3)
closemaps: closing host (NULL)
closemaps: closing aliases (aliases)
closemaps: closing dequote (NULL)
You have mail in /var/mail/root
root: /etc ==>
RAC ├в Yes, /var/mail/root and /etc/mail/aliases do exist. When I tried to send an email to that address it didn├в t work. Here is what I did:
root: /etc/mail ==> mail -dt jgoldsmith@co.fairbanks.ak.us
hello Jeff
did you get this?
.
mail: can't send to jgoldsmith@co.fairbanks.ak.us
Mail saved in /home/root/dead.letter
root: /etc/ma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2005 06:20 AM
тАО03-08-2005 06:20 AM
Re: Root Mail Problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2005 06:26 AM
тАО03-08-2005 06:26 AM
Re: Root Mail Problem.
Give appropriate perms to this dir and check.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2005 06:33 AM
тАО03-08-2005 06:33 AM
Re: Root Mail Problem.
-rw-r--r-- 1 root sys 56 Mar 7 14:43 .forward
And this is what mine looks like and it works:
-rw-r--r-- 1 root sys 30 Mar 7 09:14 .forward
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2005 09:50 AM
тАО03-10-2005 09:50 AM
Re: Root Mail Problem.
I did get this error when sending a mail message:
Mar 10 13:44:41 diomede sendmail[25522]: Warning: .cf file is out of date: sendmail 8.9.3 (PHNE_29773) supports version 8, .cf file is version 6
Do I need to install patch PHNE_29773 to fix this problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2005 10:26 AM
тАО03-10-2005 10:26 AM
Re: Root Mail Problem.
(screen #1) tail -f /var/adm/syslog/mail.log
(screen #2)sendmail -v -d8.99 -d38.99 root
I get the following information in the mail.log file. It doesnt show up if I do the sendmail test with my user id.
Mar 10 13:58:54 diomede sendmail[26189]: NAA26189: forward /home/root/.forward.diomede: World writable directory
Mar 10 13:58:54 diomede sendmail[26189]: NAA26189: forward /home/root/.forward: World writable directory
What is happening?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-17-2005 06:46 AM
тАО03-17-2005 06:46 AM