* H S Rai <[EMAIL PROTECTED]> [2003-12-11 09:21 PST]:
> Today at 11:54am -0500 Suresh Ramasubramanian wrote:
>
> > H S Rai writes on 12/11/2003 11:50 AM:
> >
> > > On RH 8 PC, I am not able to forward my emails using .forward. What
> > > can be possible reasons for this?
> >
> > Sample bounce that you get?
>
> I don't get any bounce. Mails delivered to user just like there is no
> .forward file.
I looked on a redhat 9 machine and there is no man page for forward. So I
am including this small snippet of the forward(4) man page from a solaris 8
machine. While a different OS, the principles and file formats *might* be
similar.
<snip>
If the first character of the address is a vertical bar (|),
sendmail(1M) pipes the message to the standard input of the
command the bar precedes.
<snip>
Automatic Forwarding
When an alias (or address) is resolved to the name of a user
on the local host, sendmail(1M) checks for a ~/.forward
file, owned by the intended recipient, in that user's home
directory, and with universal read access. This file can
contain one or more addresses or aliases as described above,
each of which is sent a copy of the user's mail.
Care must be taken to avoid creating addressing loops in the
~/.forward file. When forwarding mail between machines, be
sure that the destination machine does not return the mail
to the sender through the operation of any NIS aliases. Oth-
erwise, copies of the message may "bounce." Usually, the
solution is to change the NIS alias to direct mail to the
proper destination.
A backslash before a username inhibits further aliasing. For
instance, to invoke the vacation program, user js creates a
~/.forward file that contains the line:
\js, "|/usr/ucb/vacation js"
so that one copy of the message is sent to the user, and
another is piped into the vacation program.
<end>
Also, do check whether your .forward is word readable - I believe it needs
to be.
HTH -- Aseem.
--
"Where the clear stream of reason has not lost its way into the dreary
desert sand of dead habit" -- Geetanjali
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help