Go Back   SugarCRM Forums > Community Forums > Help
 Create an account

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 2007-07-18, 09:07 AM
Junior Member
 
Join Date: Jun 2007
Posts: 2
Exclamation My Account email settings: SECURITY PROBLEM ... AUTH=PLAIN

When editing my user account settings for email I'm doing this:

EMAIL OPTIONS
Email address: mail@domain.tld
[…]

OUTBOUND EMAIL SETTINGS
Mail transfer agent: SMTP
SMTP Server: smtp.domain.tld
Use SMTP Authentication: yes
SMTP Port: 25

INBOUND EMAIL SETTINGS
Mail server address: imap.domain.tld
Mail server protocol: IMAP
Mail server port: 143
Status: Active
User Name: droptix
Password: ********
Monitored Folder: INBOX

Advanced options:
Use SSL :no
Leave messages on server: yes (hum, we're talking about IMAP, do we? )
Import only since last check: no

When pressing the button "Test Settings" the following error occurs:
Quote:
SECURITY PROBLEM: insecure server advertised AUTH=PLAIN
1) Why and what to do now? My email client (Thunderbird) has no problems with these settings.
2) When using IMAP, what for is the option Leave messages on server? Does SugarCRM provide a real IMAP mail client or does it import emails from my IMAP account to the SugarCRM database?

Last edited by droptix; 2007-07-18 at 09:13 AM. Reason: tiny mistake
Reply With Quote
  #2  
Old 2007-07-18, 09:57 AM
sanjaykatiyar1's Avatar
Sugar Community Member
 
Join Date: Feb 2006
Location: Bangalore
Posts: 600
Send a message via Yahoo to sanjaykatiyar1
Default Re: My Account email settings: SECURITY PROBLEM ... AUTH=PLAIN

1.)
Mail server address: imap.domain.tld
Mail server protocol: IMAP
Mail server port: 143
Status: Active
User Name: droptix
Password: ********
Monitored Folder: INBOX

In the User Name : use the full mail id (like dropitx@.......tld)

2.) Leave Message On server means if you checked this mail will not be deleted from your mail server.
Yes sugar imports mails from the mail server and store in the database

__________________
Sanjay Katiyar
iPhone and Android solutions http://www.apptility.com
Reply With Quote
  #3  
Old 2007-07-18, 10:14 AM
Junior Member
 
Join Date: Jun 2007
Posts: 2
Question Re: My Account email settings: SECURITY PROBLEM ... AUTH=PLAIN

Quote:
Originally Posted by sanjaykatiyar1
In the User Name : use the full mail id)
As I expected this didn't work because the user name for authentication is just droptix and not the whole email address droptix@domain.tld. Error:
Quote:
Can not authenticate to IMAP server: Authentication failed.
Any other ideas? It seems that SugarCRM doesn't want to establish an unsecured (non SSL) connection...

Quote:
Originally Posted by sanjaykatiyar1
Yes sugar imports mails from the mail server and store in the database
Why that? Wouldn't it be better to use PHPs POP3 and IMAP libraries to create a real webmail client? v.T.i.g.e.r uses them as it should be...

Last edited by droptix; 2007-07-18 at 10:24 AM. Reason: forum deletes the word v.T.i.g.e.r from postings
Reply With Quote
  #4  
Old 2007-08-02, 10:41 AM
Junior Member
 
Join Date: Jul 2007
Posts: 1
Default Re: My Account email settings: SECURITY PROBLEM ... AUTH=PLAIN

Quote:
SECURITY PROBLEM: insecure server advertised AUTH=PLAIN
I have the same problem. Any ideas? The login is correct. Is it possible to switch off this safety examination?
Reply With Quote
  #5  
Old 2007-12-28, 12:09 AM
Junior Member
 
Join Date: Dec 2007
Posts: 2
Default Re: My Account email settings: SECURITY PROBLEM ... AUTH=PLAIN

I have the same problem. In my case it's related to using Dovecot as pop3 server. Dovecot assumes a connection is secure if remote_ip == local_ip (see explanation to disable_plaintext_auth in http://wiki.dovecot.org/MainConfig#h...bd09736f276b82).

The solution could be hacking modules/InboundEmail/InboundEmail.php to add another false positive case in function findOptimumSettings.

Regards,
maykel
Reply With Quote
  #6  
Old 2008-01-07, 12:49 PM
Member
 
Join Date: Jan 2007
Posts: 7
Default Re: My Account email settings: SECURITY PROBLEM ... AUTH=PLAIN

Hi Maykel,

Shouldn't someone enter it as a "bug" for Sugar? Or a VERY wanted feature to be able to switch this "check" off?
It doesn't happen with POP3 only but also with an IMAP-connection to Dovecot

As I am moving my email from a very old pop3-only-server to a more versatile Dovecot IMAP/POP3 solution it would be nice to have a "solution" of some sort within not too long a period.

Bye,
Klaus
Reply With Quote
  #7  
Old 2008-01-07, 08:02 PM
Sugar Team Member
 
Join Date: Aug 2007
Posts: 217
Default Re: My Account email settings: SECURITY PROBLEM ... AUTH=PLAIN

Hi All,
We are not able to reproduce this issue here. We tried witout ssl and with ssl, either ways it works. I also applied all the settings which moya mentioned.

If your mail server says that if you are coming from outside IP then you should be using ssl then what is wrong in not using ssl ?? Can one of you try with enable ssl and see it it works ??

Thanks
-Samir Gandhi
Reply With Quote
  #8  
Old 2008-01-10, 12:05 PM
Junior Member
 
Join Date: Jan 2008
Posts: 1
Default Re: My Account email settings: SECURITY PROBLEM ... AUTH=PLAIN

I had the same issue with the combination of SugarCRM 5a and DoveCot 1.0.5 both installed on the same Gentoo 2007 server.
Tried to connect using IMAP without SSL.
Using SSL checkbox and enabling SSL (if it is disabled ) in Dovecot solved the problem.
Reply With Quote
  #9  
Old 2008-02-01, 10:01 AM
Member
 
Join Date: Jan 2008
Posts: 9
Default Re: My Account email settings: SECURITY PROBLEM ... AUTH=PLAIN

I've tried different email account with simpler username/password,no help. Anybody have any idea how to fix this?

Sugar 4.5.1i
Trustix 2.2
Apache
PHP5

Reply With Quote
  #10  
Old 2008-02-09, 08:48 PM
Member
 
Join Date: Feb 2008
Posts: 9
Smile Re: My Account email settings: SECURITY PROBLEM ... AUTH=PLAIN

Hello!

This happens when you have the mailserver on a different IP and not using SSL (probably there are other cases as well)

Change line 2259 in modules/InboundEmail/InboundEmail.php
to:

if(!empty($retArray['good'])||1==1) {

Regards,
tronics
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem in configuring Outbound Email Settings prabhanjan Developer Help 13 2011-08-24 07:28 PM
email marketing feature requests maxsutter Feature Requests 1 2008-10-11 11:19 AM
Email Campaigns - more and more bugs, why QA cannot reproduce any?!?! amazed. jasonslater2000 Help 11 2007-11-21 05:20 PM
Inbound email UTF-8 character encoding problem bbservis Help 3 2006-07-19 05:49 PM
Problem with Email Campaign Thommy Help 0 2006-06-08 04:30 PM


All times are GMT. The time now is 02:26 AM.


Powered by: vBulletin
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.6.0
SourceForge.net Logo