I've previously depended on Google searches for popping Gmail over Popfile and Outlook 2007. I think it's time to create a reference for myself, and possibly help rest of the world as well. Here goes...



Serverside, where Popfile is going to live, Microsoft Windows Server 2003.

Clientside, where Outlook 2007 is installed is Microsoft Windows XP SP3 US Eng, with Microsoft Office 2007 SP3.




System Setup

Server side

1. Make sure your serverside has network access and that you can access it from your WinXP-client.

2. Install Popfile on the server, making sure you get the SSL-modules. You can skip any email-configuration it may offer to help you with. Should you have an old Popfile config folder, the installer will find and offer to upgrade it. Allow it, but make sure you have a backup of that folder first.

3. Close everything Popfile on the server, when Popfile is done installing. Also remove the Autostart-entry, we don't need it as we will use Popfile in service-mode.

4. On the server, open an command prompt and navigate to the folder where Popfile was installed, ie not the config-folder.


c:\Program Files\POPFile>popfile-service.exe -install

Now the Popfile service is installed and we don't have to worry about somebody being logged on in order for the Autostart entry to run. Note! The Popfile service is not able to run with the local system account. Therefore make sure you go to Local Computer Management and Services. There find the Popfile service and doubleclick it. Click the Log on-tab and enter eg a local admin account. Make sure you get the password right. For good measure, set the service to restart automatically should it crash, while you're here.

5. Open up a web browser and make sure you can access the Popfile web-GUI. The address you enter in the web browser should be as below, but change the ip to suit your server's ip. The port 8080 is the default Popfile web-GUI port number.

The "buckets" ending above should take you to the bucket page. You can change this to whatever tab you want to start with. The below would get you to the start page.

6. When confirmed it works, it's time to move to the client side.


Client side

7. Fire up a web browser on your WinXP-client and point it to either of the addresses above. If it works, all is fine, if not, you have some troubleshooting ahead... Possible culprits may be firewalls on either side, so check those first.

8. So, we want to pop our Gmail account from Outlook 2007, while at the same time we want to filter for spam. This is what we do.

9. Open Outlook and go to the menu Tools/Account Settings.

10. Double-click the account you want to filter for spam.

11. The Name and e-mail address don't need any changes, so go to the Incoming mail serve field and enter

as is the server where Popfile is running.

12. The Outgoing mail server is

13. For Username, use your own email address. email address is being protected from spambots. You need JavaScript enabled to view it.:SSL

Gmail requires SSL, so we must specify for Popfile to use the SSL module when connecting to Gmail.

14. Make sure "Require logon using Secure Password Authentication (SPA)" is unchecked.

15. Click the button More Settings.

16. Check "My outgoing server requres authentication" and "Log on using". In the User name and Password fields enter your Gmail email address and Gmail password.

17. Check "Require Secure Password Authentication (SPA)".

18. Click the Advanced tab.

19. Make sure the "Incoming server (POP3)" is set to 110 and "This server requires an encrypted connection (SSL)" is unchecked.

20. The Outgoing server port should be set to 587 and the encrypted connection below should be set to use TLS.

21. Click OK.

22. Click the "Test Account Settings" button. All should be A-Okay. If not, check your settings.

23. Click Next, Finish and Close. You're done.


Final words

Enjoy your spam free mail!


Last modified on

2011-11-09 - Created.




Stop Spam Harvesters, Join Project Honey Pot


Get a free SSL certificate!


The leading nonprofit defending digital privacy, free speech, and innovation.


The Linux Foundation provides a neutral, trusted hub for developers and organizations to code, manage, and scale open technology projects and ecosystems.


Kubuntu is an operating system built by a worldwide community of developers, testers, supporters and translators.


 43ef5c89 CanonicalUbuntudarktext