OK the problem is definately with amavis.conf. I cant figure out what I'm doing wrong. If I leave the original conf file emails work perfectly. The instant that I change the line that says
It give me this error after reboot and sending a test email:
Oct 16 15:52:21 mail postfix/smtp: CB11819C3E8: to=<firstname.lastname@example.org>, relay=127.0.0.1[127.0.0.1], delay=1, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=01909-01, creating_partsdir FAILED: DBD::mysql::st execute failed: Table 'mail.policy' doesn't exist at (eval 38) line 238, <GEN9> line 15. (in reply to end of DATA command))
I have tried to copy and paste the amavis.conf from the tutorial and then resorted to manually changing the info by hand using vi on the machine.
What am I doing wrong?