I am guessing the contents of .qmail-test are currently |/tmp/foo
the | causes it to be treated wrong.
just try /tmp/foo/ if you want it delivered into the /tmp/foo/ directory

----- Original Message -----
From: "Medi Montaseri" <[EMAIL PROTECTED]>
To: "Dave Sill" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, February 14, 2001 9:13 AM
Subject: Re: aliasing to a command


> Just in case others don't have the context of this posting, we are
> troubleshooting
> a Qmail (.qmail-test) alias containing a command (ie /home/medi/l/foo)
>
> [medi@samba medi]$ ls -ld / /home /home/medi /home/medi/l /home/medi/l/foo
> drwxr-xr-x   23 root     root         4096 Dec 13 13:59 /
> drwxr-xr-x   39 root     root         4096 Feb  7 12:35 /home
> drwx------   10 medi     users        4096 Feb 13 18:30 /home/medi
> drwxr-xr-x    2 medi     users        4096 Feb 13 18:50 /home/medi/l
> -rwxr-xr-x    1 medi     users          94 Feb 13 18:40 /home/medi/l/foo
> [medi@samba medi]$
>
> Since medi's home dir is too strict, I moved foo(1) to /tmp/foo. I now get
> the following
>
> Feb 14 13:10:09 samba qmail: 982185009.542210 starting delivery 12197: msg
> 204880 to local "|/tmp/foo"@mail.sc.prepass.com
> Feb 14 13:10:09 samba qmail: 982185009.542837 status: local 2/10 remote
> 0/20
> Feb 14 13:10:09 samba qmail: 982185009.542963 delivery 12196: success:
> did_0+1+0/qp_12418/
> Feb 14 13:10:09 samba qmail: 982185009.543151 status: local 1/10 remote
> 0/20
> Feb 14 13:10:09 samba qmail: 982185009.543297 end msg 204872
> Feb 14 13:10:09 samba qmail: 982185009.549566 delivery 12197: failure:
> Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
>
> So looks like qmail is not recognizing the command and thinking its a
> user's name.
> FYI I don't have any user called "test", such an alias
> /var/qmail/alias/.qmail-test
>
> Dave Sill wrote:
>
> > [EMAIL PROTECTED] wrote:
> >
> > >Feb 13 18:54:21 samba qmail: 982119261.837833 delivery 11917: deferral:
> > >/bin/sh:_/home/medi/l/foo:_Permission_denied/
> >
> > What is the output of:
> >
> >   ls -ld / /home /home/medi /home/medi/l /home/medi/l/foo
> >
> > (ls really needs a "recursively upward" option.)
> >
> > -Dave
>
> --
> =======================================================================
> Medi Montaseri, [EMAIL PROTECTED], 408-450-7114
> Prepass Inc, IT/Operations, Software Eng.
> =======================================================================
>
>
>
>

Reply via email to