By default, Spam Quarantine, Suspect Virus Quarantine, and content incident folders accept messages from the Scanner on port 41025. However, you can change this port if necessary. Only the administrators that have Full Administration rights or Manage Settings modify rights can modify these settings. You do not need to change any Scanner settings to match the change in the listener port.
You can also disable the listener port. Disable the listener port if your computer is not behind a firewall, and you are concerned about security risks. If you disable the listener port, disable any policies that quarantine messages. Otherwise, quarantined messages back up in the delivery mail flow queue until the expiration time elapses and then bounce back to the original sender.