[ale] First time setting up mail server (postfix & dovecat)

Jim Kinney jim.kinney at gmail.com
Tue Dec 17 11:14:17 EST 2013


In order to recieve email, the interwebs must be able to find your system.
That is done by the host and domain name. You will need to be using real
ones so postfix will understand what domains it's really supposed to accept
mail for.

I have the domain jimkinney.us. So I put that into my mailserver so it
knows where it is. I have my DNS records set to send mail to my server (
barkingcat.jimkinney.us). So the mailserver knows it's name is barkingcat
on the domain jimkinney.us. Now when mail is _sent_ it shows in the headers
to have been sent from me at jimkinney.us and it originated from
backingcat.jimkinney.us.

So you will need to put in your FQDN (mine is barkingcat.jimkinney.us) for
the hostname and the full domain name (mine is jimkinney.us).


On Tue, Dec 17, 2013 at 11:02 AM, Adrya Stembridge <
adrya.stembridge at gmail.com> wrote:

> I'm attempting to set up my trac installation to accept replies via email.
>   This is the first time configuring a machine to receive mail, and I have
> a noobish question.
>
> In postfix/main.conf I am asked to provide "myhostname", which the
> examples show as 'mail.example.com'.   The next config item is
> "mydomain", which the examples show as 'example.com'.
>
> I don't expect much inbound mail traffic.   Is it necessary to have a
> subdomain for mail to be received?  If not, is there any gotchas with
> having identical values for "myhostname" and "mydomain"?
>
> PS: I'm actually able to establish a connection to my server both locally
> and remote using "telnet example.com 143" even though my "myhostname"
> value is 'mail.example.com'.   The connection fails with "telnet
> mail.example.com 143" since that subdomain is not configured in DNS.
>
> Thanks.
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>
>


-- 
-- 
James P. Kinney III

Every time you stop a school, you will have to build a jail. What you gain
at one end you lose at the other. It's like feeding a dog on his own tail.
It won't fatten the dog.
- Speech 11/23/1900 Mark Twain


*http://heretothereideas.blogspot.com/
<http://heretothereideas.blogspot.com/>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20131217/f1772e07/attachment.html>


More information about the Ale mailing list