Solved

.forward file not working

Posted on 2006-06-26
4
431 Views
Last Modified: 2013-12-27
hello

I am running solaris 8 and my .forward file is not working - any ideas?

thanks
jculkincys
0
Comment
Question by:jculkincys
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 34

Accepted Solution

by:
PsiCop earned 300 total points
ID: 16984068
Is the user's directory group- or world-writable?

Is the .forward file group- or world-writable?

Any error messages in the system log?
0
 
LVL 10

Expert Comment

by:Nukfror
ID: 16984351
Well, a little more information would be helpful :)  Like maybe what you .forward file looks like - obviously obfuscated to non-real email address.   Also, have you look in the /var/adm/messages ?  Depending on how your system is configured, sendmail (or whatever SMTP engine your using) may be putting messages into /var/adm/messages.  This could help you figure out where your .forward may be failing.
0
 
LVL 2

Author Comment

by:jculkincys
ID: 16985092
sorry for the lack of info

I think PsiCop is on the right path

Computer1 (where .forward does not work)
...
drwxr-xr-x   6 user groupa    2048 Jun 26 09:47 .
drwxrwxr-x   8 root     root         512 Apr  5 11:04 ..
...

Computer2 (where .forward does work)
...
drwxr-xr-x   4 user groupb     2560 Jun 26 09:50 .
drwxr-xr-x   9 root     other        512 Apr  5 11:05 ..
...

Also there was an error on the syslog file:
Jun 22 23:59:20 hostname sendmail[num]: [ID num mail.warning] identifier: forward /e
xport/home/user/.forward.hostname+: Group writable directory


The .forward file are the same on the 2 computers

jculkincys
0
 
LVL 27

Assisted Solution

by:Nopius
Nopius earned 200 total points
ID: 16988713
> /export/home/user/.forward.hostname+: Group writable directory
Thats an explaination.  Also this "drwxrwxr-x   8 root     root         512 Apr  5 11:04 .."

You have a group writable directory /export/home/ (root group has a write permission).
If it's not importent, disable group writable flag:
chmod g-w /export/home
chmod g-w /export/home/user

OR

If it's importent to have root group writable user directory disable group writable checks in sendmail.cf (it should be somewhere below /etc or /etc/mail):
Uncomment and change this line:

#O DontBlameSendmail=safe
O DontBlameSendmail=ForwardFileInGroupWritableDirPath,ForwardFileInUnsafeDirPath,ForwardFileInUnsafeDirPathSafe

then restart sendmail
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses

615 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question