Hi,

I'm trying to get my outbound emails from SugarCRM to be sent via SMTP, because due to more stringent security settings SugarCRM is no longer allowed to invoke /usr/bin/sendmail.

I managed to change the settings for one account fine. I added an outbound SMTP server with "localhost" as hostname, and mails from that account were sent via the local mail server from then on.

However, on a different account the outbound mail settings won't stick!

I added the same mail server in that account's email settings, but when I try to send an email from that account I still get the message "Error emailing:Could not execute: /usr/sbin/sendmail". But in that account's email settings, the outgoing mail server setting is set to the SMPT server, so it shouldn't even be trying to use sendmail!!!

In what may be a related problem, often SugarCRM will hang when saving the changes to that mail account. It will just say "saving mail account info" and then hang.

How can this be? How can I get SugarCRM to stop trying to use sendmail and use the SMTP server for this account?

This is on SugarCRM version 5.1.0b, running on Ubuntu Server 8.04 LTS.