On 04/13/2017 07:02 PM, Michael Segel wrote:
Thanks! But I’m still trying to understand where to look and debug the inbound mail issue… Any pointers on where to start?
On Centos, it is /var/log/maillog
also
/var/log/messages
then is SELinux sticking its nose into things.
try setenforce 0
and see if things start working, then start trouble shooting the SELinux policy errors. Note that when I create /home/vmail, I have to set SELinux permissions.
chcon -Rv --type=mail_home_rw_t /home/vmail/
And see my Apache section for creating and setting permissions for the certificates and keys.
Thx again !
On Apr 13, 2017, at 6:00 PM, Robert Moskowitz rgm@htt-consult.com wrote:
On 04/13/2017 03:40 PM, Michael Segel wrote:
Hi,
I’m building a new linux box to replace my current DNS/Mail server for my SOHO.
I was going to set up postfix/dovecot/mysql so I can support virtual users. I also use Webmin to make admin easier.
I ran in to a couple of snags.
When I first got it set up, mail went to the virtmail user and I could use my Mac mail client to read the mail. Everything was working when testing it. I was working on my TLS certificates and I broke something.
I don’t know what I did, but now it’s going to the local mailbox instead. (MailDir folder)
Since most of my time is doing other things, I am hoping someone could point me in the right direction. Here is my work in progress. I still have to test out some things, like it looks like pickup is passing through amavis twice. (sendmail from root testing).
http://medon.htt-consult.com/Centos7-mailserver.html
But I seem to have the mail coming in and going to where I want it.
Any review and help is greatly appreciated.