<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>SMTP to localhost with no authentication</title> 
  <pubDate>Fri, 10 Apr 2026 07:03:45 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/12652</link> 
  <atom:link rel="self" type="application/rss+xml" title="SMTP to localhost with no authentication" href="https://bugs.horde.org/ticket/12652/rss" /> 
  <description>SMTP to localhost with no authentication</description> 
 
   
   
  <item> 
   <title>SMTP to localhost with no authentication fails with &quot;Server </title> 
   <description>SMTP to localhost with no authentication fails with &quot;Server denied authentication&quot;. In the previous stable horde version it was relatively easy to downgrade Horde_SMTP to 1.1.0 and everything would work. That is no longer possible.</description> 
   <pubDate>Tue, 03 Sep 2013 11:33:45 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/12652#t80524</link> 
  </item> 
   
  <item> 
   <title>Can&#039;t reproduce.  You can try upgrading to Horde_Smtp 1.2.1,</title> 
   <description>Can&#039;t reproduce.  You can try upgrading to Horde_Smtp 1.2.1, but nothing in there should have caused an issue.

At a minimum, would need a debug log from SMTP communication.</description> 
   <pubDate>Tue, 03 Sep 2013 19:14:46 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/12652#t80540</link> 
  </item> 
   
  <item> 
   <title>I have been able to bypass the problem in either of the foll</title> 
   <description>I have been able to bypass the problem in either of the following two ways:
1. Downgrading to Jul 16 versions (including Horde_SMTP-1.1.0).
2. Using for the mailer configuration
    /usr/lib/sendmail -oi
    instead of SMTP and the current stable horde versions.

Our setup is debian squeeze (6.0.7) with exim4.

The horde log shows
2013-09-04T16:18:09+01:00 ERR: HORDE [imp] Server denied authentication. [pid 19639 on line 1064 of &quot;/var/www/horde5/imp/lib/Compose.php&quot;]

</description> 
   <pubDate>Wed, 04 Sep 2013 16:08:36 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/12652#t80559</link> 
  </item> 
   
  <item> 
   <title>&gt; I have been able to bypass the problem in either of the fo</title> 
   <description>&gt; I have been able to bypass the problem in either of the following two ways:

You didn&#039;t answer my question of either:

1.) Have you upgraded ALL packages to their latest versions (i.e. not only Horde_Smtp but Horde_Core)
2) You haven&#039;t provded an SMTP log.

I&#039;m guessing you haven&#039;t defined a port number in your configuration file, and you are using old Horde packages.</description> 
   <pubDate>Wed, 04 Sep 2013 16:43:42 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/12652#t80562</link> 
  </item> 
   
  <item> 
   <title>I&#039;m actually having the same problem as the poster.
I&#039;m usi</title> 
   <description>I&#039;m actually having the same problem as the poster.
I&#039;m using the horde webmail edition and when I updated to 5.1.2 I got the same problems with sending mails through an external smtp server which requires no login.
I get the the following error message:
ORDE: authentication[imp] Server denied authentication. [pid 25461 on line 1064 of &quot;path/to/horde/imp/lib/Compose.php&quot;]

As far as I&#039;m aware all of the packages have been updated to their latest version through the pear update command.
I&#039;m also running debian 6.0.8 if that matters and the work around of using the sendmail command seems to do the trick.
But I am interested in find out what is wrong and switching back to the smtp server directly.

&gt;&gt; I have been able to bypass the problem in either of the following two ways:
&gt;
&gt; You didn&#039;t answer my question of either:
&gt;
&gt; 1.) Have you upgraded ALL packages to their latest versions (i.e. not 
&gt; only Horde_Smtp but Horde_Core)
&gt; 2) You haven&#039;t provded an SMTP log.
&gt;
&gt; I&#039;m guessing you haven&#039;t defined a port number in your configuration 
&gt; file, and you are using old Horde packages.
</description> 
   <pubDate>Wed, 04 Sep 2013 17:03:10 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/12652#t80563</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; I have been able to bypass the problem in either of the f</title> 
   <description>&gt;&gt; I have been able to bypass the problem in either of the following two ways:
&gt;
&gt; You didn&#039;t answer my question of either:
&gt;
&gt; 1.) Have you upgraded ALL packages to their latest versions (i.e. not 
&gt; only Horde_Smtp but Horde_Core)

Yes.
pear upgrade horde -a -B -c
today

&gt; 2) You haven&#039;t provded an SMTP log.

My priority was getting a working configuration with current packages. That has been achieved with /usr/lib/sendmail -oi instead of using SMTP.

&gt;
&gt; I&#039;m guessing you haven&#039;t defined a port number in your configuration 

Right. It always worked with the default port 25.

&gt; file, and you are using old Horde packages.

Wrong.
</description> 
   <pubDate>Wed, 04 Sep 2013 17:04:54 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/12652#t80564</link> 
  </item> 
   
  <item> 
   <title>&gt; ORDE: authentication[imp] Server denied authentication. [p</title> 
   <description>&gt; ORDE: authentication[imp] Server denied authentication. [pid 25461 on 
&gt; line 1064 of &quot;path/to/horde/imp/lib/Compose.php&quot;]

The issue is likely that your Horde SMTP configuration either has no &#039;port&#039; value or an &#039;empty&#039; port value, so that you are connecting to port 587 (which is the correct, preferred port but requires authentication to be configured).  Most likely before you were connecting to port 25 (deprecated, doesn&#039;t require authentication).

But if this is the case, this means that you didn&#039;t upgrade your Horde config.</description> 
   <pubDate>Wed, 04 Sep 2013 17:07:10 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/12652#t80565</link> 
  </item> 
   
  <item> 
   <title>That&#039;s the problem then.  Port 25 is no longer the default. </title> 
   <description>That&#039;s the problem then.  Port 25 is no longer the default.  Mail should be submitted to port 587 instead.  You need to explicitly request port 25 in the SMTP configuration.
</description> 
   <pubDate>Wed, 04 Sep 2013 17:09:55 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/12652#t80566</link> 
  </item> 
   
  <item> 
   <title>&gt; That&#039;s the problem then.  Port 25 is no longer the default</title> 
   <description>&gt; That&#039;s the problem then.  Port 25 is no longer the default.  Mail 
&gt; should be submitted to port 587 instead.  You need to explicitly 
&gt; request port 25 in the SMTP configuration.
&gt;

That does not seem to work.

Notice also that

&quot;The port to connect to [25]&quot;

still appears in the horde configuration web interface.

I also attempted to use port 587, supplying login and password and always got the same error.
</description> 
   <pubDate>Wed, 04 Sep 2013 17:20:59 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/12652#t80567</link> 
  </item> 
   
  <item> 
   <title>&gt; That&#039;s the problem then.  Port 25 is no longer the default</title> 
   <description>&gt; That&#039;s the problem then.  Port 25 is no longer the default.  Mail 
&gt; should be submitted to port 587 instead.  You need to explicitly 
&gt; request port 25 in the SMTP configuration.
&gt;

It seems that exim4 does not like some of the data it is receiving from horde with *No authentication* chosen:

2013-09-04 19:04:30 plain_server authenticator failed for localhost (cubo) [127.0.0.1]: 535 Incorrect authentication data (set_id=jmatos)



</description> 
   <pubDate>Wed, 04 Sep 2013 18:19:31 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/12652#t80569</link> 
  </item> 
   
  <item> 
   <title>&gt; 2013-09-04 19:04:30 plain_server authenticator failed for </title> 
   <description>&gt; 2013-09-04 19:04:30 plain_server authenticator failed for localhost 
&gt; (cubo) [127.0.0.1]: 535 Incorrect authentication data (set_id=jmatos)

This is why a smtp log is needed.  &#039;debug&#039; =&gt; &#039;filename&#039; in SMTP config in imp/config/backends.local.php</description> 
   <pubDate>Wed, 04 Sep 2013 18:21:27 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/12652#t80570</link> 
  </item> 
   
  <item> 
   <title>Same problem here.

horde/conf.php:
$conf[&#039;mailer&#039;][&#039;para</title> 
   <description>Same problem here.

horde/conf.php:
$conf[&#039;mailer&#039;][&#039;params&#039;][&#039;host&#039;] = &#039;localhost&#039;;
$conf[&#039;mailer&#039;][&#039;params&#039;][&#039;port&#039;] = 25;
$conf[&#039;mailer&#039;][&#039;params&#039;][&#039;localhost&#039;] = &#039;localhost&#039;;
$conf[&#039;mailer&#039;][&#039;params&#039;][&#039;auth&#039;] = false;
$conf[&#039;mailer&#039;][&#039;type&#039;] = &#039;smtp&#039;;

imp/backends.php:
$servers[&#039;imap&#039;] = array(
    &#039;disabled&#039; =&gt; false,
[..imap config omited...]
        &#039;smtp&#039; =&gt; array(
                &#039;debug&#039; =&gt; &#039;/tmp/horde_smpt.log&#039;)
);

/tmp/horde_smpt.log:
------------------------------
&gt;&gt; Mon, 21 Oct 2013 15:07:12 +0200
S: 220 gw2.example.com ESMTP
C: EHLO gw2
S: 250-gw2.example.com
S: 250-PIPELINING
S: 250-SIZE 104857600
S: 250-VRFY
S: 250-ETRN
S: 250-STARTTLS
S: 250-AUTH DIGEST-MD5 CRAM-MD5 NTLM LOGIN PLAIN
S: 250-AUTH=DIGEST-MD5 CRAM-MD5 NTLM LOGIN PLAIN
S: 250-ENHANCEDSTATUSCODES
S: 250-8BITMIME
S: 250 DSN
C: STARTTLS
S: 220 2.0.0 Ready to start TLS
C: EHLO gw2
S: 250-gw2.example.com
S: 250-PIPELINING
S: 250-SIZE 104857600
S: 250-VRFY
S: 250-ETRN
S: 250-AUTH DIGEST-MD5 CRAM-MD5 NTLM LOGIN PLAIN
S: 250-AUTH=DIGEST-MD5 CRAM-MD5 NTLM LOGIN PLAIN
S: 250-ENHANCEDSTATUSCODES
S: 250-8BITMIME
S: 250 DSN
C: AUTH DIGEST-MD5
S: 334 [...base64 data omitted...]
[AUTH Command - method: DIGEST-MD5; username: username]
S: 535 5.7.8 Error: authentication failed: authentication failure
C: AUTH CRAM-MD5
S: 334 [...base64 data omitted...]
[AUTH Command - method: CRAM-MD5; username: username]
S: 535 5.7.8 Error: authentication failed: authentication failure
C: AUTH LOGIN
S: 334 [...base64 data omitted...]
C: [...base64 data omitted...]
S: 334 [...base64 data omitted...]
[AUTH Command - method: LOGIN; username: username]
S: 535 5.7.8 Error: authentication failed: authentication failure
[AUTH Command - method: PLAIN; username: username]
S: 535 5.7.8 Error: authentication failed: authentication failure
C: QUIT
S: 221 2.0.0 Bye
S: 220 gw2.example.com ESMTP
C: EHLO gw2
S: 250-gw2.example.com
S: 250-PIPELINING
S: 250-SIZE 104857600
S: 250-VRFY
S: 250-ETRN
S: 250-STARTTLS
S: 250-AUTH DIGEST-MD5 CRAM-MD5 NTLM LOGIN PLAIN
S: 250-AUTH=DIGEST-MD5 CRAM-MD5 NTLM LOGIN PLAIN
S: 250-ENHANCEDSTATUSCODES
S: 250-8BITMIME
S: 250 DSN
C: STARTTLS
S: 220 2.0.0 Ready to start TLS
C: EHLO gw2
S: 250-gw2.example.com
S: 250-PIPELINING
S: 250-SIZE 104857600
S: 250-VRFY
S: 250-ETRN
S: 250-AUTH DIGEST-MD5 CRAM-MD5 NTLM LOGIN PLAIN
S: 250-AUTH=DIGEST-MD5 CRAM-MD5 NTLM LOGIN PLAIN
S: 250-ENHANCEDSTATUSCODES
S: 250-8BITMIME
S: 250 DSN
C: AUTH DIGEST-MD5
S: 334 [...base64 data omitted...]
[AUTH Command - method: DIGEST-MD5; username: username]
S: 535 5.7.8 Error: authentication failed: authentication failure
C: AUTH CRAM-MD5
S: 334 [...base64 data omitted...]
[AUTH Command - method: CRAM-MD5; username: username]
S: 535 5.7.8 Error: authentication failed: authentication failure
C: AUTH LOGIN
S: 334 [...base64 data omitted...]
C: [...base64 data omitted...]
S: 334 UGFzc3dvcmQ6
[AUTH Command - method: LOGIN; username: username]
S: 535 5.7.8 Error: authentication failed: authentication failure
[AUTH Command - method: PLAIN; username: username]
S: 535 5.7.8 Error: authentication failed: authentication failure
C: QUIT
S: 221 2.0.0 Bye
</description> 
   <pubDate>Mon, 21 Oct 2013 13:13:38 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/12652#t81155</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; [AUTH Command - method: DIGEST-MD5; username: username]
</title> 
   <description>&gt;&gt; [AUTH Command - method: DIGEST-MD5; username: username]
&gt; S: 535 5.7.8 Error: authentication failed: authentication failure
&gt; C: AUTH CRAM-MD5
&gt; S: 334 [...base64 data omitted...]
&gt; [AUTH Command - method: CRAM-MD5; username: username]
&gt; S: 535 5.7.8 Error: authentication failed: authentication failure
&gt; C: AUTH LOGIN
&gt; S: 334 [...base64 data omitted...]
&gt; C: [...base64 data omitted...]
&gt; S: 334 [...base64 data omitted...]
&gt; [AUTH Command - method: LOGIN; username: username]
&gt; S: 535 5.7.8 Error: authentication failed: authentication failure
&gt; [AUTH Command - method: PLAIN; username: username]
&gt; S: 535 5.7.8 Error: authentication failed: authentication failure

Exactly what the log tells you: your authentication is incorrect.  This has nothing to do with this ticket.

Please use the mailing list to ask for support.

http://www.horde.org/mail/ contains a list of all available mailing lists.</description> 
   <pubDate>Tue, 22 Oct 2013 03:15:52 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/12652#t81162</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
