Date: Tue, 12 Feb 2002 06:58:54 +0100 From: dirk.meyer@dinoex.sub.org (Dirk Meyer) To: freebsd-isp@FreeBSD.ORG, viper@2ghz.net Subject: Re: Sendmail Question Message-ID: <gBQiI2Ipd0@dmeyer.dinoex.sub.org> References: <1013355313.3c669331a6089@webmail.2ghz.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?gBQiI2Ipd0>