Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 02-14-2005, 02:54 AM   #1
LQ Newbie
Registered: Oct 2004
Posts: 7

Rep: Reputation: 0
.forward file not working for user having it's home directoryon NFS mounted directory

I have sendmail 8.11.x installed on my Red Hat system.
Problem: I have created two users. One of the user (test1) is setup locally and the other user (test2) has been set up on a NFS mounted directory (/home2/test2), where /home2/ is NFS mounted on my system.

I have setup a .forward files for both these users. Any mail sent to these users are forwarded to a perl file which parses the email and creates some text files. The entry in the .forward file is like this : "|/home2/test2/ NEWLIST" .
I have created links to the executable programs in /etc/smrsh directory as well.

The problem is that when a mail is being sent to the user test1 ( existing locally, home dir: /home/test1 ), the .forward file forwards the email to the program and the program is executed and the text files are created. But when an email is being sent to the user ( existing on NFS mounted dir., home dir: /home2/test2 ), the email is not forwarded to the program and the files are not created.
The maillog files displays :
Feb 7 10:11:15 sendmail[28349]: j17FBF528349: from=<>, size=732, class=0, nrcpts=1,>, proto=ESMTP, daemon=Daemon0,

Feb 7 10:11:15 sendmail[28350]: j17FBF528349: to="|/home/test2/ NEWLIST", ctladdr=<> (507/1), delay=00:00:00, xdelay=00:00:00, mailer=prog, pri=30159, dsn=2.0.0, stat=Sent

It shows that the mail has been delivered to the program but the files are not generated.
Is there anything missing to complete this issue? Any suggestions, inputs or references would be highly appreciated.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
program run from nfs-mounted directory behaves badly jabel5 Other *NIX 3 10-05-2005 08:40 AM
NFS export of directory with mounted iso-images leipy SUSE / openSUSE 1 06-03-2005 08:12 PM
Mounted NFS directory (Read-Only) dunmarie Linux - General 3 08-04-2004 03:17 AM
I have an nfs mounted /home and 'adduser' fails to create a new user dipukm Linux - Software 4 06-01-2004 06:38 PM
cant see .forward file in home directory >> mail forward/copy steve_babbage Linux - Newbie 0 03-02-2004 06:25 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:26 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration