Squirrelmail + SMTP Authentication

Discussion in 'Installation/Configuration' started by zeb.NZ, Jun 26, 2010.

  1. zeb.NZ

    zeb.NZ New Member

    Ok, first of all I would like to say that i'm really enjoying working out how this control panel and ubuntu works. So far i've been able to create a webmail.domain.com which links to squirrelmail which makes me [noob] very happy. Anyway.

    I am able to send and receive mail. however currently I am not able to send mail to a gmail server unless the gmail account has contacted me first. I suspect this is because if I send the initial email, gmail denies my smtp server because it is not authenticated. (It's using port 25). Sending mail to hotmail's servers is currently just impossible.

    I followed the perfect server ubuntu 10.04/ispconfig 2 tutorial and then installed Squirrelmail using the .pkg file located on the ispconfig.org website.

    What I would like to ask is, how do I get my SMTP server to work on port 465 and or 587 so that it is authenticated (SMTP AUTH?) and secure so that I will be able to contact any email server without my emails getting bounced back or lost in space

    Hopefully this has made some sense to you as at the moment here it is 4:20am and im very strung out from coffee and ispconfig :p

  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. zeb.NZ

    zeb.NZ New Member

    Thank you for your reply. I have ended up solving my problem by:

    Opening the /etc/postfix/master.cf
    Uncommenting the lines

    #smtps inet n - - - - smtpd
    #-o smtpd_tls_wrappermode=yes
    #-o smtpd_sasl_auth_enable=yes
    #-o smtpd_client_restrictions=permit_sasl_authenticated,reject

    (Perhaps not all of these were required but nothing is broken at the moment.)

    Now I can send mail on port 465 using SSL.

    To solve my problem with not being able to send mail to hotmail's servers:

    I went to http://www.spamhaus.org and removed my IP from some 'blacklist' and telling them that my ip address was now static and running a mail server.


Share This Page