Web lists-archives.com

Re: Email tutorial?




On Tue, 24 Apr 2018 19:56:06 +0000 (UTC)
"J.W. Foster" <jfoster81747@xxxxxxxxx> wrote:

> I am trying once again to get an email server to run on my server. I
> NEED a qualified tutorial or some real assistance in getting it
> operational and secure. I am aware that there are MANY primers or
> docs on this. Problem is they like most are done for an individuals
> system and are not really designed for my system. So here is what
> I'm working with:1. all IP addresses are DHCP regulated by
> Spectrum internet.2. I do have a fully functioning Mediawiki website
> running on this server and it is just fine. Spectrum doesn't often
> change the IP addresses.3. I have installed Dovecot and Postfix out
> of the box with no changes, for MTA and mail server4. I have
> Thunderbird as my MUI.5. All this is running on a system using Debian
> 9 (stable) with plenty of CPU and memory horsepower for the job. I
> want to use this system to both send and receive email ONLY for this
> server. There is only one user account currently and that is mine. I
> need to be able to allow my Mediawiki system send replies to my
> membership and to receive queries and emails from that membership.
> Ther may be additional user accounts that need to be set up but for
> now, only mine. I have been sort of able to send a few test emails to
> my secondary testing account locally. Sending to an outside system
> such as my own Gmail or Yahoo simply does not work. I was getting an
> error message but I reinstalled everything again and am still
> getting that message> An error occurred while sending mail. The mail
> server responded:  4.7.1 <jfoster81747@xxxxxxxxx>: Relay access
> denied.

As you say yourself, every mail server application is different, and it
is difficult to make a tutorial that will be all things to all men.

What you want to do is actually quite simple, and would easily be
covered by the configuration dialog that dpkg runs for exim4, and there
may be a problem for you: exim4 is the default Debian mail server, and
most of us will not be familiar with Postfix. I know that I set up a
Postfix server ten or fifteen years ago, but I remember nothing of it,
I've only used exim4 since then.

It sounds like your outside sending problem involves telling Postfix
who is actually allowed to use it: exim4 has two configurations for
this, networks which have unconditional relaying permission and domains
which have relaying permission. Postfix must have some similar
equivalent. Does the Debian page not help sufficiently?
https://wiki.debian.org/Postfix

-- 
Joe