Hi Brett,
thanks for the explanation.
thanks all for the help :-))
cu ycae
Brett Randall wrote:
>
> Hi Yves
>
> >>>>> "Yves" == Yves Caetano <[EMAIL PROTECTED]> writes:
>
> > hi, but isn't it possible to do it like in sendmail in the
> > mailertable?
>
> Not without writing a patch. Qmail's method is more extensive and
> flexible than sendmail's, anyhow.
>
> > if you take the smtproutes of qmail it is nearly the same than the
> > mailertable of sendmail but you cannot add a line like this
> > domain.com:[EMAIL PROTECTED] .is this true?
>
> No. The difference between simply forwarding an e-mail on to another
> server and saving it locally is a little larger than it may appear.
>
> > i don't want that the server will act as a popserver and then
> > forward it. i want the smtp to forward directly.
>
> Well, believe it or not, Kirill's suggestion doesn't make the server
> `act as a popserver'. A popserver stores the mail for later
> retrieval. The .qmail* files decide what happens to e-mail, not
> necessarily where it is stored. Think about it. In simple terms, qmail
> receives an e-mail. The domain name it is addressed to (in RCPT TO) is
> not in locals, so it checks virtualdomains. It finds the domain there,
> and forwards it on to prefix-domain-user locally. qmail then sees that
> there is a .qmail file in ~prefix called .qmail-domain-default. It
> then carries out the `commands' in this file which reroute the mail
> again. So, in essence, the mail is never `stored' anywhere but gets
> forwarded along a line. I think you will find that the time taken to
> get one message from the outside world to the final user would be in
> the...hmmm...let me think...seconds degree I would think?
>
> Brett.
>
> > cu ycae
>
> > Kirill Miazine wrote:
> >> * Yves Caetano <[EMAIL PROTECTED]> [20010326 11:01]: > hi, > > is
> >> it possible to forward all the emails for one domain to one email >
> >> address?? > > like : @domain.com -> [EMAIL PROTECTED]
> >>
> >> Yes,
> >>
> >> echo domain.com:user-domain >> /var/qmail/control/virtualdomains
> >> echo domain.com >> /var/qmail/control/rcpthosts HUP qmail-send echo
> >> [EMAIL PROTECTED] ~user/.qmail-domain-default
> >>
> >> > > thanks > > cu ycae > -- > Yves Caetano > Server Support
> >> Engineer > Tel: 295383 254 > Fax: 295383 222 > email:
> >> [EMAIL PROTECTED] http://www.incotech.lu -- Kirill
>
> > -- Yves Caetano Server Support Engineer Tel: +352 295383 254 Fax:
> > +352 295383 222 email: [EMAIL PROTECTED] http://www.incotech.lu
>
> --
> "Hey, I know this! This is Unix!"
>
> - Jurassic Park
--
Yves Caetano
Server Support Engineer
Tel: +352 295383 254
Fax: +352 295383 222
email: [EMAIL PROTECTED] http://www.incotech.lu