Technology Insights

Remove Amavis Content Filter From Postfix Configuration, Requeue All Postfix Email Messages

I installed ISPConfig awhile back on a web hosting server that at one point also hosted email accounts. I recently moved all of the email to a different server and wanted to cut down on CPU and memory usage so I needed to disable amavisd, clamd, courier-imap, and courier-authlib. These services provided a way to receive email via POP3 and IMAP as well as content filtering and virus scanning for all of that email. So after shutting all of the services down I needed to remove the reference to the local content filter from Postfix because if amavis is shut down and mail is sent from a web application to the localhost then the connection will be refused and Postfix will not send the email. Below I describe the Postfix configuration lines to comment out as well as a way to reload all of the queued email into the Postfix queue so it could be sent again.

Technology Insights

Outlook IMAP Accounts: Download Headers Only or Download Complete Items Including Attachments

When settings up an IMAP account in Microsoft Outlook you will download only the headers by default. Personally I like to have all of my emails easily accessible online and offline even with IMAP accounts so below I describe how to setup your IMAP accounts to download the entire email message including any attachments.

Follow the below steps to setup a custom Outlook send and receive group. In this group you can pick and choose which accounts to includes and which IMAP folders to download. For each IMAP account you can specify numerous different options including if you want to sync a specific folder, if you want to download only the headers, or if you want to download the entire message including any attachments.

  1. Open Define Send/Receive Groups: First you need to open the “Define Send/Receive Groups” within Outlook. Click on Tools in the top navigation menu, then select “Send/Receive” from the drop down, followed by “Send/Receive Settings” from the pop out menu, and from the second pop out menu select “Define Send/Receive Groups”. The menus are shown below in the image.

Technology Insights

Stop Duplicate Emails in Sent Items When Syncing Gmail via IMAP Using Outlook 2007

I wrote a previous post regarding saving messages sent via POP3 accounts into Gmail’s sent items yesterday and it can be read here. To expand on that there is another option to accomplish the same goal which is to set your outgoing mail server as smtp.gmail.com and use your Gmail account settings to authenticate. This second option is probably better since it will standardize how you are sending mail at all times. and more than likely sending through Gmail is more secure than with a typical SMTP server depending on the SSL options offered with the SMTP server account.

One thing to watch out for if using this second option is duplicate messages in your IMAP Sent Items folder. This problem can be easily resolved by following the below steps.