set qmail to forward some isp users to local accounts

This is a discussion on set qmail to forward some isp users to local accounts within the alt.comp.mail.qmail forums, part of the Mail Servers and Related category; Hi, is it possible to tell qmail to forward (dunno if it's the right word) mail to some users ...


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.qmail

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-26-2004
Paulo Nobre
 
Posts: n/a
Default set qmail to forward some isp users to local accounts

Hi,

is it possible to tell qmail to forward (dunno if it's the
right word) mail to some users to some local accounts ?

For example:

If local user jdoe sends a mail to foo.bar@myisp.com qmail, delivers
it to local account fbar, however, every other mail to *@myisp.com
will normally be sent out.

I've already tried to put myisp.com in virtualdomains and rcpthosts,
and that *partially* works, but, every other mail to myisp.com gets
bounced.

TIA
Reply With Quote
  #2 (permalink)  
Old 02-27-2004
Dave Sill
 
Posts: n/a
Default Re: set qmail to forward some isp users to local accounts

Paulo Nobre <paulo<dot>nobre<at>mail<dot>telepac<dot>pt> writes:

> is it possible to tell qmail to forward (dunno if it's the
> right word) mail to some users to some local accounts ?


Yes.

> For example:
>
> If local user jdoe sends a mail to foo.bar@myisp.com qmail, delivers
> it to local account fbar, however, every other mail to *@myisp.com
> will normally be sent out.
>
> I've already tried to put myisp.com in virtualdomains and rcpthosts,
> and that *partially* works, but, every other mail to myisp.com gets
> bounced.


Use virtual *user* entries in virtualdomains, e.g.:

foo.bar@myisp.com:fbar

And make sure fbar has either a .qmail-foo:bar or .qmail-default file
to catch the messages.

--
Dave Sill Oak Ridge National Lab, Workstation Support
Author, The qmail Handbook <http://web.infoave.net/~dsill>
<http://lifewithqmail.org/>: Almost everything you always wanted to know.
Reply With Quote
  #3 (permalink)  
Old 02-28-2004
Paulo Nobre
 
Posts: n/a
Default Re: set qmail to forward some isp users to local accounts

On Thu, 26 Feb 2004 23:45:09 +0000, Paulo Nobre
<paulo<dot>nobre<at>mail<dot>telepac<dot>pt> wrote:

Thnkx Dave...i got it running.

Paulo

Dave Sill <MaxFreedom@sws5.ornl.gov> wrote in message
news:<wx0ptc0cns3.fsf@sws5.ornl.gov>...
> Paulo Nobre <paulo<dot>nobre<at>mail<dot>telepac<dot>pt> writes:
>
> > is it possible to tell qmail to forward (dunno if it's the
> > right word) mail to some users to some local accounts ?

>
> Yes.
>
> > For example:
> >
> > If local user jdoe sends a mail to foo.bar@myisp.com qmail, delivers
> > it to local account fbar, however, every other mail to *@myisp.com
> > will normally be sent out.
> >
> > I've already tried to put myisp.com in virtualdomains and rcpthosts,
> > and that *partially* works, but, every other mail to myisp.com gets
> > bounced.

>
> Use virtual *user* entries in virtualdomains, e.g.:
>
> foo.bar@myisp.com:fbar
>
> And make sure fbar has either a .qmail-foo:bar or .qmail-default file
> to catch the messages.


Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:20 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0