OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Fail to use the smtp of my ISP.

From: denis labon (denislabonkinkyahoo.ca)
Date: Sun Jul 02 2006 - 00:20:24 CDT


I want to use the smtp of my ISP to send out emails
but for some reason it doesn't work. The only message
that I have is from /var/mail/www-data :
"Diagnostic-Code: X-Postfix; host
smtphm.sympatico.ca[65.54.191.190] said: 530
    5.7.0 Must issue a STARTTLS command first (in
reply to MAIL FROM command)".
I have no idea what it means. Can some1 help?

Current Postfix situation:
==========================
-Able to receive email.
-Able to send email without using the smtp of my ISP.
OS: Debian 3.1

Here is what I did:
===================
apt-get install postfix libsasl2-modules

mkdir /etc/postfix/sasl/

echo "[smtphm.sympatico.ca]
USERNAMEsympatico.ca:PASSWORD" >
/etc/postfix/sasl/passwd

postmap hash:/etc/postfix/sasl/passwd

postconf -e 'relayhost = [smtphm.sympatico.ca]'

postconf -e 'smtp_use_tls = yes'

postconf -e 'smtp_tls_note_starttls_offer = yes'

postconf -e 'tls_random_source = dev:/dev/urandom'

          

postconf -e 'smtp_sasl_auth_enable = yes'

postconf -e 'smtp_sasl_password_maps =
hash:/etc/postfix/sasl/passwd'

postconf -e 'smtp_sasl_security_options = '

/etc/init.d/postfix restart

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com