From owner-freebsd-questions@FreeBSD.ORG Mon Mar 10 18:33:33 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 37208106567C for ; Mon, 10 Mar 2008 18:33:33 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr14.xs4all.nl (smtp-vbr14.xs4all.nl [194.109.24.34]) by mx1.freebsd.org (Postfix) with ESMTP id 9FE038FC26 for ; Mon, 10 Mar 2008 18:33:32 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr14.xs4all.nl (8.13.8/8.13.8) with ESMTP id m2AIXUl6028262; Mon, 10 Mar 2008 19:33:31 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 52DACB82A; Mon, 10 Mar 2008 19:33:30 +0100 (CET) Date: Mon, 10 Mar 2008 19:33:30 +0100 From: Roland Smith To: Ivailo Bonev Message-ID: <20080310183330.GA50364@slackbox.xs4all.nl> Mail-Followup-To: Ivailo Bonev , freebsd-questions@freebsd.org References: <002a01c88298$aac49930$f800000a@chameleon> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ew6BAiZeqk4r7MaW" Content-Disposition: inline In-Reply-To: <002a01c88298$aac49930$f800000a@chameleon> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: mail server from Windows to FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Mar 2008 18:33:33 -0000 --ew6BAiZeqk4r7MaW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 10, 2008 at 12:22:39PM +0200, Ivailo Bonev wrote: > I have a Windows machine that get all e-mails, from few accounts, from=20 > different Internet providers. I want to setup FreeBSD machine that get al= l=20 > mails from accounts and remote and local users get their mails from that= =20 > FreeBSD mail storage server. I don't own a domain or MX records. Ok. > I read many docs in Intrernet, and now I have installed FreeBSD 7.0=20 > RELEASE, with installed fetchmail port (to get mail from various accounts= ),=20 Fetchmail is the right tool for the job. > sendmail-sasl port, and dovecot for IMAP server. But now I'm lost, from= =20 > where to start configuring FreeBSD mail server? IMHO postfix is easier to set up than sendmail, but the principles are the same. I would make users on the FreeBSD machine for everyone that needs to download mail from the machine. Use a non-existent home-directory and /usr/bin/nologin as the shell for these accounts. Use the virtual hosts feature to deliver mail for different addresses to local users. See e.g. http://mathforum.org/~sasha/tech/sendmailvhosts.html I haven't used dovecot, so I can't help you much with that. If your FreeBSD server and the windows clients are on a trusted private subnet, I would probably just use plain text authentication. > And one last thing, how can deliver all mail messages from Outlook Expres= s=20 > client from Windows machine to FreeBSD mail server machine? You can set the FreeBSD machine as the outgoing mail server in Outlook. But this might not work, depending on your set-up. If you relay the mail to your ISP's mailserver, it probably won't handle incoming mail from addresses outside his domain. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --ew6BAiZeqk4r7MaW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.8 (FreeBSD) iEYEARECAAYFAkfVfvoACgkQEnfvsMMhpyU1uQCggjQkcD9ow3cl2jMrVrkEaRts ZLoAnR9Bx+LzmH0/YcBBFY0y16WcyDrM =mIlz -----END PGP SIGNATURE----- --ew6BAiZeqk4r7MaW--