From owner-freebsd-questions@freebsd.org Sun Jul 8 21:23:42 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 32C531034043 for ; Sun, 8 Jul 2018 21:23:42 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8FC488CA40 for ; Sun, 8 Jul 2018 21:23:41 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([92.195.57.160]) by mrelayeu.kundenserver.de (mreue001 [212.227.15.167]) with ESMTPA (Nemesis) id 0LovIK-1gGrAN1bXA-00etEV; Sun, 08 Jul 2018 23:23:15 +0200 Date: Sun, 8 Jul 2018 23:23:14 +0200 From: Polytropon To: mayuresh@kathe.in Cc: freebsd-questions@freebsd.org Subject: Re: [commercial] sendmail setup request Message-Id: <20180708232314.204d7f12.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:hIByiJB42vYskZZWzq0QZeEeabCRzNdDBDMxdfu41o7zN25ynOZ 16mZB/eUuwraCzWdfxT5j2idkAFcDV7GGMQ/qJE1/7/sXSaUrbBgkUy5HWUHApaO5uU4lTo taXQx4Nw/j/GKlnJ5f4m+06RV0LU6ISbbZ39vc3yH9KN0KUSnDoSwDO6xkVG+PR9O33KA3F pvguVIvWwj8HRbCUsSDGw== X-UI-Out-Filterresults: notjunk:1;V01:K0:VXXExRSueqQ=:IFdWPve4PdHb6aYwEC3Oj0 gTEWsYbyv3/CnYbWAU1B80dQojFM6AZnhuP0wMpHfGHdexbJwFf6Jf4CwQ3mq6ROsNRrGX9pG AaKCbFp7cDW4WevqO2M3u/a6B1XIzoGishaacEOfSMMpWDoaX2JT7ZmtYPIKLjQeMPqYdfO8v WGzeBlRLUHyubzJc7GOrHPGIwFU9Ddoi2oZNe2Y5cfuEkzjqn1PIYjiq1pQ9JMeUFOWx/zZ/o 0+8+JnL78cplAIH0qdTtgR2AmyEpg0jZGYdBDpnS02Ii+XNGyhd+DMdtVU1Z9HDx0OaJNUZrO kcyVLRDTo1nWXXVX7UsNZvmc3NG3KA4iWGVRzuCa9X0YvJQVH87jxl340Y9FMz3luZh29BxAf jTO/z+mE3LPGkXMyGM8bmvBhgXt+htAJO3xtpGum4fr9rlJHn3YSo+1UoH04+jUB6uFiizLm0 rpk3r8pevz+0wd/DikYe7JoeQU2WyH/dPehk/H3yf8L6UbuIDHa7MNEI3Ll0pPs7pOo0B5Ani J7piz36vba3HkDBJ7U4kL4xJ/kJVRqpz7EOPpckRNJwDMpS4uVUtA7zT4RfHI2uc7NQFl1r0O 5HWK+jqJKHBVh8jUp6e8Rs13hAhzGW1CFBE1hVPZmZKPTFm+J8TvfVvdJsYafKuxpF7l9nuzZ tcfc1BWVABhwuuIyibZL2X8p4xhlRQbr1pwnS9q+1sMVbJJAp9YVAj0CueqJWBWNxcMSwljXg 7ygR0ZOjOHpSJg7L X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2018 21:23:42 -0000 On Sun, 08 Jul 2018 14:22:14 +0530, Mayuresh Kathe wrote: > i own a domain (kathe.in) for which email services are provided by the > domain registrar itself. email services include imap, smtp and webmail. > > the problem is that i lean more towards using mailx under bsd and at > the same time also wish to have my mails stored online (or rather > non-locally). > > i might be wrong, but i have concluded that the best and also the most > economical solution would be to go for either rootbsd or digitalocean > using a freebsd instance and run sendmail to provide email services in > and out of the instance. > > and now comes the real bummer, i don't have any idea about how to setup > sendmail to allow the above. I don't want to sound impolite, but did you ask yourself if you're asking the right question here? Maybe I didn't fully understand your goals, so allow me to ask: 1. Do you want to stay with your domain provider as the "keeper of the mail" and just want to be able to use xmail instead of a (usually annoying) webmailer? 2. Are you prepared to run your own mail infrastructure? Do you want to provide the "all and everything" yourself, usually POP3 + SMTP + IMAP + Webmail? If no. 1 is fine for you, have a look at local IMAP mirroring. There is still one problem, though: The program mailx (just like the system's native mail command) uses mbox for storing messages. IMAP mirroring tools usually use MailDir. Sure, you can convert between the two, but it's additional work. For an example of an IMAP mirroring tool, check out OfflineIMAP. No. 2 is more difficult to deal with, that's for sure. Running your own infrastructure and having your peers properly interact with it (!) isn't as easy as it was decades ago. "Reputation", anti-spam, anti-virus, encryption and certificates, "score", all this needs to be done, along with installing, updating and of course properly configuring the services you need. Even though I'm initially a "sendmail person", nowadays I tend to suggest Postfix. It's a lot easier to work with, and the integration of tools for IMAP or for a webmailer is also quite convenient. There's plenty of documentation, but it usually assumes that you are at least familiar with basic concepts of mail operations. And there are decisions ahead because there is no "the ONE setup", as almost every functionality can be provided by more than one software product that is available on FreeBSD. Here are a few resources: https://forums.freebsd.org/threads/postfix-courier-imap-mysql-and-freebsd.19470/ https://forums.freebsd.org/threads/imap-installation.8396/ https://www.freebsddiary.org/dovecot.php http://www.postfix.org/BASIC_CONFIGURATION_README.html https://help.ubuntu.com/community/PostfixBasicSetupHowto -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...