Re: [CentOS] Mail issues
> Am 01.02.2017 um 04:35 schrieb Peter: > > 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 ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Mail issues
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 ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Mail issues
> -Original Message- > From: CentOS [mailto:centos-boun...@centos.org] On Behalf Of Peter > Sent: Tuesday, January 31, 2017 8:40 PM > To: centos@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. ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
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. Peter ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Mail issues
On 31/01/17 13:36, John R Pierce wrote: > On 1/30/2017 4:13 PM, TE Dukes wrote: >> This is a fresh install, I haven't changed anything except adding >> mail_location = maildir:~/Maildir in /etc/dovecot/conf.d/10-mail.conf > > the mail transfer agent (postfix) needs a mail delivery agent for > locally delivered mail, in traditional email systems this was often > procmail or fetchmail. dovecot is a mail client, although it contains an > optional local delivery agent. a bit of googling found > http://wiki.dovecot.org/LDA/Postfix This is incorrect. Postfix comes with it's own lda (local(8)) which fills this role. It is true that it can use a 3rd party lda but it is not necessary. To the OP: Set: "home_mailbox = Maildir/" in main.cf. Peter ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Mail issues
On 1/30/2017 4:13 PM, TE Dukes wrote: This is a fresh install, I haven't changed anything except adding mail_location = maildir:~/Maildir in /etc/dovecot/conf.d/10-mail.conf the mail transfer agent (postfix) needs a mail delivery agent for locally delivered mail, in traditional email systems this was often procmail or fetchmail. dovecot is a mail client, although it contains an optional local delivery agent. a bit of googling found http://wiki.dovecot.org/LDA/Postfix -- john r pierce, recycling bits in santa cruz ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Mail issues
> -Original Message- > From: CentOS [mailto:centos-boun...@centos.org] On Behalf Of John R. > Dennison > Sent: Monday, January 30, 2017 7:05 PM > To: CentOS mailing list > Subject: Re: [CentOS] Mail issues > > On Mon, Jan 30, 2017 at 06:50:13PM -0500, TE Dukes wrote: > > > > to=<tdu...@ts130.palmettodomains.com>, orig_to=, relay=local, > > delay=0.1, delays=0.07/0.01/0/0.03, dsn=2.0.0, status=sent (delivered > > to mailbox) > > > > Do I need to install additional packages that move mail to the user's > > /Maildir? > > This is indicative of misconfiguration with mail being delivered to > /var/mail/whatever instead of /home/whatever/Maildir. Check your > configuration again to ensure it's delivering as you wish. > Alternatively, post _all_ content from /etc/postfix/{main,master}.cf for > review. > > > John This is a fresh install, I haven't changed anything except adding mail_location = maildir:~/Maildir in /etc/dovecot/conf.d/10-mail.conf Output from postconf -n: alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix data_directory = /var/lib/postfix debug_peer_level = 2 debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5 html_directory = no inet_interfaces = localhost inet_protocols = all mail_owner = postfix mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/share/man mydestination = $myhostname, localhost.$mydomain, localhost newaliases_path = /usr/bin/newaliases.postfix queue_directory = /var/spool/postfix readme_directory = /usr/share/doc/postfix-2.10.1/README_FILES sample_directory = /usr/share/doc/postfix-2.10.1/samples sendmail_path = /usr/sbin/sendmail.postfix setgid_group = postdrop unknown_local_recipient_reject_code = 550 Thanks!! ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Mail issues
On Mon, Jan 30, 2017 at 06:50:13PM -0500, TE Dukes wrote: > > to=, orig_to=, relay=local, > delay=0.1, delays=0.07/0.01/0/0.03, dsn=2.0.0, status=sent (delivered to > mailbox) > > Do I need to install additional packages that move mail to the user's > /Maildir? This is indicative of misconfiguration with mail being delivered to /var/mail/whatever instead of /home/whatever/Maildir. Check your configuration again to ensure it's delivering as you wish. Alternatively, post _all_ content from /etc/postfix/{main,master}.cf for review. John -- One original thought is worth a thousand mindless quotings. -- Diogenes of Sinope (412 BC - 323 BC), Cynic philosopher of ancient Greece signature.asc Description: PGP signature ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos