From owner-freebsd-questions@freebsd.org Sun Aug 7 17:23:00 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0A69ABB140C; Sun, 7 Aug 2016 17:23:00 +0000 (UTC) (envelope-from solene@perso.pw) Received: from bsd.zplay.eu (perso.pw [62.210.240.224]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "bsd.zplay.eu", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 518C51361; Sun, 7 Aug 2016 17:22:58 +0000 (UTC) (envelope-from solene@perso.pw) Received: from bsd.zplay.eu (localhost [127.0.0.1]) by bsd.zplay.eu (OpenSMTPD) with ESMTP id 86fa9ade; Sun, 7 Aug 2016 19:16:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=perso.pw; h=to:subject :mime-version:content-type:content-transfer-encoding:date:from :cc:in-reply-to:references:message-id; s=selector1; bh=4ZsK1c+bN f5Ooytwlf/CPfjI46w=; b=itYFVMkE83Y6l7QCHlsz/rXstAwcEazvjfpkGQ9iB K4xKa9n1dhrnlp0o5iw9YxZYAn40rQNeyN92dKxwx02ywPniN8UlHA5U9wRG0RKi I86UsXQwekO7g5NL0iZPcqr3ZgfcaqyHbTRmBmeqN7zyvRe0yU2rovVmD/a9Zsox nA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=perso.pw; h=to:subject :mime-version:content-type:content-transfer-encoding:date:from :cc:in-reply-to:references:message-id; q=dns; s=selector1; b=Ln0 PhmVMY4ecBGNUFOh2U7kSK6jWWfIXj9EGqNKZmeyDTUIummaVkPBbTe/hYIVcplW FUbBzDT2O0bXen4CazcIqIzZ4YKnZ5NgmCfsONxfA3qDBHUM+4GbeT18Jep9u54W DTlKt7TnV9rfOqIiv1lsvQLP2Fhc7ffzGHcQbSIg= Received: from localhost (bsd.zplay.eu [local]) by bsd.zplay.eu (OpenSMTPD) with ESMTPA id 472c5884; Sun, 7 Aug 2016 19:16:06 +0200 (CEST) To: Manish Jain Subject: Re: Need advice for setting up mail server X-PHP-Originating-Script: 0:rcube.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Sun, 07 Aug 2016 19:16:06 +0200 From: =?UTF-8?Q?Sol=C3=A8ne_Rapenne?= Cc: FreeBSD Questions , owner-freebsd-questions@freebsd.org In-Reply-To: References: Message-ID: <2394887a809b4ad8e702d1d13bb1337c@mail.zplay.eu> X-Sender: solene@perso.pw User-Agent: Roundcube Webmail/1.2.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Aug 2016 17:23:00 -0000 Le 2016-08-07 17:24, Manish Jain a écrit : > Hi, A few days back, I migrated a few Windows systems to FreeBSD at a > company that belongs to a friend of mine. My friend likes FreeBSD so > much now that he has asked me to see if I can migrate his DNS and mail > server in-house on a dedicated FreeBSD system. Currently, these > services are being provided by an external agency (using Linux, I > believe). My friend has a couple of public IP addresses to spare. > About 10 years back, I had set up a qmail server on FreeBSD 5.4. There > was a very nice how-to available, and I managed to get qmail serving > all on my own. I have no idea what the situation looks like right now > - about a year back, things were bad w.r.t. qmail - as per developers, > the system was not working as intended on FreeBSD. I am looking for a > good advice for some easy-to-setup mail server solution for FreeBSD > 10.3. Is qmail still the easiest thing to set up for mail, or there is > something better than that ? I keep security concerns for the mail > server solution at a low level - fo > r me, the thing has to be easy to set up and maintain, rather than > worry too much about eavesdropping/MITM. > Thanks for any advice. Manish Jain > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" Hello, you will need a SMTP server like Postfix or OpenSMTPD. You will also need to care with DKIM signing and SPF in your DNS. By running your own mail server you may also have problems to send mails to big companies like gmail, hotmail, yahoo etc... because they tend to blacklist large range of IP and it's hard to get removed on this list. Also, you will have to provide IMAP(S) (+ POP(S) if you want) with dovecot. If you need a webmail, see rainloop which is in PHP and act much like a dumb imap client from the web very little code on the server, or roundcube but this one needs more configuration and requires server side resources (caching, saving data etc..). Later you may need to fight against spam with greylisting and spamassassin. Running a mail server nowadays isn't very straightforward :(