From owner-freebsd-isp Mon Feb 11 23:44:52 2002 Delivered-To: freebsd-isp@freebsd.org Received: from net2.dinoex.sub.org (net2.dinoex.de [212.184.201.182]) by hub.freebsd.org (Postfix) with ESMTP id 638BC37B416 for ; Mon, 11 Feb 2002 23:44:07 -0800 (PST) Received: from gate.dinoex.sub.org (dinoex@localhost) by net2.dinoex.sub.org (8.11.6/8.11.6) with BSMTP id g1C655528943; Tue, 12 Feb 2002 07:05:05 +0100 (CET) (envelope-from dirk.meyer@dinoex.sub.org) To: freebsd-isp@FreeBSD.ORG, viper@2ghz.net Message-ID: From: dirk.meyer@dinoex.sub.org (Dirk Meyer) Organization: privat Subject: Re: Sendmail Question Date: Tue, 12 Feb 2002 06:58:54 +0100 X-Mailer: Dinoex 1.77 References: <1013355313.3c669331a6089@webmail.2ghz.net> X-Gateway: ZCONNECT gate.dinoex.sub.org [UNIX/Connect 0.93] X-Accept-Language: de,en X-PGP-Fingerprint: 44 16 EC 0A D3 3A 4F 28 8A 8A 47 93 F1 CF 2F 12 X-Noad: Please don't send me ad's by mail. I'm bored by this type of mail. X-Copyright: (C) Copyright 2001 by Dirk Meyer -- All rights reserved. X-Note: sending SPAM is a violation of both german and US law and will at least trigger a complaint at your provider's postmaster. X-PGP-Key-Avail: mailto:pgp-public-keys@keys.de.pgp.net Subject:GET 0x331CDA5D X-No-Archive: yes X-ZC-VIA: 20020212000000W+1@dinoex.sub.org Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Viper wrote: > Hi I have a small delema here. I have a setup that is going to have a sendmail > relay that will have a main domain "domain.com", and also "domain2.com". They > will both go to the same Mail server inside the network. But the problem I am > having is that I need to be able to relay for there domains and also have > forwards for them. What is the best way to do this? You need features "MAILERTABLE" and "ACCESS" Then just add your domains: /etc/mail/access: To:domain.com RELAY To:domain2.com RELAY /etc/mail/mailtertable domain.com smtp:[real-host-that-gets-mail-for-domain] domain2.com smtp:[real-host-that-gets-mail-for-domain2] kind regards Dirk - Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message