From owner-freebsd-questions Fri Nov 8 2:52: 1 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 408EA37B401 for ; Fri, 8 Nov 2002 02:51:59 -0800 (PST) Received: from ei.bzerk.org (ei.xs4all.nl [213.84.67.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id C660443E42 for ; Fri, 8 Nov 2002 02:51:53 -0800 (PST) (envelope-from fbsd-q@bzerk.org) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.12.6/8.12.6) with ESMTP id gA8Aqxrk068625; Fri, 8 Nov 2002 11:53:00 +0100 (CET) (envelope-from stable@ei.bzerk.org) Received: (from stable@localhost) by ei.bzerk.org (8.12.6/8.12.6/Submit) id gA8Aqxt1068624; Fri, 8 Nov 2002 11:52:59 +0100 (CET) Date: Fri, 8 Nov 2002 11:52:59 +0100 From: Ruben de Groot To: Peter Jamrisko Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Mail server Message-ID: <20021108105259.GA68269@ei.bzerk.org> References: <4f1cd1a970682f9a5626f2c07a1b22f5@www1.mail.post.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4f1cd1a970682f9a5626f2c07a1b22f5@www1.mail.post.cz> User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi Peter, On Fri, Nov 08, 2002 at 09:57:51AM +0100, Peter Jamrisko typed: > Hello! > > My name is Peter Jamrisko and I'm from Slovakia. In network with 10 > computers I already installed FreeBSD release 4.6. I need help (how > to) to install MAIL SERVER: What exactly do you want your "MAIL SERVER" to do? How will the 10 computers on your network be accessing the server (pop3, imap, or just telnet/ssh in and read mail locally) Note that sendmail (or postfix, for that matter) is just an MTA. It will not do pop3 or imap. For these you'll have to install the corresponding programs, e.g. qpopper and imap-uw. > 1. On this network without connection to Internet (only in local > network), Start by setting up mailboxes on the FreeBSD server. The simplest way of doing this is by just creating the users with adduser. Since sendmail is allready running you can without further configuration send local mail between those users. You can install qpopper (pkg_add -r qpopper) to let your WinXP clients access these mailboxes. > 2. and than on the same network connected to Internet via FreeBSD > server (which included Mail Server, Firewall, Router...). 1) Make sure the hostname of your mailserver resolves in DNS 2) Put the IP addresses of your other computers in /etc/mail/relay-domains (one per line, create the file if it doesn't exist) > I'm total beginner in FreeBSD and I need step-by-step instructions > or good link that would help me to solve my problem (how to setup > Sendmail, configuration of all files contiguous on Mail server, how > to create mailboxes for users, dependency between users's login and > mailboxes, etc.) Sendmail is already installed, but not configured. > On workstations is installed Windows XP. > > In FreeBSD handbook I found something, but not detailed and complete > information. There are countless ways to setup mail services. That's why the information in the handbook is a bit general. > > Thank you for your help. > > Peter. > > My e-mail address: jamrisko@post.cz > > > -- > --- > Str?nky o automobilech, novinky, autobazary, nov? auta, > p??slu?enstv?, poji?t?n? aut... http://automoto.volny.cz > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message