Update:
I was able to resolve the authentication errors. There seemed to be some malformed code in the sql statement to add addresses in the tutorial.
I was able to find the same statement somewhere else that worked without giving SQL errors:
INSERT INTO `mailserver`.`virtual_users`
(`id`, `domain_id`, `password` , `email`)
VALUES
(`1`, `1`, ENCRYPT(‘password1, CONCAT(`$6$`, SUBSTRING(SHA(RAND()), -16))),
`email1@domain.com`),
(`2`, `1`, ENCRYPT(‘password2’, CONCAT(`$6$`, SUBSTRING(SHA(RAND()), -16))), ‘email2@domain.com`);
I am now able to connect to the server with a mail client but emails to the address get bounced back with the following error:
--------------------------------------
Mail Delivery System <MAILER-DAEMON@mail.domain.com>
7:10 PM (8 minutes ago)
to me
This is the mail system at host mail.domain.com.
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The mail system
<1@mail.domain.com> (expanded from <info@domain.com>): mail
for mail.domain.com loops back to myself
Final-Recipient: rfc822;
1@mail.domain.comOriginal-Recipient: rfc822;info@domain.com
Action: failed
Status: 5.4.6
Diagnostic-Code: X-Postfix; mail for mail.beneteauguitars.com loops back to
myself
---------- Forwarded message ----------
From: Dennis <me@gmail.com>
To:
info@domain.comCc:
Date: Mon, 31 Aug 2015 19:10:13 -0400
Subject: test
--------------------------------------------------------------
Can anyone help, please?