Date: Sat, 30 Jan 1999 10:01:54 -0800 (PST) From: "Joseph M. Scott" <jmscott@ainet.com> To: Leif Neland <root@neland.dk> Cc: freebsd-isp@FreeBSD.ORG Subject: Re: virtual domains Message-ID: <Pine.GSU.4.05.9901300956180.15347-100000@www.ainet.com> In-Reply-To: <Pine.BSF.4.05.9901300256360.2345-100000@gina.neland.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 30 Jan 1999, Leif Neland wrote: > Can't virtusertable rewrite all adresses in one domain to the same > usernames in another domain? The Simple Answer (tm) is that yes it can. > > why not: > > user@1.domain another@anotherdomain > @1.domain @thirddomain > > when it does > @1.domain onlyone@forthdomain. > > ?? > > I probably have to hardcode some sendmail.cf-lines, I guess... All the magic is using the virtusertable Feature. Take a look at: http://www.sendmail.org/virtual-hosting.html Specifically look at section 4. that starts out with :Create the virtual user table. Then the example that I think you are trying to achieve is under the second set of examples and it looks like : joe@yourdomain.com jschmoe bogus@yourdomain.com error:nouser No such user here list@yourdomain.com yourdomain-list @yourdomain.com %1@othercompany.com The last one does what I think you are describing. Here's the description for the example I just quoted above : In this second example, the address joe@yourdomain.com will be mapped to the local user jschmoe, the address bogus@yourdomain.com will return the indicated error, the address list@yourdomain.com will be mapped to the local user yourdomain-list (which you would use the aliases file to ultimately resolve) and every other user at yourdomain.com will be mapped to a remote user of the same name at othercompany.com. I believe this will do what you were asking for. If I totally missed your point I'm sorry. > > leif@neland.dk * Joseph M. Scott * jmscott@ainet.com * American InfoMetrics * Modesto, CA To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSU.4.05.9901300956180.15347-100000>