[CentOS] Mail issues

TE Dukes
Wed, 01 Feb 2017 02:51:19 -0000

> -----Original Message-----
> From: CentOS [mailto:centos-bounces at centos.org] On Behalf Of Peter
> Sent: Tuesday, January 31, 2017 8:40 PM
> To: centos at centos.org
> Subject: Re: [CentOS] Mail issues
>
> On 31/01/17 12:50, TE Dukes wrote:
> > This is a fresh install of dovecot and postfix. I have uninstalled
> > mailscanner as well until I can figure out what's wrong.
>
> You shouldn't use mailscanner anyways, it relys on direct manipulation
of
the
> postfix queue files which is unsupported by postfix.  Consider amavisd-new
> and spamassassin/clamav instead.
>
> > I sent a test mail from root to tdukes but its not being delivered to
> > ~/Maildir
>
> as I said in another post, you need to set:
>
> home_mailbox = Maildir/
>
> ...in main.cf.  Note that the trailing slash means it will be delivered in
maildir
> format (which is likely what you want), if you would rather that local(8)
> deliver in mbox format then omit the trailing slash.
>
>

Have been using mailscanner with postfix for years with no problems..

I do believe it does not work with 7.3.  It does not start postfix as it did
in 6.8 and earlier versions. There may be other problems besides that as
well.

Figured out it wasn't a firewall issue when I would telnet to localhost 25
and got connection refused. As soon as I started postfix manually, I could
connect.

Mail works now that it has been uninstalled and adding a few things from
last night that were posted.

I have setup clamav and spamassassin using this guide.

http://www.tecmint.com/integrate-clamav-and-spamassassin-to-protect-postfix-
mails-from-viruses/

Seems to work.