> -----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 ofthe> 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 inmaildir> 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.
On 01/02/17 15:51, TE Dukes wrote:> Have been using mailscanner with postfix for years with no problems..Suit yourself, you've been warned.> 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.your log from earlier showed it working, it would normally be delivered to the default location of /var/mail. You asked how to get it to show up in ~/Maildir. That requires you set the home_mailbox setting as I previously stated. Peter
> Am 01.02.2017 um 04:35 schrieb Peter <peter at pajamian.dhs.org>: > > On 01/02/17 15:51, TE Dukes wrote: >> Have been using mailscanner with postfix for years with no problems.. > > Suit yourself, you've been warned. > >> 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. > > your log from earlier showed it working, it would normally be delivered > to the default location of /var/mail. > > You asked how to get it to show up in ~/Maildir. That requires you set > the home_mailbox setting as I previously stated. >also export MAIL="$HOME/Maildir/" into users .profile would help local applications (nail/mail) -- LF