Is there a HOWTO for mailscanner in PFSense? I'm setting up an exchange server behind a PFSense firewall (both virtualized) and would like to use the PFSense VM to filter out some of the garbage before it makes it to the Exchange server. I've used SpamAssassin before, but never MailScanner, and it's been a loooonnnnggg time. :)

I had considered running a separate Untangle VM until I saw this in the packages list.

Thanks. To be a little more clear in my question, what do I need to do from a prerequisit standpoint? Do I need to manually install a new version of perl? Do I need to install the Postfix package first? Or will the mailscanner-dev package do all this for me?

If you do not have any perl version installed on your box, just install postfix and then mailscanner.

Perfect, thanks!

EDIT
Actually, I do have one further question. As this will be much more processor intensive than just routing traffic, what minimum specs would you recommend? I'm currently running it as a single chip single-core VM with 1G ram on an i7-920.
I'm thinking this will be enough, but was considering upping it to a dual core to be safe.

Maybe it will not work, perl modules will be installed on 5.12 and mailscanner will look for it on 5.10.

I'm trying to compile mailscanner latest version 4.83 in a vm with perl 5.12.

If you can, wait some time until I finish these tests. Any mailscanner version change needs a full config check(500 options).

If tests go fine, I'll publish package version 0.2

Sounds good, thanks! I'm going to guess there is no "you must change these settings but can leave everything else default" list anywhere, is there? I've been reading over PostFix/mailscanner documentation but didn't know if there were any reccos.

Something sombody can do to help are some tutorials about configuring these services via gui.

I would be happy to take this on, I've done a number of tutorials previously. However, since I'm new to PostFix/MailScanner, I may have some questions on specific options to ensure I don't teach others the wrong way to do it :)

Once I get everything set up with the new version, I'll post screenshots of my config if you don't mind, and if it's all good I'll do a video+text/image tutorial.

If you do not have any perl version installed on your box, just install postfix and then mailscanner.

Perfect, thanks!

EDIT
Actually, I do have one further question. As this will be much more processor intensive than just routing traffic, what minimum specs would you recommend? I'm currently running it as a single chip single-core VM with 1G ram on an i7-920.
I'm thinking this will be enough, but was considering upping it to a dual core to be safe.

Thanks,
Ben

Keep in mind that it's recommended to give VMs a single processor unless you will absolutely need to add more for specific workloads. Adding extra processors to VMs can actually hurt performance because of the time it takes for the host to schedule two or more cores at once (and because of a few other considerations).

I am testing your mailscanner package for personal purpose and i have several questions and some ideas.

First about my topology i have one mail server stand alone and a pfsense running on a physical machine with postfix forwarder and mailscanner. Every mail that should end up in mail server, first arrive in pfsense box and mailscanner and clamav should search for spam and virus, then postfix forwarder send forward this message by relaying it to mail server.

For now the simple part its working. Every message that arrive in pfsense box it's send to mail server. But i see no searching from mailscanner. Here is a part of system log:

Mailwatch and quarantine tab are on my mind, it will take some time, but its on my todo list.

I have already selected "Third part Antispam Settings > Software > Mailscanner + Spamassassin + clamav" but still doesn't appear in logs that any message it's checked for spam/virus.

I always download last version of i386 pc version, and even if i install postfix forwarder first or mailscanner first, i end up with errors that can't find some files or some errors in different config files etc. Usually i fix them step by step.

Should i try amd64 version? Did you work more at that version then i386?

Thank you very much. And you are doing a great job with this antispam filter, i hope soon it will be full functional.

I have no idea about microsoft antispam features. I use a unix server in front of exchange server for about 10 years.

likewise, actually close on 15 years now. The reason I mention this is because a fairly large hosted exchange environment required a unix layer to handle the spam as the MS portion was just not cutting it.