+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 17

Thread: Can't send - smtp error 250

  1. #1
    jgijanto is offline Roundcube Newcomer
    Join Date
    Aug 2010
    Posts
    3
    Downloads
    0
    Uploads
    0

    Default Can't send - smtp error 250

    Hello,

    I'm doing some testing with roundcube and hoping that it will prove to be a solid webmail client that I can roll out to my users (I administer an email server for a small ISP). I'm really liking what I see so far, but I'm having some issues getting mail to send.

    I am able to log in and access my emails. When I try to send a message, though, I get an smtp error 250: authentication failed. The strange part is that my test messages sent out no problem with the installer.

    Anyone have thoughts on where I should start with this? The server is running postfix, and does not require authentication to send.

    Any tips are greatly appreciated!

    Joe
    Last edited by jgijanto; 08-05-2010 at 03:13 PM.

  2. #2
    skaero's Avatar
    skaero is offline Administrator
    Join Date
    Jun 2006
    Location
    USA - New Mexico
    Posts
    2,092
    Downloads
    5
    Uploads
    0

    Default

    Try changing $rcmail_config['smtp_auth_type'] in <RC root>/config/main.inc.php to PLAIN if you have no authentication, if that doesn't work try using LOGIN.

  3. #3
    jgijanto is offline Roundcube Newcomer
    Join Date
    Aug 2010
    Posts
    3
    Downloads
    0
    Uploads
    0

    Default

    Hi Skaero,

    I tried what you suggested but that doesn't seem to help, either with PLAIN or LOGIN. I found in the rc/logs folder the following error message:

    SMTP Error: SMTP error: Authentication failure: SMTP server does not support authentication (Code: ) in /var/www/rc/program/steps/mail/func.inc on line 1365 (POST /rc/?_task=mail&_action=send)

    So it seems like its still trying to use some type of SMTP authentication?

  4. #4
    alec is offline Registered User
    Join Date
    Oct 2008
    Posts
    335
    Downloads
    1
    Uploads
    0

    Default

    Enable smtp_debug option and attach logs/smtp file here.

  5. #5
    jgijanto is offline Roundcube Newcomer
    Join Date
    Aug 2010
    Posts
    3
    Downloads
    0
    Uploads
    0

    Default

    Ok, with the SMTP debug added here's what I get from a single attempt to send email:

    [06-Aug-2010 08:13:22 -0400]: Recv: 220 mail3.primelink1.net ESMTP server ready.
    [06-Aug-2010 08:13:22 -0400]: Send: EHLO 10.100.0.75
    [06-Aug-2010 08:13:22 -0400]: Recv: 250-mail3.primelink1.net
    [06-Aug-2010 08:13:22 -0400]: Recv: 250-PIPELINING
    [06-Aug-2010 08:13:22 -0400]: Recv: 250-SIZE 20240000
    [06-Aug-2010 08:13:22 -0400]: Recv: 250-ETRN
    [06-Aug-2010 08:13:22 -0400]: Recv: 250 8BITMIME
    [06-Aug-2010 08:13:22 -0400]: Send: RSET
    [06-Aug-2010 08:13:22 -0400]: Recv: 250 Ok
    [06-Aug-2010 08:13:22 -0400]: Send: QUIT
    [06-Aug-2010 08:13:22 -0400]: Recv: 221 Bye

    I also verified that the server this is running on has relay access to the mail server. Strange too, I looked up the smtp codes and 250 isn't even an error.

  6. #6
    alec is offline Registered User
    Join Date
    Oct 2008
    Posts
    335
    Downloads
    1
    Uploads
    0

    Default

    Your SMTP server doesn't returns AUTH response. If you really would like to send mail without authentication then you should set smtp_user, smtp_pass and smtp_auth_type to null.

  7. #7
    jissou is offline Registered User
    Join Date
    Aug 2010
    Posts
    12
    Downloads
    0
    Uploads
    0

    Default

    Same error for me : SMTP ERROR (250) : authentication problem

    I just want to tell that if i use the previous version roundcubemail-0.3-stable (always installed) everything works well.
    With the new version roundcubemail-0.4 I can't send an email

    An authentication error. Logs enabled in roundcube tells :
    SMTP Error: SMTP error: Authentication failure: SMTP server does not support authentication (Code: ) in /var/wws/roundcubemail-0.4/program/steps/mail/func.inc on line 1425 (POST /mail/?_task=mail&_action=send)


    I cheked the main.inc.php file twice; put the previous main.inc.php (0.3-stable)
    Nothing works.

    I have to use the old version 0.3-stable.
    I'm disapointed because I would like to use the very interesting feature : threaded view in messages boxes.

    Thanks for your help

  8. #8
    skaero's Avatar
    skaero is offline Administrator
    Join Date
    Jun 2006
    Location
    USA - New Mexico
    Posts
    2,092
    Downloads
    5
    Uploads
    0

    Default

    Can you post a imap_debug log?

  9. #9
    jissou is offline Registered User
    Join Date
    Aug 2010
    Posts
    12
    Downloads
    0
    Uploads
    0

    Default

    From my mail.log. Ask me if you want more

    With roundcube4 (send an email failure) :

    Sep 7 09:03:56 net1 dovecot: imap-login: Login: user=<jc2010@domain.net>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, TLS
    Sep 7 09:03:56 net1 dovecot: IMAP(jc2010@domain.net): Disconnected: Logged out bytes=23/398
    Sep 7 09:03:56 net1 dovecot: imap-login: Login: user=<jc2010@domain.net>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, TLS
    Sep 7 09:03:56 net1 dovecot: IMAP(jc2010@domain.net): Disconnected: Logged out bytes=31/1836
    Sep 7 09:03:56 net1 dovecot: imap-login: Login: user=<jc2010@domain.net>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, TLS
    Sep 7 09:03:56 net1 dovecot: IMAP(jc2010@domain.net): Disconnected: Logged out bytes=408/17090
    Sep 7 09:03:56 net1 dovecot: imap-login: Login: user=<jc2010@domain.net>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, TLS
    Sep 7 09:03:56 net1 dovecot: IMAP(jc2010@domain.net): Disconnected: Logged out bytes=2305/18353
    Sep 7 09:03:59 net1 dovecot: imap-login: Login: user=<jc2010@domain.net>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, TLS
    Sep 7 09:03:59 net1 dovecot: IMAP(jc2010@domain.net): Disconnected: Logged out bytes=34/359
    Sep 7 09:03:59 net1 dovecot: imap-login: Login: user=<jc2010@domain.net>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, TLS
    Sep 7 09:03:59 net1 dovecot: IMAP(jc2010@domain.net): Disconnected: Logged out bytes=31/1836
    Sep 7 09:04:10 net1 dovecot: imap-login: Login: user=<jc2010@domain.net>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, TLS
    Sep 7 09:04:10 net1 postfix/smtpd[7207]: connect from net1.domain.net[192.168.0.111]
    Sep 7 09:04:10 net1 postfix/smtpd[7207]: disconnect from net1.domain.net[192.168.0.111]
    Sep 7 09:04:10 net1 dovecot: IMAP(jc2010@domain.net): Disconnected: Logged out bytes=8/331

  10. #10
    jissou is offline Registered User
    Join Date
    Aug 2010
    Posts
    12
    Downloads
    0
    Uploads
    0

    Default

    With roundcube3-stable (send an email to gmail successfull)

    Sep 7 09:05:39 net1 dovecot: imap-login: Login: user=<jc2010@domain.net>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, TLS
    Sep 7 09:05:39 net1 dovecot: IMAP(jc2010@domain.net): Disconnected: Logged out bytes=23/398
    Sep 7 09:05:39 net1 dovecot: imap-login: Login: user=<jc2010@domain.net>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, TLS
    Sep 7 09:05:40 net1 dovecot: IMAP(jc2010@domain.net): Disconnected: Logged out bytes=368/18164
    Sep 7 09:05:40 net1 dovecot: imap-login: Login: user=<jc2010@domain.net>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, TLS
    Sep 7 09:05:40 net1 dovecot: IMAP(jc2010@domain.net): Disconnected: Logged out bytes=2455/18703
    Sep 7 09:05:44 net1 dovecot: imap-login: Login: user=<jc2010@domain.net>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, TLS
    Sep 7 09:05:44 net1 dovecot: IMAP(jc2010@domain.net): Disconnected: Logged out bytes=8/331
    Sep 7 09:05:44 net1 dovecot: imap-login: Login: user=<jc2010@domain.net>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, TLS
    Sep 7 09:05:44 net1 dovecot: IMAP(jc2010@domain.net): Disconnected: Logged out bytes=31/1836
    Sep 7 09:05:56 net1 dovecot: imap-login: Login: user=<jc2010@domain.net>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, TLS
    Sep 7 09:05:56 net1 postfix/smtpd[7207]: connect from net1.domain.net[192.168.0.111]
    Sep 7 09:05:56 net1 postfix/smtpd[7207]: setting up TLS connection from net1.domain.net[192.168.0.111]
    Sep 7 09:05:56 net1 postfix/smtpd[7207]: net1.domain.net[192.168.0.111]: TLS cipher list "ALL:+RC4:@STRENGTH"
    Sep 7 09:05:56 net1 postfix/smtpd[7207]: SSL_accept:before/accept initialization
    Sep 7 09:05:56 net1 postfix/smtpd[7207]: SSL_accept:SSLv3 read client hello B
    Sep 7 09:05:56 net1 postfix/smtpd[7207]: SSL_accept:SSLv3 write server hello A
    Sep 7 09:05:56 net1 postfix/smtpd[7207]: SSL_accept:SSLv3 write certificate A
    Sep 7 09:05:56 net1 postfix/smtpd[7207]: SSL_accept:SSLv3 write key exchange A
    Sep 7 09:05:56 net1 postfix/smtpd[7207]: SSL_accept:SSLv3 write server done A
    Sep 7 09:05:56 net1 postfix/smtpd[7207]: SSL_accept:SSLv3 flush data
    Sep 7 09:05:56 net1 postfix/smtpd[7207]: SSL_accept:SSLv3 read client key exchange A
    Sep 7 09:05:56 net1 postfix/smtpd[7207]: SSL_accept:SSLv3 read finished A
    Sep 7 09:05:56 net1 postfix/smtpd[7207]: SSL_accept:SSLv3 write session ticket A
    Sep 7 09:05:56 net1 postfix/smtpd[7207]: SSL_accept:SSLv3 write change cipher spec A
    Sep 7 09:05:56 net1 postfix/smtpd[7207]: SSL_accept:SSLv3 write finished A
    Sep 7 09:05:56 net1 postfix/smtpd[7207]: SSL_accept:SSLv3 flush data
    Sep 7 09:05:56 net1 postfix/smtpd[7207]: Anonymous TLS connection established from net1.domain.net[192.168.0.111]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
    Sep 7 09:05:56 net1 postfix/smtpd[7207]: 6CF146E043: client=net1.domain.net[192.168.0.111], sasl_method=PLAIN, sasl_username=jc2010@domain.net
    Sep 7 09:05:56 net1 postfix/cleanup[7211]: 6CF146E043: message-id=<9f068022cf61699d0c59ff3fd9a591bf@localhost>
    Sep 7 09:05:56 net1 postfix/qmgr[1524]: 6CF146E043: from=<jean-claude.domain@ac-nice.fr>, size=828, nrcpt=1 (queue active)
    Sep 7 09:05:56 net1 dovecot: IMAP(jc2010@domain.net): Disconnected: Logged out bytes=605/1894
    Sep 7 09:05:56 net1 postfix/smtpd[7207]: disconnect from net1.domain.net[192.168.0.111]
    Sep 7 09:05:56 net1 dovecot: imap-login: Login: user=<jc2010@domain.net>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, TLS
    Sep 7 09:05:56 net1 dovecot: IMAP(jc2010@domain.net): Disconnected: Logged out bytes=368/18164
    Sep 7 09:05:56 net1 dovecot: imap-login: Login: user=<jc2010@domain.net>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, TLS
    Sep 7 09:05:56 net1 dovecot: IMAP(jc2010@domain.net): Disconnected: Logged out bytes=368/18164
    Sep 7 09:05:57 net1 dovecot: imap-login: Login: user=<jc2010@domain.net>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, TLS
    Sep 7 09:05:57 net1 dovecot: IMAP(jc2010@domain.net): Disconnected: Logged out bytes=2455/18727
    Sep 7 09:05:57 net1 postfix/smtp[7272]: 6CF146E043: to=<jc.divers@gmail.com>, relay=gmail-smtp-in.l.google.com[209.85.227.27]:25, delay=0.66, delays=0.01/0.02/0.3/0.33, dsn=2.0.0, status=sent (250 2.0.0 OK 1283843157 v14si8128784weq.13)
    Sep 7 09:05:57 net1 postfix/qmgr[1524]: 6CF146E043: removed

+ Reply to Thread
Page 1 of 2 1 2 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts