On Tue, Dec 29, 1998 at 07:01:57PM -0000, Russell Nelson wrote:
> David J. Dooling writes:
>  | Once mail arrived at the desired machine, sendmail would
>  > recognize that the .forward file contained the same address that just
>  > received the mail and not re-forward to the same address multiple
>  > times, but simply terminate the delivery at the address in .forward.
> 
> Something like this ought to do it:
> 
> |condredirect $USER@canonicalhost test ! `hostname` == canonicalhost
> ./Mailbox

Hmmm hmmm ... I don't get the original posting straight.
He said his $HOME is NFS mounted and he wants all mail sent to a single
host, so he gets mail in case NFS is down. This will never have worked
with $HOME/.forward and will not with $HOME/.qmail either as they simply
don't exist if NFS is down. And with NFS working you don't need any off
them, if delivering to $HOME.

I think the only true solution is to add his username to qmail/users with
a $HOME outside the NFS tree and create there a .qmail file which will
|forward $USER@canonicalhost
This has to be done on any `hostname` != canonicalhost

        \Maex

Reply via email to