Sean C Truman wrote:
> 
> Ryan,
> 
>     Someone correct me if I am wrong, but the alias_line need to comply with
> .qmail standards. &[EMAIL PROTECTED] to forward and if you wish to deliver to
> Maildir just use /home/vpopmail/domains/domain.com/test/Maildir

Almost. Your syntax is alittle off. .qmail files can take
&emailaddress
emailaddress
/dir/dir/dir/dir/
/dir/dir/dir/something
| some_program with_args

The first two are valid forwards.
The third is a valid Maildir line. Note that a Maildir line
requires a trailing / character. The forth line is a
Mailbox format delivery. The fifth and last line is to
exec and pipe to a program. The program gets the file
descriptor of the full email (headers and body) at 
the begining of the file. That is how vdelivermail
gets the email message file descriptor on standard in.

export MANPATH=/var/qmail/man
man dot-qmail 
for the reference page

Ken

> 
> Sean
> 
> ----- Original Message -----
> From: "Ryan Duda" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, May 17, 2001 1:29 PM
> Subject: valias command under 4.10.3
> 
> > Hi,
> >
> > I installed 4.10.3 last night with "--enable-mysql=y --enable-valias=y".
> > Then tried issuing the ./valias command:
> >
> > ./valias
> > must supply alias email address
> > valias: usage: [options] email_address
> > options: -v ( display the vpopmail version number )
> >           -s ( show aliases )
> >           -d ( delete alias )
> >           -i alias_line (insert alias line)
> > -
> >   My current user is  [EMAIL PROTECTED], so I wanted to add an alias,
> > [EMAIL PROTECTED] and point to [EMAIL PROTECTED]
> >
> > ./valias -i sales [EMAIL PROTECTED]
> > -
> > select * from valias;
> > +-------+---------+-------------+
> > | alias | domain  | valias_line |
> > +-------+---------+-------------+
> > | test  | domain.com | sales       |
> > +-------+---------+-------------+
> > -
> >
> > Alright, from my understanding I should be able to send mail to
> > [EMAIL PROTECTED] which will then redirect the mail into the
> [EMAIL PROTECTED]
> > account.
> > -
> >
> > May 17 14:23:34 secure qmail: 990123814.611502 starting delivery 3: msg
> > 436484 to local [EMAIL PROTECTED]
> > May 17 14:23:34 secure qmail: 990123814.612775 status: local 1/10 remote
> 0/20
> > May 17 14:23:34 secure qmail: 990123814.713287 delivery 3: failure:
> > Sorry,_no_mailbox_here_by_that_name._vpopmail_(#5.1.1)/
> > May 17 14:23:34 secure qmail: 990123814.745175 status: local 0/10 remote
> 0/20
> > May 17 14:23:34 secure qmail: 990123814.756276 bounce msg 436484 qp 333
> > -
> >
> > I guess my question is, what is valias command used for then?
> >
> > Thanks,
> > -Ryan
> >
> >

Reply via email to