On Sun, Dec 05, 2021 at 05:26:54PM -0500, post...@aecperformance.com wrote:
> OK, our VPS is back up and running. > > If you log > > I did the installation of postfix and dovecot from this tutorial. > > https://yiworkdisk.netlify.app/en/linux/install_postfix.html > > > > Command line tests for msql connections: > > sudo postmap -q sizzelicks.com > mysql:/etc/postfix/mysql-virtual-mailbox-domains.cf > > 1 > > sudo postmap -q smok...@sizzelicks.com > mysql:/etc/postfix/mysql-virtual-mailbox-maps.cf > > 1 > > sudo postmap -q spa...@sizzelicks.com > mysql:/etc/postfix/mysql-virtual-alias-maps.cf > > smok...@sizzelicks.com <mailto:smok...@sizzelicks.com> > > > > Mail Host Folders: > > /var/mail/vhosts/softlinksys.com > > /var/mail/vhosts/sizzelicks.com > > > > Postfix and dovecot are installed and when I use the command: sudo service > dovecot restart it starts and returns the cursor with no problem. > > > > I just tried to send an email to smok...@sizzelicks.com > <mailto:smok...@sizzelicks.com> (see above) from MS Outlook on a laptop I > got this: > > Server error: '550 No Such User Here"' > > I tried to set up a mailbox in Thunderbird for the email: > smok...@sizzelicks.com <mailto:smok...@sizzelicks.com> > > I got a message saying that it could not connect. > > > > This time I've got nothing in the logs about trying to send the email or > about trying to connect to the mailbox. > > Look above, you'll see that I did connect to mysql for both the domain and > the email. > This time I did use sha512 for the password. > > > > I got the certificate from letsencrypt, specifically for > mail.softlinksys.com. > > The path to the file was saved in the config for postfix and dovecot. > > > > I stopped postfix and dovecot, cleared the log, started postfix & dovecot > (no problem). > Then I tried to send smok...@sizzelicks.com <mailto:smok...@sizzelicks.com> > an email and then tried to create a mailbox in Thunderbird & connect it for > smok...@sizzelicks.com <mailto:smok...@sizzelicks.com> > > > > It took me less than an hour from a rebuild to set up the firewall, ftp > access, apache2 ssl secured, running php connecting to mysql for multiple > virtual hosts. > > No problem; my sites are running fine. > > > > I absolutely *cannot* make the mail server work. I started this Wednesday > before Thanksgiving, 12 hour days - I cannot make it work. > > > > Look at: https://sizzelicks.com > > > > mail.log > > Dec 5 21:33:26 softlinksys postfix/postfix-script[31194]: warning: symlink > leaves directory: /etc/postfix/./makedefs.out > > Dec 5 21:33:26 softlinksys postfix/postfix-script[31361]: starting the > Postfix mail system > > Dec 5 21:33:26 softlinksys postfix/master[31363]: daemon started -- version > 3.4.13, configuration /etc/postfix > > Dec 5 21:33:34 softlinksys dovecot: master: Dovecot v2.3.7.2 (3c910f64b) > starting up for imap, pop3, lmtp (core dumps disabled) > > I'll send the configs in multiple emails next. > > Kristy Atkins > ViviData SaaS I've just had another look, and I'm still not seeing postfix/dovecot running. The only port scan difference between now and when I last looked is that port 443 is now open: > nmap -sT sizzelicks.com Starting Nmap 7.92 ( https://nmap.org ) at 2021-12-06 12:41 AEDT Nmap scan report for sizzelicks.com (194.163.45.150) Host is up (0.20s latency). Other addresses for sizzelicks.com (not scanned): 2a02:4780:10:e096::1 rDNS record for 194.163.45.150: aecperformance.com Not shown: 995 filtered tcp ports (no-response) PORT STATE SERVICE 20/tcp closed ftp-data 21/tcp open ftp 22/tcp open ssh 80/tcp open http 443/tcp open https > nmap -sT -6 2a02:4780:10:e096::1 Starting Nmap 7.92 ( https://nmap.org ) at 2021-12-06 12:45 AEDT Nmap scan report for aecperformance.com (2a02:4780:10:e096::1) Host is up (0.19s latency). Not shown: 995 filtered tcp ports (no-response) PORT STATE SERVICE 20/tcp closed ftp-data 21/tcp open ftp 22/tcp open ssh 80/tcp open http 443/tcp open https Ports 25/587 (for postfix) and 143/993 (for dovecot) should be open. Perhaps something is causing both services to terminate (e.g. The OOM killer?). Check all of your logs (not just mail logs) to investigate why they aren't running. cheers, raf