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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
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. |
|
|||
|
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. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|