Networking

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • Setting up SquirrelMail: error connecting to SMTP server

    6 answers - 1398 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    Hi,
    I'm trying to install the CVS version of SquirrelMail. I checked out
    the 1.5.x tree with the following command:
    cvs -d:pserver:anonymous@ co
    squirrelmail
    When I run configtest.php, I get the following error:
    SquirrelMail version: 1.5.1
    [CVS] Config file version: 1.4.0 Config file last modified: 20 August 2005
    17:15:14 Checking PHP configuration
    PHP version 5.0.4 K.
    PHP extensions K. Checking paths
    Data dir K.
    Attachment dir is the same as data dir.
    Plugins are not enabled in config.
    Themes K.
    Default language K.
    Base URL detected as: http://www.cs.stevens.edu/~ymalik/mail/src
    Checking outgoing mail service
    ERRR: Error connecting to SMTP server
    "guinness.cs.stevens.edu:25".Server error: (0)
    The server is running NetBSD 2.0, Apache 2.0.53 with, among others, the
    openssl extension for PHP 5.0.4. I can telnet into port 25 of the mail
    server. I'm not the sysadmin; I'm just a regular user who wants to access
    my email with ssh-ing into the server.
    Thanks,
    Yasir
    SF.Net email is Sponsored by the Better Software Conference & EXP
    September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
    Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
    Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
  • No.1 | | 709 bytes | |

    The server is running NetBSD 2.0, Apache 2.0.53 with, among others, the
    openssl extension for PHP 5.0.4. I can telnet into port 25 of the mail
    server. I'm not the sysadmin; I'm just a regular user who wants to access my
    email with ssh-ing into the server.

    When I refer to "server" information, I am talking about the web server,
    not the mail server.

    Thanks,
    Yasir

    SF.Net email is Sponsored by the Better Software Conference & EXP
    September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
    Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
    Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
  • No.2 | | 1272 bytes | |

    PGP SIGNED MESSAGE
    Hash: SHA1

    Hello Yasir Malik,
    Saturday, August 20, 2005, you wrote:

    >The server is running NetBSD 2.0, Apache 2.0.53 with, among others, the
    >openssl extension for PHP 5.0.4. I can telnet into port 25 of the mail
    >server. I'm not the sysadmin; I'm just a regular user who wants to access my
    >email with ssh-ing into the server.
    >>

    When I refer to "server" information, I am talking about the web server,
    not the mail server.

    Confirm your settings for the SMTP server. Make sure you didn't enable
    TLS on port 25 for example. You might want to also check your apache
    error logs, or your php error logs (if you have it enabled).
    - --
    Jonathan Angliss
    <jon (AT) squirrelmail (DOT) org>
    PGP SIGNATURE
    Version: GnuPG v1.4.1 (MingW32)

    C3A6JvIh6yJMyB7evW4/7o=
    =q6/1
    PGP SIGNATURE

    SF.Net email is Sponsored by the Better Software Conference & EXP
    September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
    Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
    Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
  • No.3 | | 738 bytes | |

    Confirm your settings for the SMTP server. Make sure you didn't enable
    TLS on port 25 for example. You might want to also check your apache
    error logs, or your php error logs (if you have it enabled).

    Yes, I did enable TLS support on port 25. But I used sendmail instead,
    and the setup worked fine. The server does not support TLS yet. SMTP
    without TLS on port 25 works fine, though.

    Thanks,
    Yasir

    SF.Net email is Sponsored by the Better Software Conference & EXP
    September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
    Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
    Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
  • No.4 | | 1367 bytes | |

    PGP SIGNED MESSAGE
    Hash: SHA1

    Hello Yasir Malik,
    Monday, August 22, 2005, you wrote:

    >Confirm your settings for the SMTP server. Make sure you didn't enable
    >TLS on port 25 for example. You might want to also check your apache
    >error logs, or your php error logs (if you have it enabled).
    >>

    Yes, I did enable TLS support on port 25. But I used sendmail instead,
    and the setup worked fine. The server does not support TLS yet. SMTP
    without TLS on port 25 works fine, though.

    TLS requires dedicated port. SquirrelMail/PHP does not support
    STARTTLS over a standard port. You can simply disable TLS and leave
    the port as 25, and see if that works. Also check to see if your
    SMTP server requires authorization if you are going with that
    method.
    - --
    Jonathan Angliss
    <jon (AT) squirrelmail (DOT) org>
    PGP SIGNATURE
    Version: GnuPG v1.4.1 (MingW32)

    LQUtDnnaTW2YKsScAI3dae8=
    =AXEL
    PGP SIGNATURE

    SF.Net email is Sponsored by the Better Software Conference & EXP
    September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
    Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
    Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
  • No.5 | | 1055 bytes | |

    tir, 23.08.2005 kl. 06.20 skrev Jonathan Angliss:

    []

    Yes, I did enable TLS support on port 25. But I used sendmail instead,
    and the setup worked fine. The server does not support TLS yet. SMTP
    without TLS on port 25 works fine, though.

    The following applies to Postfix 2.1 & 2.2:

    Don't use sendmail (in my case postfix.sendmail), use smtp

    TLS requires dedicated port. SquirrelMail/PHP does not support
    STARTTLS over a standard port. You can simply disable TLS and leave
    the port as 25, and see if that works. Also check to see if your
    SMTP server requires authorization if you are going with that
    method.

    Correction, SM (all versions) doesn't support STARTTLS at all. Because
    PHP doesn't. What SM calls STARTTLS is actually smtps to port 465,
    which is something completely different (because there's no STARTTLS
    involved). Been using it (smtps) in production (1.5.1 CVS after 1.4.3a)
    and all works - has always worked - beautifully, *after* help from this
    list
  • No.6 | | 2205 bytes | |

    PGP SIGNED MESSAGE
    Hash: SHA1

    Hello Tony Earnshaw,
    Tuesday, August 23, 2005, you wrote:

    Yes, I did enable TLS support on port 25. But I used sendmail
    instead, and the setup worked fine. The server does not support
    TLS yet. SMTP without TLS on port 25 works fine, though.

    The following applies to Postfix 2.1 & 2.2:

    Don't use sendmail (in my case postfix.sendmail), use smtp

    >TLS requires dedicated port. SquirrelMail/PHP does not support
    >STARTTLS over a standard port. You can simply disable TLS and leave
    >the port as 25, and see if that works. Also check to see if your
    >SMTP server requires authorization if you are going with that
    >method.


    Correction, SM (all versions) doesn't support STARTTLS at all. Because
    PHP doesn't. What SM calls STARTTLS is actually smtps to port 465,
    which is something completely different (because there's no STARTTLS
    involved).

    Correction again ;) SM doesn't call that STARTTLS at all, and in no
    way have we ever called it that. STARTTLS runs a TLS connection over a
    standard port after an initial plain text connection. We've always
    said (and it can be found all over the archives) that SM/PHP does not
    support STARTTLS (at least not yet, maybe they'll get it in PHP some
    day). I guess I should have just said "does not support STARTTLS"
    without adding the "over a standard port" as that might add a little
    confusion.

    Been using it (smtps) in production (1.5.1 CVS after 1.4.3a) and all
    works - has always worked - beautifully, *after* help from this list

    Always good to hear ;)
    - --
    Jonathan Angliss
    <jon (AT) squirrelmail (DOT) org>
    PGP SIGNATURE
    Version: GnuPG v1.4.1 (MingW32)

    F9NDCuoh9wLZoWgTb5ypKa4=
    =x9sZ
    PGP SIGNATURE

    SF.Net email is Sponsored by the Better Software Conference & EXP
    September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
    Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
    Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf

Re: Setting up SquirrelMail: error connecting to SMTP server


max 4000 letters.
Your nickname that display:
In order to stop the spam: 6 + 5 =
QUESTION ON "Networking"

EMSDN.COM