Account and Mailbox Settings
Incoming and outgoing server should be set to mail.isy.liu.se.
No IMAP Path Prefix is needed. Therefore leave the textbox empty.
To use the same folder for the Apple Mail Junk filter as the filter on the mail server select the Spam folder and click the Mailbox menu.
Choose "Use This Mailbox For" -> "Junk"