Author Topic: Problem Sending Message  (Read 3587 times)

Offline bamnptow

  • Newbie
  • *
  • Posts: 9
Problem Sending Message
« on: January 14, 2007, 08:21:53 PM »
I am unable to send outbound messages using Roundcube. When I look at my mailserver logs, I see that Roundcube successfully authenticates to my SMTP server, but when it receives the successful response, Roundcube sends back a "RSET" command.

Does anybody have any suggestions for fixing this? I know my mail server works with authenticated SMTP, because I have tried it with several other mail clients (Ilohamail, Thunderbird, and Mail2web).

I am running the current 0.1-beta2 release of Roundcube and the current version of hMailserver (4.3 build 248).

My Roundcube configuration includes the following settings:
$rcmail_config['smtp_user'] = 'my user name';
$rcmail_config['smtp_pass'] = 'my password';
I have also tried using the %u and %p values here, with the same results.


My SMTP server logs include the following entries (note that the SMTP auth commands are successful, but that Roundcube sends back the "RSET" command)
"TCPIP" 55924 "2006-12-20 20:30:01.218" "Created accept socket 1084 on listening socket 1200"
"SMTPD" 55924 73240 "2006-12-20 20:30:01.218" "192.168.1.1" "SENT: 220 mymailserver.com ESMTP"
"SMTPD" 55924 73240 "2006-12-20 20:30:01.218" "192.168.1.1" "RECEIVED: EHLO localhost"
"SMTPD" 55924 73240 "2006-12-20 20:30:01.218" "192.168.1.1" "SENT: 250-hmailserver[nl]250-SIZE 50000000[nl]250 AUTH LOGIN PLAIN"
"SMTPD" 55924 73240 "2006-12-20 20:30:01.218" "192.168.1.1" "RECEIVED: AUTH LOGIN"
"SMTPD" 55924 73240 "2006-12-20 20:30:01.218" "192.168.1.1" "SENT: 334 xyz123"
"SMTPD" 55924 73240 "2006-12-20 20:30:01.218" "192.168.1.1" "RECEIVED: 123xyz"
"SMTPD" 55924 73240 "2006-12-20 20:30:01.218" "192.168.1.1" "SENT: 334 xyz123"
"SMTPD" 55924 73240 "2006-12-20 20:30:01.218" "192.168.1.1" "RECEIVED: ***"
"SMTPD" 55924 73240 "2006-12-20 20:30:01.218" "192.168.1.1" "SENT: 235 authenticated."
"SMTPD" 55924 73240 "2006-12-20 20:30:01.218" "192.168.1.1" "RECEIVED: RSET"
"SMTPD" 55924 73240 "2006-12-20 20:30:01.218" "192.168.1.1" "SENT: 250 OK"
"SMTPD" 55924 73240 "2006-12-20 20:30:01.218" "192.168.1.1" "RECEIVED: QUIT"
"SMTPD" 55924 73240 "2006-12-20 20:30:01.218" "192.168.1.1" "SENT: 221 goodbye"
"TCPIP" 55924 "2006-12-20 20:30:01.218" "Disconnecting socket 1380 for session 73240"

Offline daashag

  • Full Member
  • ***
  • Posts: 198
Re: Problem Sending Message
« Reply #1 on: January 15, 2007, 08:28:40 AM »
Try defining your SMPT auth_type in the main.inc.php. Also make sure that auto_user_creation is set to true

Offline jpingle

  • Jr. Member
  • **
  • Posts: 77
Re: Problem Sending Message
« Reply #2 on: January 15, 2007, 10:30:13 AM »
Have a look at this ticket:
http://trac.roundcube.net/trac.cgi/ticket/1484165

That can happen when your SQL tables were not updated from a previous RC version.
Try running the SQL commands in the file SQL/mysql.update.sql (if you're using MySQL, that is)


Offline bamnptow

  • Newbie
  • *
  • Posts: 9
Re: Problem Sending Message
« Reply #3 on: January 16, 2007, 10:20:23 PM »
I think I have found the cause of the problem - the user accounts did not have "identities" set with reply-to addresses. Once I added these, outbound messages started working fine.

The suggestion about reloading the database from scripts got me looking in new places. I eventually found an error log entry that pointed to a problem in sendmail.inc - there was no "from" address on the outbound message, so RC was killing the process.

Thanks for the suggestions. I am glad to be working again!