Technology Insights

Redmine: The following error occured while sending email notification: 530 5.7.0 Must issue a STARTTLS command first.

Recently while working on a CentOS Linux server I downgraded Ruby version 1.8.7 p302 to Ruby version 1.8.6 p399 because of a project that was built for Ruby 1.8.6. The server is a development CentOS Linux server with numerous other projects already operational on it and so downgrading Ruby caused a couple issues one of which was with Redmine project management software. The issue was with sending email notifications for things such as file uploads, added issues, issue updates, etc. Below I describe the error in more detail, the reason for the error, and how to resolve the error sending email notifications.

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 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.