ispconfig_setup icon indicating copy to clipboard operation
ispconfig_setup copied to clipboard

Mailserver not working on clean Ubuntu 18.04.5 LTS

Open krekr opened this issue 4 years ago • 1 comments

This is a short writeup (sorry!) of the issues encountered after using this (otherwise awesome!) script: the mailserver didn't work. Postfix didn't want to start w/ this error:

Nov 16 13:52:07 postfix/proxymap[1631]: fatal: bad string length 0 < 1: \/etc\/postfix/mysql-verify_recipients.cf_dbname = which seemed to be a ownership problem related to https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5681 After chmodding 777 (I know...) and changing main.cf line smtpd_recipient_restrictions = permit_mynetworks, reject_unknown_recipient_domain, reject_unlisted_recipient, check_recipient_access proxy:mysql:/etc/postfix/mysql-verify_recipients to take out the weird /\ brackets, postfix started but still had SSL errors.

Finally, this thread pointed me in the right direction with user "till" saying Remove the # in front of the submission and smtps line and restart postfix.

Now, the mail is flowing like you'd expect :)

This post is both to aid future installers and an actual issue; I think the script somehow borks permissions and ownership of the mysql-verify_recipients.cf file?

krekr avatar Nov 16 '20 21:11 krekr

Kinda works but i can send but not recive

finnie2006 avatar May 04 '21 10:05 finnie2006