Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 24th April 2008, 23:21
gabrix gabrix is offline
Senior Member
 
Join Date: Sep 2006
Location: Napoli
Posts: 186
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via MSN to gabrix Send a message via Yahoo to gabrix Send a message via Skype™ to gabrix
Exclamation Postfix: Must issue a STARTTLS command first

I run postfix tls and sasl with dovecot -pop3s on a debian lenny .Everything looks all right but this message is filling the mail.log:
Code:
Apr 24 23:11:28 mail postfix/smtpd[9693]: watchdog_pat: 0x808ddd8
Apr 24 23:11:28 mail postfix/smtpd[9693]: vstream_fflush_some: fd 15 flush 24
Apr 24 23:11:28 mail postfix/smtpd[9693]: vstream_buf_get_ready: fd 15 got 36
Apr 24 23:11:28 mail postfix/smtpd[9693]: < www.gabrix.ath.cx[10.0.0.5]: MAIL FROM:<root@www.gabrix.ath.cx>
Apr 24 23:11:28 mail postfix/smtpd[9693]: > www.gabrix.ath.cx[10.0.0.5]: 530 5.7.0 Must issue a STARTTLS command first
Looks like hosts in my lan miss to STARTTLS when they relay messages to postfix, i use nullmailer , also .

And this is the postconf -n i have :
Code:
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
debug_peer_level = 6
debug_peer_list = 127.0.0.0/8 , 10.0.0.0/24
disable_dns_lookups = yes
header_checks = regexp:/etc/postfix/header_checks
home_mailbox = Maildir/
html_directory = no
inet_interfaces = all
mail_owner = postfix
mailbox_command = 
mailq_path = /usr/bin/mailq
manpage_directory = /usr/local/man
mydestination = $mydomain , $myhostname , ns.$mydomain , argo.$mydomain , www.$mydomain , localhost.$mydomain , localhost
mydomain = gabrix.ath.cx
myhostname = mail.gabrix.ath.cx
mynetworks = 10.0.0.0/24 , 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
relayhost = [gmail-smtp.l.google.com]
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtp_generic_maps = hash:/etc/postfix/generic
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
smtp_sasl_tls_security_options = $smtp_sasl_security_options
smtp_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtp_tls_cert_file = /etc/postfix/ssl/cert.pem
smtp_tls_key_file = /etc/postfix/ssl/key.pem
smtp_tls_loglevel = 1
smtp_tls_session_cache_database = btree:/var/run/smtp_tls_session_cache
smtp_use_tls = yes
smtpd_banner = mail.gabrix.ath.cx ESMTP (GNU/Linux)
smtpd_enforce_tls = yes
smtpd_helo_required = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_ask_ccert = yes
smtpd_tls_cert_file = /etc/postfix/ssl/cert.pem
smtpd_tls_key_file = /etc/postfix/ssl/key.pem
smtpd_tls_received_header = yes
smtpd_tls_session_cache_database = btree:/var/run/smtpd_tls_session_cache
smtpd_use_tls = yes
strict_rfc821_envelopes = yes
tls_random_source = dev:/dev/urandom
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550
If you need more information to help me out just ask , thanks !!!!
__________________
http://www.gabrix.ath.cx

Last edited by gabrix; 24th April 2008 at 23:25.
Reply With Quote
Sponsored Links
  #2  
Old 25th April 2008, 17:13
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Please try
Code:
postconf -e 'smtpd_tls_auth_only = no'
/etc/init.d/postfix restart
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 27th October 2011, 14:34
Rk_Raj Rk_Raj is offline
Junior Member
 
Join Date: Oct 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default must issue STARTTLS first

hi friend i tried it by issuing

postconf -e 'smtpd_tls_auth_only = no'

but still I am receiving the same error
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail System Error - Returned Mail tristanlee85 General 16 16th March 2008 09:40
Postfix: connection refused error tosin Server Operation 1 30th October 2007 17:30
Postfix does't work with SMTP STARTTLS IgorS3 Server Operation 1 9th August 2007 15:16
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 15:47
Verify email setup meekish Installation/Configuration 28 27th October 2006 15:36


All times are GMT +2. The time now is 12:42.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.