LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-18-2009, 05:00 AM   #1
jonaskellens
Member
 
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 694

Rep: Reputation: 34
Postfix : Must issue a STARTTLS command first


I have the following configuration :

Code:
[root@box]# less /etc/postfix/main.cf

# Authentication with SASL
broken_sasl_auth_clients = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $mydomain

# Encryption with TLS
# smtpd_tls_auth_only = yes
smtpd_use_tls = yes
smtpd_tls_cert_file = /etc/postfix/cert.pem
smtpd_tls_key_file = /etc/postfix/key.pem
smtpd_tls_loglevel = 1


# Outbound SMTP authentication
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_auth_enable = yes
smtp_sasl_security_options =
unknown_local_recipient_reject_code = 550
local_recipient_maps = proxy:unix:passwd.byname $alias_maps
smtp_tls_note_starttls_offer = yes
relayhost = [smtp.gmail.com]:587
My /etc/postfix/sasl_passwd :
Code:
[smtp.gmail.com]     account@gmail.com:PASSWD
I have run the command
/usr/sbin/postmap /etc/postfix/sasl_passwd
and even
/sbin/service postfix restart

Logfile says :
Code:
Nov 18 11:58:54 box postfix/smtp[9842]: 8620614F09D: to=<info@mymail.be>, relay=smtp.gmail.com[74.125.79.109]:587, delay=0.17, delays=0.06/0.02/0.07/0.02, dsn=5.7.0, status=bounced (host smtp.gmail.com[74.125.79.109] said: 530 5.7.0 Must issue a STARTTLS command first. 24sm1437354eyx.45 (in reply to MAIL FROM command))
What else need I to configure ?
 
Old 11-18-2009, 09:23 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Try the solution given in this thread: http://www.linuxquestions.org/questi...ng-tls-725269/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
postfix error :use the Postfix sendmail command soroccoheaven Linux - Server 4 02-03-2016 01:55 AM
Postfix issue ; Must issue a STARTTLS command first after forcing TLS sarajevo Linux - Server 3 05-14-2009 08:28 AM
SSL and not STARTTLS with postfix Brandon.Wamboldt Linux - Server 1 05-12-2009 09:05 PM
Starttls zaqavis Linux - Server 2 06-12-2008 02:09 PM
Sendmail STARTTLS Manuel-H Linux - General 0 04-11-2003 08:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration