- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- root mail forwarding stopped working ???
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
тАО09-16-2003 12:27 PM
тАО09-16-2003 12:27 PM
root mail forwarding stopped working ???
Does anyone know what i could do to fix this? Mail is getting to root's inbox ok, i can still read root's mail. But it isn't getting forwarded. The .forward file hasn't been modified recently.
thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2003 12:33 PM
тАО09-16-2003 12:33 PM
Re: root mail forwarding stopped working ???
root> ll .forward
-r-------- 1 root sys 15 Mar 10 2003 .forward
Check not only perms but also owner and group. If that is ok, then try bouncing sendmail and look for errors in /var/adm/syslog/mail.log.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2003 12:36 PM
тАО09-16-2003 12:36 PM
Re: root mail forwarding stopped working ???
Along with the suggestion above, look at /var/adm/syslog/mail.log for more information. If there are any syntax errors or permissions issues, they will be logged in there.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2003 12:55 PM
тАО09-16-2003 12:55 PM
Re: root mail forwarding stopped working ???
sendmail -v -d8.99 -d38.99 root
steve was here
.
You will see it forward or you will see the error right on your screen.
or tail -f the mail.log file and shoot an email to the user.
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
тАО09-16-2003 02:20 PM
тАО09-16-2003 02:20 PM
Re: root mail forwarding stopped working ???
Sep 16 23:14:28 ukx1 sendmail[19108]: XAA19108: forward /.forward.ukx1: World writable directory
Sep 16 23:14:28 ukx1 sendmail[19108]: XAA19108: forward /.forward: World writable directory
The sendmail test/debug shows this:
sendmail -v -d8.99 -d38.99 root
seq_map_parse(aliases.files, )
WARNING: World writable directory /var
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: /.forward.ukx1: World writable directory
root... forward: /.forward: World writable directory
another test from root on ukx1
.
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)
The permissions for .forward are 744 root sys
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2003 02:34 PM
тАО09-16-2003 02:34 PM
Re: root mail forwarding stopped working ???
Check the permissions on the root's home directory. / or /root whatever is defined as your root's home.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2003 09:16 PM
тАО09-16-2003 09:16 PM
Re: root mail forwarding stopped working ???
drwxr-xr-x 13 root sys 2048 Sep 17 00:07 root
and the perms on the .forward file should be 400 as I indicated earlier. While you are at it check the /etc/mail directory:
root> ll -d /etc/mail
drwxr-xr-x 2 root bin 8192 Jul 15 09:27 /etc/mail
The /etc/mail directory has to have no write access for "other".
Good luck,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2003 09:56 PM
тАО09-16-2003 09:56 PM
Re: root mail forwarding stopped working ???
Post the contents of your .forward file. Are U forwarding the mail to your offical mail ID or something ?
It happens sometime that the problem is with server which is supposed to deliver the forwarded mail to your inbox.
I would check on this end as well.
Sundar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2003 09:56 PM
тАО09-16-2003 09:56 PM
Re: root mail forwarding stopped working ???
Post the contents of your .forward file. Are U forwarding the mail to your offical mail ID or something ?
It happens sometime that the problem is with server which is supposed to deliver the forwarded mail to your inbox.
I would go for a check on this end as well.
Sundar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-17-2003 12:07 AM
тАО09-17-2003 12:07 AM
Re: root mail forwarding stopped working ???
It does not hurt, to check the mail queue either (mailq(1)).
If you send a mail directly to the address that is in the .forward, does that arrive?
HTH
Kasper